elm-export-0.6.0.1: A library to generate Elm types from Haskell source.
Safe HaskellNone
LanguageHaskell2010

Elm

Documentation

data Options Source #

Constructors

Options 

data ElmDatatype Source #

Instances

Instances details
Show ElmDatatype Source # 
Instance details

Defined in Elm.Type

Eq ElmDatatype Source # 
Instance details

Defined in Elm.Type

data Spec Source #

Constructors

Spec 

Fields

data ElmValue Source #

Instances

Instances details
Show ElmValue Source # 
Instance details

Defined in Elm.Type

Eq ElmValue Source # 
Instance details

Defined in Elm.Type

class ElmType a where Source #

Minimal complete definition

Nothing

Instances

Instances details
ElmType Int16 Source # 
Instance details

Defined in Elm.Type

ElmType Int32 Source # 
Instance details

Defined in Elm.Type

ElmType Int64 Source # 
Instance details

Defined in Elm.Type

ElmType Int8 Source # 
Instance details

Defined in Elm.Type

ElmType Text Source # 
Instance details

Defined in Elm.Type

ElmType Day Source # 
Instance details

Defined in Elm.Type

ElmType UTCTime Source # 
Instance details

Defined in Elm.Type

ElmType () Source # 
Instance details

Defined in Elm.Type

Methods

toElmType :: () -> ElmDatatype Source #

ElmType Bool Source # 
Instance details

Defined in Elm.Type

ElmType Char Source # 
Instance details

Defined in Elm.Type

ElmType Double Source # 
Instance details

Defined in Elm.Type

ElmType Float Source # 
Instance details

Defined in Elm.Type

ElmType Int Source # 
Instance details

Defined in Elm.Type

ElmType v => ElmType (IntMap v) Source # 
Instance details

Defined in Elm.Type

ElmType a => ElmType (Maybe a) Source # 
Instance details

Defined in Elm.Type

ElmType a => ElmType [a] Source # 
Instance details

Defined in Elm.Type

Methods

toElmType :: [a] -> ElmDatatype Source #

ElmType a => ElmType (Proxy a) Source # 
Instance details

Defined in Elm.Type

(HasElmComparable k, ElmType v) => ElmType (Map k v) Source # 
Instance details

Defined in Elm.Type

Methods

toElmType :: Map k v -> ElmDatatype Source #

(ElmType a, ElmType b) => ElmType (a, b) Source # 
Instance details

Defined in Elm.Type

Methods

toElmType :: (a, b) -> ElmDatatype Source #

class GenericElmDatatype (f :: Type -> Type) where Source #

Instances

Instances details
(Datatype d, GenericElmConstructor f) => GenericElmDatatype (D1 d f) Source # 
Instance details

Defined in Elm.Type

class GenericElmConstructor (f :: Type -> Type) where Source #

Instances

Instances details
(GenericElmConstructor f, GenericElmConstructor g) => GenericElmConstructor (f :+: g) Source # 
Instance details

Defined in Elm.Type

(Constructor c, GenericElmValue f) => GenericElmConstructor (C1 c f) Source # 
Instance details

Defined in Elm.Type

class GenericElmValue (f :: Type -> Type) where Source #

Instances

Instances details
GenericElmValue (U1 :: Type -> Type) Source # 
Instance details

Defined in Elm.Type

ElmType a => GenericElmValue (Rec0 a) Source # 
Instance details

Defined in Elm.Type

(GenericElmValue f, GenericElmValue g) => GenericElmValue (f :*: g) Source # 
Instance details

Defined in Elm.Type

Methods

genericToElmValue :: (f :*: g) a -> ElmValue Source #

(Selector s, GenericElmValue a) => GenericElmValue (S1 s a) Source # 
Instance details

Defined in Elm.Type

Methods

genericToElmValue :: S1 s a a0 -> ElmValue Source #

class HasElmComparable a where Source #

Instances

Instances details
HasElmComparable String Source # 
Instance details

Defined in Elm.Type