language-elm-0.2.0.0: Generate elm code

Safe HaskellSafe
LanguageHaskell2010

Elm.Declaration

Description

Top level declerations

Synopsis

Documentation

data Dec Source #

Used to declare functions, variables, and types

Constructors

Dec String TypeDec [Expr] Expr

Declare a function

DecType String [String] [(String, [TypeDec])]

Declare a type

DecTypeAlias String [String] TypeDec

Declare a type alias

Instances
Generate Dec Source # 
Instance details

Defined in Elm.Declaration