lue-bird / elm-morph / Int.Morph

Morph for an elm/core Int

integer : MorphOrError Basics.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