aboutsummaryrefslogtreecommitdiff
path: root/CLPM/Util.dcl
diff options
context:
space:
mode:
authorCamil Staps2017-02-05 23:25:46 +0100
committerCamil Staps2017-02-05 23:25:46 +0100
commit366512d77c0051c81353b5e1119cd7df3a4734b2 (patch)
tree00f7b3336cfb6bfbda30045971c5b67028015f0e /CLPM/Util.dcl
parentWorking make command (diff)
Start with repository and dependency resolution
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