annotate Test.hs @ 4574:d09b208e869f

<Jafet> fetch http://sources.debian.net/data/main/u/unicode/0.9.7/unicode
author HackBot
date Thu, 17 Apr 2014 22:53:59 +0000
parents 7f957c1f4661
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4531
7f957c1f4661 <oerjan> revert
HackBot
parents:
diff changeset
1 import Data.List(inits);main = let p = 1 : zipWith (+) (map (*4) p) (map (sum . zipWith (*) p . reverse) (inits p)) in print $ p !! 1000