elmental-0.1.0.1: Generate Elm datatype definitions, encoders and decoders from Haskell datatypes.
Safe HaskellSafe-Inferred
LanguageGHC2021

Elmental.ElmStructure

Synopsis

Documentation

data ElmMapping Source #

Contains the mapping of Haskell type constructor to an Elm type constructor, and potentially the location of its encoder / decoder.

Constructors

ElmMapping 

Fields

data TyCon Source #

Instances

Instances details
Show TyCon Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

showsPrec :: Int -> TyCon -> ShowS #

show :: TyCon -> String #

showList :: [TyCon] -> ShowS #

Eq TyCon Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

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

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

Ord TyCon Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

compare :: TyCon -> TyCon -> Ordering #

(<) :: TyCon -> TyCon -> Bool #

(<=) :: TyCon -> TyCon -> Bool #

(>) :: TyCon -> TyCon -> Bool #

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

max :: TyCon -> TyCon -> TyCon #

min :: TyCon -> TyCon -> TyCon #

data TyRef Source #

Constructors

TyRef 

Fields

Instances

Instances details
Show TyRef Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

showsPrec :: Int -> TyRef -> ShowS #

show :: TyRef -> String #

showList :: [TyRef] -> ShowS #

Eq TyRef Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

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

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

Ord TyRef Source # 
Instance details

Defined in Elmental.ElmStructure

Methods

compare :: TyRef -> TyRef -> Ordering #

(<) :: TyRef -> TyRef -> Bool #

(<=) :: TyRef -> TyRef -> Bool #

(>) :: TyRef -> TyRef -> Bool #

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

max :: TyRef -> TyRef -> TyRef #

min :: TyRef -> TyRef -> TyRef #