stil4m/elm-syntax/7.3.1

NOTE: the latest version is 7.3.9

Elm.Syntax.Infix

Types

type alias Infix =
{ direction : Node InfixDirection
, precedence : Node Int
, operator : Node String
, function : Node String
}

Type annotation for a infix definition

= Left
| Right
| Non

Union type for infix direction

Serialization

encode : Infix -> Value

Encode an infix

Encode the infix direction

decoder : Decoder Infix

Decode an infix

Decode a infix direction