Warry/elm-stuff/1.0.0

ElmStuff.Interface

Types

type Union
= OpenUnion Union
| ClosedUnion Union
| PrivateUnion Union
type Alias
= PublicAlias Alias
| PrivateAlias Alias
= Public Interface
| Private PackageName (Dict Name Union) (Dict Name Alias)
= Left
| Non
| Right
type alias Interfaces =
Dict Canonical DependencyInterface
type alias Interface =
{ home : PackageName
, values : Dict Name Annotation
, unions : Dict Name Union
, aliases : Dict Name Alias
, binops : Dict Name Binop
}
type alias Binop =
{ op_name : Name
, op_annotation : Annotation
, op_associativity : Associativity
, op_precedence : Precedence
}
type alias Precedence =
Int

Decoders

binInterfaces : Decoder Interfaces
binInterface : Decoder Interface
binUnion : Decoder Union
binAlias : Decoder Alias
binBinop : Decoder Binop