summaryrefslogtreecommitdiff
path: root/ipl/packs/euler/t1.eul
diff options
context:
space:
mode:
Diffstat (limited to 'ipl/packs/euler/t1.eul')
-rw-r--r--ipl/packs/euler/t1.eul5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipl/packs/euler/t1.eul b/ipl/packs/euler/t1.eul
new file mode 100644
index 0000000..4b38363
--- /dev/null
+++ b/ipl/packs/euler/t1.eul
@@ -0,0 +1,5 @@
+begin new x; new s;
+ s <- (2, 'begin x<- x+1; s[x] end', 'out x');
+ x <- s[1];
+ s[x]
+end