lue-bird/elm-morph/2.0.0

NOTE: the latest version is 3.0.1

Int.Morph

integer : MorphOrError Int Integer error_

Morph.OneToOne between a decimal representation and an Int.

Keep in mind that Integer -> Int can overflow since Int is fixed in bit size while Integer is not.

Inverse of Integer.Morph.int