Changelog for typelits-witnesses-0.3.0.1
Version 0.3.0.1
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.3.0.1
- Documentation fixes because deprecation warnings were not showing up on haddocks for GHC.TypeLits.List.
Version 0.3.0.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.3.0.0
- Added extra witnesses inside the constructors of
(:<=?). - Allowed functions to polymorphically expect
p ninstead ofProxy nwhenever possible. - Soft deprecation of GHC.TypeLits.Witnesses, in case people want to use the functionality of singletons without the full library.
- Formal deprecation of GHC.TypeLits.List, with migration information, because it's just so much more unweidly than using singletons.
Version 0.2.3.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.3.0
- Added the
GHC.TypeLits.Comparemodule for refining bounds and proving inequalities onKnownNats and associated utility functions.
Version 0.2.2.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.2.0
- Removed redundant
KnownNatsandKnownSymbolsconstraints forsameNatsandsameSymbols.
Version 0.2.1.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.1.0
- Added "eliminators", a staple of dependently typed programming, for
NatListandSymbolList.
Version 0.2.0.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.0.0
-
Breaking: Changed the name of
someNatsVal'tosomeNatsValPos, to break away from the "just add'" anti-pattern and to make the function name a bit more meaningful. -
Added
reifyNats', a "safe" version ofreifyNats. Ideally,reifyNatsshould be the safe one, but its connection toreifyNatfrom the reflection package is very strong and worth preserving, I think.
Version 0.1.2.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.1.2.0
-
Added
mapNatList'andmapSymbolList'companions tomapNatListandmapSymbolList; they useNatListandSymbolListinstead of Rank-2 types, so they can work better with function composition with(.)and other things that Rank-2 types would have trouble with. -
Added
sameNatsandsameSymbols, modeled aftersameNatandsameSymbol. They provide witnesses to GHC thatKnownNats passed in are both the same.
Version 0.1.1.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.1.1.0
- Added strict fields to
NatList,SomeNats,SymbolList, andSomeSymbols. It really doesn't make any sense for them to be lazy.
Version 0.1.0.1
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.1.0.1
- Added README to the cabal package as an extra source file, for viewing on Hackage.
Version 0.1.0.0
https://github.com/mstksg/typelits-witnesses/releases/tag/v0.1.0.0
- Initial version.