Changelog for d10-1
v0.1.0.0
- Initial release
v0.1.0.1
- Improve error messages when quasi-quoters are used in a non-expression context
v0.1.1.0
- Add functions for generating Template Haskell expressions to be spliced, as alternatives to using the quasi-quoters
v0.2.0.0
- Add Template Haskell splice patterns
d10Patandd10ListPat - Define
quotePatfor the quasi-quotersd10andd10list, so they can now be used with pattern matching - Add
Integral aconstraint tod10andd10listin theData.D10.Nummodule, because this is needed for the definition ofquotePat.
v0.2.0.1
- Add
CHANGELOG.mdto package distribution
v0.2.1.0
- Add functions mod-10 arithmetic functions:
(+),(-),(*)
v0.2.1.2
- Support GHC 8.8
v0.2.1.4
- Support GHC 8.10
v0.2.1.6
- Support
doctest-0.17
v0.3
In module Data.D10.Char:
- Removed
isD10Str(seeData.D10.Predicate) - Type of
d10Expchanged fromIntegral a => a -> Q ExptoInteger -> Q Exp - Type of
d10Patchanged fromD10 -> Q PattoInteger -> Q Pat - Type of
d10ListPatchanged from[D10] -> Q PattoString -> Q Pat
In module Data.D10.Num:
- Removed
isD10Str(seeData.D10.Predicate) - Type of
d10Expchanged from(Integral b, Lift a, Num a) => b -> Q ExptoInteger -> Q Exp - Type of
d10ListExpchanged from(Lift a, Num a) => String -> Q ExptoString -> Q Exp - Type of
d10Patchanged fromIntegral a => D10 a -> Q PattoInteger -> Q Pat - Type of
d10ListPatchanged fromIntegral a => [D10 a] -> Q PattoString -> Q Pat - Type of
d10changed from(Lift a, Integral a) => QuasiQuotertoQuasiQuoter - Type of
d10listchanged from(Lift a, Integral a) => QuasiQuotertoQuasiQuoter - Although type variables no longer appear in the various Template Haskell functions, the expressions and patterns they generate are polymorphic.
In module Data.D10.Safe:
- The
D10type now has instances of theDataandGeneric. - Type of
d10ListPatchanged from[D10] -> Q PattoString -> Q Pat - Removed
d10Exp,d10Pat, andd10
Other changes:
doctesttest dependency has been removed, andhedgehogdependency has been added instead
v0.3.0.1
- Support GHC 9.0, base 4.15, template-haskell 2.17
v1
Removed the Data prefix from module names.
Data.D10.Charis nowD10.CharData.D10.Numis nowD10.NumData.D10.Predicateis nowD10.PredicateData.D10.Safeis nowD10.Safe
Constructors for D10 are no longer exported by the modules formerly
known as Data.D10.Char and Data.D10.Num. They have moved to the
new modules D10.Char.Unsafe and D10.Num.Unsafe respectively.
Operators (+), (-), and (*) have been moved into their own
separate modules, as the names conflict with Prelude functions.
These new modules are:
D10.Char.ArithmeticD10.Num.ArithmeticD10.Safe.Arithmetic
Other new modules:
D10.Char.ConversionsD10.Char.QuotesD10.Char.SplicesD10.Char.TypeD10.Num.ConversionsD10.Num.QuotesD10.Num.SplicesD10.Num.TypeD10.Safe.ConversionsD10.Safe.QuotesD10.Safe.SplicesD10.Safe.Type
All instances of the Language.Haskell.TH.Syntax.Lift class
have been removed
Added Safe Haskell language flags (Safe, Trustworthy, Unsafe)
to indicate which modules permit constructing invalid values
Required Cabal version required is raised from 2.2 to 3.0