Re:Harvard's 1899 Entrance Exam [pdf]
by aristidb on Saturday April 09, 2011 @06:14AM
(#2426900)
Allowing one to simplify to:
Involving zip`ap`tail, the Aztec god of consecutive numbers:
Or, pointlessly:
[ Parent
| on HN ]
Your second example does not typecheck.
It does.
let fibs = 1 : 1 : (zipWith (+) `ap` tail) fibs in fibs :: (Num a) => [a]
according to ghci 6.12.1