3 ms·
True! (Although that requires an allocation) The technique works best for encoding higher-kinded traits and, as you say, Monoid doesn’t need any of that, but i
by louthy 1y ago
True! (Although that requires an allocation)
The technique works best for encoding higher-kinded traits and, as you say, Monoid doesn’t need any of that, but it was an easy way to introduce the ideas.