Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ElmMapping = ElmMapping {}
- type ModuleName = Text
- type SymbolName = Text
- type TypeName = Text
- type ConstructorName = Text
- type FieldName = Text
- type VarName = Text
- data SymbolLocation = SymbolLocation {}
- data TyCon
- data TyRef = TyRef {}
- data DatatypeStructure a = DatatypeStructure {
- mapping :: ElmMapping
- nParams :: Integer
- constructors :: [Constructor]
- type ElmField = (Maybe FieldName, TyRef)
- data Constructor = Constructor {}
Documentation
data ElmMapping Source #
Contains the mapping of Haskell type constructor to an Elm type constructor, and potentially the location of its encoder / decoder.
ElmMapping | |
|
Instances
Show ElmMapping Source # | |
Defined in Elmental.ElmStructure showsPrec :: Int -> ElmMapping -> ShowS # show :: ElmMapping -> String # showList :: [ElmMapping] -> ShowS # | |
Eq ElmMapping Source # | |
Defined in Elmental.ElmStructure (==) :: ElmMapping -> ElmMapping -> Bool # (/=) :: ElmMapping -> ElmMapping -> Bool # | |
Ord ElmMapping Source # | |
Defined in Elmental.ElmStructure compare :: ElmMapping -> ElmMapping -> Ordering # (<) :: ElmMapping -> ElmMapping -> Bool # (<=) :: ElmMapping -> ElmMapping -> Bool # (>) :: ElmMapping -> ElmMapping -> Bool # (>=) :: ElmMapping -> ElmMapping -> Bool # max :: ElmMapping -> ElmMapping -> ElmMapping # min :: ElmMapping -> ElmMapping -> ElmMapping # |
type ModuleName = Text Source #
type SymbolName = Text Source #
type ConstructorName = Text Source #
data SymbolLocation Source #
Location of an Elm value (symbol / module name).
Instances
Show SymbolLocation Source # | |
Defined in Elmental.ElmStructure showsPrec :: Int -> SymbolLocation -> ShowS # show :: SymbolLocation -> String # showList :: [SymbolLocation] -> ShowS # | |
Eq SymbolLocation Source # | |
Defined in Elmental.ElmStructure (==) :: SymbolLocation -> SymbolLocation -> Bool # (/=) :: SymbolLocation -> SymbolLocation -> Bool # | |
Ord SymbolLocation Source # | |
Defined in Elmental.ElmStructure compare :: SymbolLocation -> SymbolLocation -> Ordering # (<) :: SymbolLocation -> SymbolLocation -> Bool # (<=) :: SymbolLocation -> SymbolLocation -> Bool # (>) :: SymbolLocation -> SymbolLocation -> Bool # (>=) :: SymbolLocation -> SymbolLocation -> Bool # max :: SymbolLocation -> SymbolLocation -> SymbolLocation # min :: SymbolLocation -> SymbolLocation -> SymbolLocation # |
data DatatypeStructure a Source #
Instances
Show (DatatypeStructure a) Source # | |
Defined in Elmental.ElmStructure showsPrec :: Int -> DatatypeStructure a -> ShowS # show :: DatatypeStructure a -> String # showList :: [DatatypeStructure a] -> ShowS # | |
Eq (DatatypeStructure a) Source # | |
Defined in Elmental.ElmStructure (==) :: DatatypeStructure a -> DatatypeStructure a -> Bool # (/=) :: DatatypeStructure a -> DatatypeStructure a -> Bool # | |
Ord (DatatypeStructure a) Source # | |
Defined in Elmental.ElmStructure compare :: DatatypeStructure a -> DatatypeStructure a -> Ordering # (<) :: DatatypeStructure a -> DatatypeStructure a -> Bool # (<=) :: DatatypeStructure a -> DatatypeStructure a -> Bool # (>) :: DatatypeStructure a -> DatatypeStructure a -> Bool # (>=) :: DatatypeStructure a -> DatatypeStructure a -> Bool # max :: DatatypeStructure a -> DatatypeStructure a -> DatatypeStructure a # min :: DatatypeStructure a -> DatatypeStructure a -> DatatypeStructure a # |
data Constructor Source #
Instances
Show Constructor Source # | |
Defined in Elmental.ElmStructure showsPrec :: Int -> Constructor -> ShowS # show :: Constructor -> String # showList :: [Constructor] -> ShowS # | |
Eq Constructor Source # | |
Defined in Elmental.ElmStructure (==) :: Constructor -> Constructor -> Bool # (/=) :: Constructor -> Constructor -> Bool # | |
Ord Constructor Source # | |
Defined in Elmental.ElmStructure compare :: Constructor -> Constructor -> Ordering # (<) :: Constructor -> Constructor -> Bool # (<=) :: Constructor -> Constructor -> Bool # (>) :: Constructor -> Constructor -> Bool # (>=) :: Constructor -> Constructor -> Bool # max :: Constructor -> Constructor -> Constructor # min :: Constructor -> Constructor -> Constructor # |