Improved project structure.
This commit is contained in:
5
haskell/e025.hs
Normal file
5
haskell/e025.hs
Normal file
@@ -0,0 +1,5 @@
|
||||
fib = 1 : 1 : zipWith (+) fib (tail fib)
|
||||
|
||||
fibIndexed = zip fib [1..]
|
||||
|
||||
e025 = filter (\(d, _) -> (length . show $ d) >= 1000) fibIndexed
|
||||
Reference in New Issue
Block a user