bdcs-0.1.0: Tools for managing a content store of software packages

Safe HaskellNone
LanguageHaskell2010

BDCS.Label.Types

Documentation

data Label Source #

Instances

Eq Label Source # 

Methods

(==) :: Label -> Label -> Bool #

(/=) :: Label -> Label -> Bool #

Read Label Source # 
Show Label Source # 

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

ToJSON Label Source # 

Methods

toJSON :: Label -> Value

toEncoding :: Label -> Encoding

toJSONList :: [Label] -> Value

toEncodingList :: [Label] -> Encoding

PersistFieldSql Label Source # 

Methods

sqlType :: Proxy * Label -> SqlType

PersistField Label Source # 

Methods

toPersistValue :: Label -> PersistValue

fromPersistValue :: PersistValue -> Either Text Label