Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pascal triangle
--ghc 8.0.1 /opt/ghc/8.0.1/lib/ghc-8.0.0.20160127/ main = print $ take 10 pascal pascal = [1] : map (\l -> zipWith (+) (l ++ [0]) (0:l)) pascal
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
haskell
Kleintjes
haskell_exam
first haskell program
project euler 7, haskell
Anonymous recursion. Why doesnt compile?
Eerste programma
Haskell Fibonacci Numbers
Znajdz trójkąty prostokątne
New wall
Please log in to post a comment.