This repository has been archived by the owner on Nov 29, 2020. It is now read-only.
Pattern functors, algebras, folds, catas, free structures for free #13
Labels
boilerplate
Boilerplate reduction.
Using the laws to simplify the structure seems a little bit tricky, but not impossible. One simple heuristic is to use any laws that reduce the total depth. In this case it's left and right identity laws.
Can we generate
scott
(Scott encoding, peeling one layer at a time) as well? i.e.If
Alg
in@free(Alg) type Free[A]
is not a typeclass, don't useimplicit
.The text was updated successfully, but these errors were encountered: