Closed treeowl closed 4 years ago
The upgrade
and op
types might be controversial. I was figuring maybe the place for the simpler versions is the old interface? Or maybe we should leave op
alone, and people can use op . upgrade
.... I'm not sure what's best here.
We might be able to get away with a functional dependency on Newtype
instead of that new superclass constraint... I'm not sure what the tradeoffs are.
OK, I've made things less controversial now.
Add
alap
, a version ofala
that passes a polymorphic packer.Add a fundep to
Newtype
to improve inference.Add
upgrade
, to upgrade a proxy to a polymorphic packer.Improve lots of documentation.