diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-12-06 00:32:49 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-12-06 00:32:49 +1100 |
commit | d3a9803cf89ea94975934dd8abb18bbc12408a7e (patch) | |
tree | 321ddb45e29a10d3dc1cd1c0ac9387d447db5afc /src/Grasp/Types/EdgeLabel.hs | |
parent | 2aa0bab498cffbc12d485d2c59f7aed04c69c409 (diff) |
All newtype stubs now in their own files in their own subdir
Diffstat (limited to 'src/Grasp/Types/EdgeLabel.hs')
-rw-r--r-- | src/Grasp/Types/EdgeLabel.hs | 23 |
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 + |