summaryrefslogtreecommitdiff
path: root/paper/While/Common.dcl
diff options
context:
space:
mode:
authorCamil Staps2016-06-03 00:39:37 +0200
committerCamil Staps2016-06-03 00:39:37 +0200
commit6ecadcb8571712536f9d121264f67f30f7bb0147 (patch)
tree0542e10ca752f538195095713ca786ab494335b6 /paper/While/Common.dcl
parentUpdate example program (diff)
First version almost finished
Diffstat (limited to 'paper/While/Common.dcl')
-rw-r--r--paper/While/Common.dcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/paper/While/Common.dcl b/paper/While/Common.dcl
index 6945c08..c2d58d4 100644
--- a/paper/While/Common.dcl
+++ b/paper/While/Common.dcl
@@ -32,6 +32,7 @@ instance toString Error
(<+) infixr 5 :: a b -> String | toString a & toString b
($) infixr 0 :: (a -> b) a -> b
+(on) infix 0 :: (b -> c) (a a -> b) -> (a a -> c)
(*>) infixl 4 :: (f a) (f b) -> f b | Applicative f
(<*) infixl 4 :: (f a) (f b) -> f a | Applicative f