Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hydra.Phantoms
Description
Phantom types for use with Hydra DSLs
Documentation
An association of a field name (as in a case statement) with a phantom type
An association with a named term (element) with a phantom type
Constructors
TElement | |
Fields
|
Instances
Read (TElement a) Source # | |
Show (TElement a) Source # | |
Eq (TElement a) Source # | |
Ord (TElement a) Source # | |
An association with a term-level field with a phantom type