aboutsummaryrefslogtreecommitdiff
path: root/CLPM/Util.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'CLPM/Util.dcl')
-rw-r--r--CLPM/Util.dcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/CLPM/Util.dcl b/CLPM/Util.dcl
new file mode 100644
index 0000000..b750058
--- /dev/null
+++ b/CLPM/Util.dcl
@@ -0,0 +1,7 @@
+definition module CLPM.Util
+
+from Data.Error import :: MaybeError, :: MaybeErrorString
+
+class Parse a where Parse :: [Char] -> MaybeErrorString a
+
+parse :: (String -> MaybeErrorString a) | Parse a