This website requires JavaScript.
Explore
Help
Sign In
cosmonaut
/
euler
Watch
1
Star
0
Fork
You've already forked euler
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
254727b0a8
euler
/
haskell
/
euler001.hs
5 lines
95 B
Haskell
Raw
Normal View
History
Unescape
Escape
haskell 001
2020-10-27 05:29:30 +00:00
module
Main
where
main
=
do
list comprehension haskell 001
2020-10-27 07:53:01 +00:00
print
$
sum
[
x
|
x
<-
[
1
..
999
]
,
mod
x
3
==
0
||
mod
x
5
==
0
]