diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-14 00:55:19 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-14 00:55:19 +0200 |
commit | 8d404ca664c695eae97cc9b088f2c98833999ea0 (patch) | |
tree | 37711b72e1e465242f278a7bf6925e734b02e6bc /testdata/primes.lc | |
parent | 2cb670b19f41f2cd0dcbda0b697e80d5a3e6b922 (diff) |
reach the 3000th prime
Diffstat (limited to 'testdata/primes.lc')
-rw-r--r-- | testdata/primes.lc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testdata/primes.lc b/testdata/primes.lc index 612941e1..268d7e7b 100644 --- a/testdata/primes.lc +++ b/testdata/primes.lc | |||
@@ -50,5 +50,5 @@ primes = 2:3: filter (\n -> and $ map (\p -> n `mod` p /= 0) (takeWhile (\x -> x | |||
50 | (x: _) !! 0 = x | 50 | (x: _) !! 0 = x |
51 | (_ : xs) !! n = xs !! (n-1) | 51 | (_ : xs) !! n = xs !! (n-1) |
52 | 52 | ||
53 | main = primes !! 130 | 53 | main = primes !! 3000 |
54 | 54 | ||