lue-bird/elm-morph/2.1.0

NOTE: the latest version is 3.0.1

Sign.Morph

char : Morph Sign Char

Sign '+' or '-'

bit : MorphOrError Sign Bit error_

Bit.O Positive, Bit.I ⇄ Negative

maybeMinusChar : MorphRow Sign Char

An optional '-' sign → Negative, else Positive without consuming Chars.