stil4m/elm-syntax/2.1.1

NOTE: this package is not compatible with Elm 0.19.1

Elm.Syntax.Infix

Infix Syntax

#Types

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

Type annotation for a infix definition

= Left
| Right

Union type for infix direction

Json

encode : Infix -> Value

Encode an infix

encodeDirection : InfixDirection -> Value

Encode the infix direction

decode : Decoder Infix

Decode an infix

decodeDirection : Decoder InfixDirection

Decode a infix direction