diff options
author | Camil Staps | 2016-10-06 17:23:17 +0200 |
---|---|---|
committer | Camil Staps | 2016-10-06 17:35:02 +0200 |
commit | 37198812016cf53ca2b3fb832d8d09d528f81098 (patch) | |
tree | 75aeb2da0ee31254c15b45bb12074f6e6ace2f49 /examples | |
parent | Adds a trace code (diff) |
List notation shortcut (resolves #5)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/list-test.fusp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/list-test.fusp b/examples/list-test.fusp index d90a252..f4b5755 100644 --- a/examples/list-test.fusp +++ b/examples/list-test.fusp @@ -1,4 +1,4 @@ import list; -main = flatten [[1:[2:[3:[]]]]:[[4:[5:[6:[]]]]:[]]]; -main = append [1:[2:[3:[]]]] [4:[5:[6:[]]]]; +main = append [1,2,3] [4,5,6]; +main = flatten [[1,2,3],[4,5,6]]; |