From 296f94bc51024cf4e1e96a2f8a2f419c618b8afb Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 26 Aug 2016 00:48:36 +0200 Subject: Added twice example --- examples/twice.fusp | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/twice.fusp (limited to 'examples') diff --git a/examples/twice.fusp b/examples/twice.fusp new file mode 100644 index 0000000..8f50b83 --- /dev/null +++ b/examples/twice.fusp @@ -0,0 +1,3 @@ +mul a b = code mul a b; +twice f x = f (f x); +main = twice twice twice (mul 2) 1; -- cgit v1.2.3