Run Code
|
API
|
Code Wall
|
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
boolean functions of zero arguments in haskell
appending and prepending list
Haskell Prime Factorizer
Semilattice
tried some polynoms 2: now with some `*` and foldr(-p)
Haskell remove item by index
znajdywacz trojkatow prostokatnych
Removed input
=)
project euler 1, haskel