From 37198812016cf53ca2b3fb832d8d09d528f81098 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 6 Oct 2016 17:23:17 +0200 Subject: List notation shortcut (resolves #5) --- examples/list-test.fusp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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]]; -- cgit v1.2.3