Changelog for kind-integer-0.6.0
Version 0.6.0
-
COMPILER ASSISTED BREAKING CHANGE:
KindInteger.Integeris now is now only ever used as a kind. So, all term-level functions in theKindIntegerconsume and producePrelude.Integers. -
COMPILER ASSISTED BREAKING CHANGE: Removed
Eq,Ord,ShowandReadinstances forKindInteger.Integer. -
COMPILER ASSISTED BREAKING CHANGE:
Zis now used to represent zero, instead of the previousP 0. -
COMPILER ASSISTED BREAKING CHANGE:
P 0andN 0are notKnownIntegers anymore. -
COMPILER ASSISTED BREAKING CHANGE:
KnownIntegeris now a type-synonym that impliesNormalized i ~ iandKnownNat (Abs i)as well. -
Added
readPrecTypeLit. -
Added
Normalized. -
Added
singletons-basesupport forInteger, includingPNum,SNum,PEq,SEq,POrd,SOrd,PShowandSShow. Most arithmetic functions are now exported throughPNumandSNum, rather than standalone. -
Added
ShowLit,ShowsLit,ShowsPrecLitand its singletons and promoted versions. -
Added
FoldandsFold. -
Added defunctionalization symbols.
-
Added ZigZag encoding and decoding tools.
Version 0.5
-
COMPILER ASSISTED BREAKING CHANGE:
integerVal,someIntegerVal,fromSIntegerandwithSomeSIntegernow deal withKindInteger'sIntegers, rather thanPrelude'sIntegers. -
COMPILER ASSISTED BREAKING CHANGE: Removed
fromSInteger'. -
Added
SingIandSingKindinstances.
Version 0.4
-
COMPILER ASSISTED BREAKING CHANGE:
TestEqualityandTestCoercionconsiderN 0andP 0to be different. -
BREAKING CHANGE: The
IntegerinsideSIntegers is not automatically normalized anymore. This is so thatSDecide,TestEqualityandTestCoercionbehave as expected, treatingN 0andP 0differently. This is mostly an internal change, but it can be observed in theShowinstance forSInteger, for example. -
Added role annotations to
SInteger. -
Add dependency on
singletonsso that we can give aSingandSDecideinstances for type-levelIntegers. -
Export
fromSInteger',eqIntegerRep.
Version 0.3
- COMPILER ASSISTED BREAKING CHANGE: Renamed
ModtoRem,DivModtoDivRem,modtorem,divModtodivRem.
Version 0.2
-
COMPILER ASSISTED BREAKING CHANGE: Removed
Div,Mod,QuoteandRemin favour of more polymorphicDiv,Mod. -
COMPILER ASSISTED BREAKING CHANGE: Removed
integerVal'. Nothing wrong with it, just redundant. -
Export
Sign,Abs,GCD,LCM,Odd,Even,toPrelude,fromPrelude,showsPrecTypeLit,div,mod,divMod,DivMod. -
Add
Eq,Ord,Show,Readinstances forInteger. -
Minor cabal and documentation improvements.
Version 0.1
- Initial version.