You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For moving this package to purescript-contrib, @thomashoneyman has requested that the package has no dependencies outside of purescript-contrib, and the purescript-typelevel package does not belong to purescript-contrib.
The BytesPerValue class with the dependency on purescript-typelevel was introduced in this redesign by @athanclark .
Activity
jamesdbrock commentedon Jun 19, 2021
From purescript-typelevel we only use the
toInt'method of theNatclass on typesD1,D2,D4, andD8.Here's one thing which I think we could do which I think would completely eliminate the need for purescript-typelevel.
We could replace the
BytesPerValuetypeclass with something like this:Then we would also be able to remove the
Nattype constraint on a lot of public API functions, which would be a win in my opinion.jamesdbrock commentedon Jul 16, 2021
Resolved in v11.0.0 .