Releases: clash-lang/ghc-typelits-extra
Releases · clash-lang/ghc-typelits-extra
v0.4.6
v0.4.5
- Support for GHC-9.6.0.20230210
v0.4.4
- Add support for GHC 9.4
v0.4.1
- Reduce
n <=? Max (n + p) p
toTrue
v0.4
Max
short-circuits on zero, but is stuckness preserving. i.e.Max (0-1) 0
reduces to(0-1)
- Reduce inside arithmetic equations. e.g.
1 + a ~ Max 0 a + CLog 2 2
v0.3.3
- Add support for GHC 8.10.1-alpha2
v0.2.1
- Reduce
Max n n
ton
- Reduce
Min n n
ton
v0.2
- New type-level operations:
Max
: type-levelmax
Min
: type-levelmin
Div
: type-leveldiv
Mod
: type-levelmod
FLog
: floor of logBaseLog
: exact integer logBase (i.e. wherefloor (logBase b x) ~ ceiling (logBase b x)
holds)LCM
: type-levellcm
- Fixes bugs:
CLog b 1
doesn't reduce to0
v0.1.2
- Solve KnownNat constraints over CLog and GCD, i.e., KnownNat (CLog 2 4)
v0.1
Initial release