Re:Harvard's 1899 Entrance Exam [pdf]
by ahh on Saturday April 09, 2011 @09:07PM
(#2428542)
Your second example does not typecheck.
[ Parent
| on HN ]
It does.
let fibs = 1 : 1 : (zipWith (+) `ap` tail) fibs in fibs :: (Num a) => [a]
according to ghci 6.12.1