repositories
/
clean-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bork
[clean-tests.git]
/
array_itasks
/
main.dcl
diff --git a/array_itasks/main.dcl
b/array_itasks/main.dcl
new file mode 100644
(file)
index 0000000..
3d07688
--- /dev/null
+++ b/
array_itasks/main.dcl
@@ -0,0
+1,9
@@
+definition module main
+
+:: Expr
+ = Lit Int
+ | (+.) infixl 6 Expr Expr
+ | ..
+
+eval :: Expr -> Int
+pprint :: Expr -> String