aboutsummaryrefslogtreecommitdiff
path: root/ABC/Misc.dcl
diff options
context:
space:
mode:
authorCamil Staps2016-07-01 19:37:38 +0200
committerCamil Staps2016-07-01 19:37:38 +0200
commitb3f1e3ff0404a5182b6eed2d88014b4b4fbd69c2 (patch)
treec2dbd5b0a43fffc6119510bdc2f5324aa3a0e3b5 /ABC/Misc.dcl
parentAssembler (diff)
Moved to directory, added test program
Diffstat (limited to 'ABC/Misc.dcl')
-rw-r--r--ABC/Misc.dcl8
1 files changed, 8 insertions, 0 deletions
diff --git a/ABC/Misc.dcl b/ABC/Misc.dcl
new file mode 100644
index 0000000..3e632bf
--- /dev/null
+++ b/ABC/Misc.dcl
@@ -0,0 +1,8 @@
+definition module ABC.Misc
+
+from StdOverloaded import class toString
+
+abortn :: String -> a
+
+(<+) infixl 5 :: a b -> String | toString a & toString b
+(<++) infixl 5 :: a (g, [b]) -> String | toString a & toString b & toString g