summaryrefslogtreecommitdiff
path: root/progs/lib/cl/maybe.hs
diff options
context:
space:
mode:
Diffstat (limited to 'progs/lib/cl/maybe.hs')
-rw-r--r--progs/lib/cl/maybe.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/progs/lib/cl/maybe.hs b/progs/lib/cl/maybe.hs
new file mode 100644
index 0000000..8ce01e5
--- /dev/null
+++ b/progs/lib/cl/maybe.hs
@@ -0,0 +1,12 @@
+-- maybe.hs -- "maybe" type
+--
+-- author : Sandra Loosemore
+-- date : 22 June 1993
+--
+
+module Maybe where
+
+data Maybe a = Some a | Null
+
+{-# ImportLispType (Maybe(Some("identity", "identity", "identity"),
+ Null("not", "'#f"))) #-}