This website requires JavaScript.
Explore
Help
Sign In
mirror
/
RosettaCodeData
mirror of
https://github.com/acmeism/RosettaCodeData.git
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
cb74b7914d
RosettaCodeData
/
Task
/
Partition-function-P
/
Haskell
/
partition-function-p-2.hs
3 lines
90 B
Haskell
Raw
Blame
History
part
=
1
:
b
1
where
b
n
=
p
where
p
=
zipWith
(
+
)
(
1
:
b
(
n
+
1
)
)
(
replicate
n
0
++
p
)
Reference in New Issue
View Git Blame
Copy Permalink