aboutsummaryrefslogtreecommitdiff
path: root/frontend/general.dcl
diff options
context:
space:
mode:
authorsjakie2001-10-08 11:49:17 +0000
committersjakie2001-10-08 11:49:17 +0000
commit6699a7ce6ee7c0c68deb75d68adc3dddd1e790b2 (patch)
tree4d8c043f0072195b3b2cc28d555fd01ac7ddf896 /frontend/general.dcl
parentgenerate and export all labels for records and constructors when ExportLocalL... (diff)
universally quantified attribute variables in typedefs added
bug fix: combination of caching and omitted clasdefs git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@833 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/general.dcl')
-rw-r--r--frontend/general.dcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/general.dcl b/frontend/general.dcl
index 6ee3b29..9739a5b 100644
--- a/frontend/general.dcl
+++ b/frontend/general.dcl
@@ -20,6 +20,8 @@ instance <<< [a] | <<< a
:: Optional x = Yes !x | No
+hasOption :: (Optional x) -> Bool
+
:: Choice a b = Either a | Or b
(--->) infix :: .a !b -> .a | <<< b