This website works better with JavaScript
Home
Explore
Help
Sign In
radu
/
LaTeX-examples
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
9fa7cdfea0
Branches
Tags
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
haskell
/
primzahlsieb.hs
primzahlsieb.hs
132 B
History
Raw
1
2
3
4
primes::[Integer]
primes = sieve [2..] where
sieve (p:xs) = p:sieve [x | x <- xs,
x `mod` p > 0]