Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Unique Identifier used across Drasil.
Documentation
A UID
is a 'unique identifier' for things that we will put into our database
of information. We use a newtype wrapper to make sure we are only using
UID
s where desired.
Instances
ToJSON UID Source # | |
Defined in Language.Drasil.UID | |
ToJSONKey UID Source # | |
Defined in Language.Drasil.UID toJSONKey :: ToJSONKeyFunction UID toJSONKeyList :: ToJSONKeyFunction [UID] | |
Generic UID Source # | |
Show UID Source # | |
Eq UID Source # | |
Ord UID Source # | |
type Rep UID Source # | |
Defined in Language.Drasil.UID type Rep UID = D1 ('MetaData "UID" "Language.Drasil.UID" "drasil-lang-0.1.60.0-1og6tFXnKFbLTuAQwKCKBH" 'False) (C1 ('MetaCons "UID" 'PrefixI 'True) (S1 ('MetaSel ('Just "_namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just "_baseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
The most basic item: having a unique identifier key, here a UID.