stil4m/elm-syntax/6.0.0

NOTE: the latest version is 7.3.9

Elm.Syntax.Infix

Infix Syntax

#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

Json

encode : Infix -> Value

Encode an infix

Encode the infix direction

decoder : Decoder Infix

Decode an infix

Decode a infix direction