diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/twice.fusp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |