Pascal's triangle: Difference between revisions

Line 291:
end pascal
 
-- addRow [[Int]] -> _ -> Int -> [[Int]]
on addRow(lst, _, i)
lst & {nextRow(item -1 of lst)}
end addRow
Line 383:
end script
end mReturn
 
</lang>
 
9,659

edits