Catalan numbers/Pascal's triangle: Difference between revisions
m
→{{header|Oforth}}
Line 1,063:
<lang Oforth>import: mapping
: pascal( n -- [] )
[ 1 ] n #[ dup [ 0 ] + [ 0 ] rot + zipWith( #+ ) ] times
: catalan( n -- m )
|