digit

A data-type representing digits 0-9 and other combinations https://github.com/qfpl/digit

Latest on Hackage:0.5.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed and maintained by Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>

Digit is a data-type that represents the digits 0-9 and other combinations.

Changes

0.5.0

  • Data types for other bases (binary, octal, hexadecimal).
  • Remove the Digit… data types.
  • Introduce the Digit data type.

0.4.0

  • Refactor to classy prisms for each digit.

0.3.0

  • Refactor decimal type.
  • Digits and Digits1 data types for list of digits.

0.2.9

  • Remove redundant type-class constraints.
  • Add tests.
  • Add HasDigit lens.
  • Add papa dependency.

0.2.8

  • Add (/+/) function.

0.2.7

  • Add mantissa function for digits.

0.2.6

  • Use Integral not Int.
  • Digits data type (zero or many digits) and associated functions.

0.2.5

  • Change parser to handle non-empty list.

0.2.4

  • More Digit parsers.

0.2.3

  • Digit parsers.

0.2.2

  • Modulus operations.
  • digits function.
  • Fix tests.

0.2.1

  • Include digit parsers.

0.2.0

  • Update to use digit prisms.
comments powered byDisqus