Problem 2
http://projecteuler.net/index.php?section=problems&id=2
import List main = print prob2 limit = 4 * 1000 * 1000 prob2 = sum $ takeWhile (< limit) $ filter even $ fib 1 2 fib a b = a : fib b (a + b)
http://projecteuler.net/index.php?section=problems&id=2
import List main = print prob2 limit = 4 * 1000 * 1000 prob2 = sum $ takeWhile (< limit) $ filter even $ fib 1 2 fib a b = a : fib b (a + b)