diff options
Diffstat (limited to 'Types/UUID.hs')
-rw-r--r-- | Types/UUID.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Types/UUID.hs b/Types/UUID.hs index 88c261b6e..8a304dffa 100644 --- a/Types/UUID.hs +++ b/Types/UUID.hs @@ -7,6 +7,8 @@ module Types.UUID where +import qualified Data.Map as M + -- A UUID is either an arbitrary opaque string, or UUID info may be missing. data UUID = NoUUID | UUID String deriving (Eq, Ord, Show, Read) @@ -18,3 +20,5 @@ fromUUID NoUUID = "" toUUID :: String -> UUID toUUID [] = NoUUID toUUID s = UUID s + +type UUIDMap = M.Map UUID String |