summaryrefslogtreecommitdiff
path: root/progs/lib/hbc/Either.hs
diff options
context:
space:
mode:
Diffstat (limited to 'progs/lib/hbc/Either.hs')
-rw-r--r--progs/lib/hbc/Either.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/lib/hbc/Either.hs b/progs/lib/hbc/Either.hs
new file mode 100644
index 0000000..fad5af8
--- /dev/null
+++ b/progs/lib/hbc/Either.hs
@@ -0,0 +1,2 @@
+module Either(Either(..)) where
+data Either a b = Left a | Right b deriving (Eq, Ord, Text, Binary)