summaryrefslogtreecommitdiff
path: root/src/Grasp/Types/EdgeLabel.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Grasp/Types/EdgeLabel.hs')
-rw-r--r--src/Grasp/Types/EdgeLabel.hs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Grasp/Types/EdgeLabel.hs b/src/Grasp/Types/EdgeLabel.hs
new file mode 100644
index 0000000..4fbdd27
--- /dev/null
+++ b/src/Grasp/Types/EdgeLabel.hs
@@ -0,0 +1,23 @@
+module Grasp.Types.EdgeLabel (
+ EdgeLabel,
+
+ mk,
+
+ toString
+ ) where
+
+
+
+
+newtype EdgeLabel = EdgeLabel String
+ deriving (Show, Eq)
+
+
+
+
+mk :: String -> EdgeLabel
+mk = EdgeLabel
+
+toString :: EdgeLabel -> String
+toString (EdgeLabel e) = e
+