aboutsummaryrefslogtreecommitdiff
path: root/frontend/general.dcl
diff options
context:
space:
mode:
authoralimarin2002-04-11 10:01:50 +0000
committeralimarin2002-04-11 10:01:50 +0000
commit8a32b21c043f21cf197cdde3a02ead110302b008 (patch)
tree3711960083237a1e23b69a705e26d0a1f725d308 /frontend/general.dcl
parent- removed strictness annotations (diff)
support for generic type context like in
foo :: a a -> Bool | eq{|*|} a git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1073 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/general.dcl')
-rw-r--r--frontend/general.dcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/general.dcl b/frontend/general.dcl
index 5169ee3..fa4f821 100644
--- a/frontend/general.dcl
+++ b/frontend/general.dcl
@@ -5,6 +5,7 @@ from StdEnv import instance <<< Int,class <<< (..),instance + Int,class + (..),i
0.2*/
//1.3
from StdEnv import <<<, +, ~
+from StdString import String
//3.1
instance ~ Bool
@@ -32,6 +33,9 @@ hasOption :: (Optional x) -> Bool
:: Choice a b = Either a | Or b
(--->) infix :: .a !b -> .a | <<< b
+(<---) infix :: !.a !b -> .a | <<< b
+traceValue :: !String !String .a -> .a
+
(-?->) infix :: .a !(!Bool, !b) -> .a | <<< b
instance + {#Char}