Safe Haskell | None |
---|---|
Language | Haskell2010 |
Definition of the Label type and utilities
Definitions
data Label (name :: Symbol) where Source #
Proxy for a label type that includes the KnownSymbol
constraint
Label :: KnownSymbol name => Label name |
Utilities
labelToText :: Label name -> Text Source #
Re-exports
class IsLabel (x :: Symbol) a where #
Instances
(KnownSymbol name, s ~ name) => IsLabel s (Label name) Source # | |
Defined in Util.Label | |
name ~ name' => IsLabel name' (Name name) | |
Defined in Named.Internal | |
(p ~ NamedF f a name, InjValue f) => IsLabel name (a -> Param p) | |
Defined in Named.Internal | |
(name ~ name', a ~ a', InjValue f) => IsLabel name (a -> NamedF f a' name') | |
Defined in Named.Internal |