Mercurial > repo
view Test.hs @ 4634:912286ca3c75
<Phantom__Hoover> addquote <fungot> kmc: it should use? which compiler, msvc? i\'m inside your mom!
author | HackBot |
---|---|
date | Fri, 09 May 2014 21:47:35 +0000 |
parents | 7f957c1f4661 |
children |
line wrap: on
line source
import Data.List(inits);main = let p = 1 : zipWith (+) (map (*4) p) (map (sum . zipWith (*) p . reverse) (inits p)) in print $ p !! 1000