Changelog History
Page 1
-
v0.4.0.0 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.4.0.0
June 20, 2019
- Complete overhaul of GHC.TypeLits.Witnesses to more or less match the
interface of singletons. This changes the role of the module to be a
"lightweight" version of the singletons library as it pertains to
Nat
andSymbol
. - Removal of the GHC.TypeLits.List module. We could perform the same overhaul as GHC.TypeLits.Witnesses, but it is complex enough that it would be better to just use singletons instead at that point.
- Remove all external dependencies, except for base and dependent-sum.
- Break compatibility with GHC < 8.2
- Complete overhaul of GHC.TypeLits.Witnesses to more or less match the
interface of singletons. This changes the role of the module to be a
"lightweight" version of the singletons library as it pertains to
-
v0.3.0.3 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.3.0.3
October 1, 2018
- ๐ Fix build for GHC 8.6 and
TypeIsStar
changes. - Break compatibility with GHC < 8.0
- ๐ Fix build for GHC 8.6 and
-
v0.3.0.2 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.3.0.2
March 30, 2018
- Functions taking multiple
p m
in GHC.TypeLits.Compare now are able to take different "proxy" types (p
andq
).
- Functions taking multiple
-
v0.3.0.1 Changes
๐ 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.
-
v0.3.0.0 Changes
๐ 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 n
instead ofProxy n
whenever 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.
- Added extra witnesses inside the constructors of
-
v0.2.3.0 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.3.0
- Added the
GHC.TypeLits.Compare
module for refining bounds and proving inequalities onKnownNat
s and associated utility functions.
- Added the
-
v0.2.2.0 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.2.0
- ๐ Removed redundant
KnownNats
andKnownSymbols
constraints forsameNats
andsameSymbols
.
- ๐ Removed redundant
-
v0.2.1.0 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.2.1.0
- Added "eliminators", a staple of dependently typed programming, for
NatList
andSymbolList
.
- Added "eliminators", a staple of dependently typed programming, for
-
v0.2.0.0 Changes
๐ 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,reifyNats
should be the safe one, but its connection toreifyNat
from the reflection package is very strong and worth preserving, I think.
-
v0.1.2.0 Changes
๐ https://github.com/mstksg/typelits-witnesses/releases/tag/v0.1.2.0
Added
mapNatList'
andmapSymbolList'
companions tomapNatList
andmapSymbolList
; they useNatList
andSymbolList
instead 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
sameNats
andsameSymbols
, modeled aftersameNat
andsameSymbol
. They provide witnesses to GHC thatKnownNat
s passed in are both the same.