diff options
Diffstat (limited to 'examples/generated.csx')
-rw-r--r-- | examples/generated.csx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/generated.csx b/examples/generated.csx index 4d22565..bddb2ed 100644 --- a/examples/generated.csx +++ b/examples/generated.csx @@ -1,9 +1,7 @@ -[define map [fn [f l] [if [not l] [] +[set map [fn [f l] [if [same l []] [] [pair [f [head l]] [map f [tail l]]] ]]] -[map [fn [n] [outnum n] [output 10]] - [map [fn [n] [sum n 10]] - [quote [1 2 3 4 5]] - ] +[map [fn [n] [sum n 10]] + [quote [1 2 3 4 5]] ] |