Add langs Cherrycake and Insitux

This commit is contained in:
Ingy döt Net 2023-07-18 13:56:46 -07:00
parent 633b36288a
commit 9817d9b99b
36 changed files with 132 additions and 0 deletions

View file

@ -0,0 +1,2 @@
; apply a named function
(map inc [1 2 3 4])

View file

@ -0,0 +1,2 @@
; apply a parameterised closure
(map (fn x (+ x 1)) [1 2 3 4])

View file

@ -0,0 +1,2 @@
; apply a non-parameterised closure
(map #(+ % 1) [1 2 3 4])

View file

@ -0,0 +1,2 @@
; apply an explicit partial closure
(map @(+ 1) [1 2 3 4])

View file

@ -0,0 +1,2 @@
; apply an implicit partial closure
(map (+ 1) [1 2 3 4])