d10 alternatives and similar packages
Based on the "Data" category.
Alternatively, view d10 alternatives based on common mentions on social networks and blogs.
-
semantic-source
Parsing, analyzing, and comparing source code across many languages -
code-builder
Packages for defining APIs, running them, generating client code and documentation. -
text
Haskell library for space- and time-efficient operations over Unicode text. -
cassava
A CSV parsing and encoding library optimized for ease of use and high performance -
compendium-client
Mu (μ) is a purely functional framework for building micro services. -
resource-pool
A high-performance striped resource pooling implementation for Haskell -
primitive
This package provides various primitive memory-related operations. -
discrimination
Fast linear time sorting and discrimination for a large class of data types -
reflection
Reifies arbitrary Haskell terms into types that can be reflected back into terms -
dependent-sum
Dependent sums and supporting typeclasses for comparing and displaying them -
dependent-map
Dependently-typed finite maps (partial dependent products) -
text-icu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. -
orgmode-parse
Attoparsec parser combinators for parsing org-mode structured text! -
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions -
scientific
Arbitrary-precision floating-point numbers represented using scientific notation
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of d10 or a related project?
Popular Comparisons
README
d10
Data types representing the digits zero through nine.
Modules
Each of the following modules defines a different type named
D10
, all of which are different representations of the same
concept:
Data.D10.Char
- Defines aD10
type as a newtype forChar
, where the values are restricted to characters between'0'
and'9'
.Data.D10.Num
- Defines aD10
type as a newtype for any type with an instance of theNum
class, where the values are restricted to numbers betweenfromInteger 0
andfromInteger 9
.Data.D10.Safe
- Defines aD10
type asD0 | D1 | D2 | ... | D9
.
Other modules:
Data.D10.Predicate
- Functions to test whether values of various types represent digits in the range 0 to 9.
Quasi-quoters
Each module that defines a D10
type also defines quasi-quoters
for it. With the QuasiQuotes
GHC extension enabled, a single
digit like 7 can be written as [d10|7|]
, and a list of digits
like [4,5,6] can be written as [d10|456|]
. For Data.D10.Char
and Data.D10.Num
, the quasi-quoters are an important feature,
because the D10
types defined in these modules have unsafe
constructors, and the quasi-quoters provide compile-time assurance
that we never construct a D10
that represents a value outside
the range 0 to 9. For Data.D10.Safe
, the quasi-quoter is
offered merely as a possible convenience, allowing you to write
[d10|456789|]
in place of the somewhat longer expression
[D4,D5,D6,D7,D8,D9]
.