language-elm-0.2.0.0: Generate elm code

Safe HaskellSafe
LanguageHaskell2010

Elm.Type

Description

Ast for declaring types

Synopsis

Documentation

data TypeDec Source #

Data type to represent types

Constructors

Params String [TypeDec]

A type with type paramaters

TApp [TypeDec]

A function type

TTuple [TypeDec]

A tuple type

TRecord (Maybe String) [(String, TypeDec)]

A record type

Instances
IsString TypeDec Source # 
Instance details

Defined in Elm.Type

Methods

fromString :: String -> TypeDec #

Generate TypeDec Source # 
Instance details

Defined in Elm.Type