aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/trace.fusp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/trace.fusp b/examples/trace.fusp
new file mode 100644
index 0000000..2f78059
--- /dev/null
+++ b/examples/trace.fusp
@@ -0,0 +1,7 @@
+import list;
+
+trace p r = code trace p r;
+
+dup f x = f x x;
+
+main = map (dup trace) [1:[2:[3:[4:[5:[]]]]]];