Open jwaldmann opened 8 years ago
using type-lits and possibly https://hackage.haskell.org/package/ghc-typelits-natnormalise-0.2
even if all the operations are fixed-width it would already be an improvement because we could remove all the individual Bit types.
cf. https://gitlab.imn.htwk-leipzig.de/waldmann/fuglede/-/blob/master/F.hs#L128 (this is arithmetics modulo 2^width)
using type-lits and possibly https://hackage.haskell.org/package/ghc-typelits-natnormalise-0.2
even if all the operations are fixed-width it would already be an improvement because we could remove all the individual Bit types.