Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,2 @@
// Generate bell triangle. Nigel Galloway: July 6th., 2019
let bell=Seq.unfold(fun g->Some(g,List.scan(+) (List.last g) g))[1I]

View file

@ -0,0 +1 @@
bell|>Seq.take 10|>Seq.iter(printfn "%A")

View file

@ -0,0 +1 @@
bell|>Seq.take 15|>Seq.iter(fun n->printf "%A " (List.head n));printfn ""

View file

@ -0,0 +1 @@
printfn "%A" (Seq.head (Seq.item 49 bell))