summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser/maybe.ugn
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/parser/maybe.ugn')
-rw-r--r--ghc/compiler/parser/maybe.ugn12
1 files changed, 12 insertions, 0 deletions
diff --git a/ghc/compiler/parser/maybe.ugn b/ghc/compiler/parser/maybe.ugn
new file mode 100644
index 0000000000..a9120832c1
--- /dev/null
+++ b/ghc/compiler/parser/maybe.ugn
@@ -0,0 +1,12 @@
+%{
+#include "hspincl.h"
+%}
+%{{
+module U_maybe where
+import Ubiq -- debugging consistency check
+import UgenUtil
+%}}
+type maybe;
+ nothing : <> ;
+ just : < gthing : VOID_STAR; > ;
+end;