Closed ocharles closed 1 year ago
Thanks!
Indeed. I've introduced a type synonym type Language l = (Traversable l, ∀ a. Ord a => Ord (l a))
, so Language
no longer needs to be instanced as a separate class. It simplifies things a bit!
I intend to write a new tutorial (or set of them) sometime in the near future:
Analysis
and monadic Analysis
recursion-schemes
compatibility layer that would avoid requiring the users to define their expressions in fix point style (i.e. we'd do the refix
) (I've barely started this)Cool, that all sounds fun!
The example for
makeA
wouldn't type check.I also notice that the
README
talks about defining an instance ofLanguage
, but from what I can tell that's not possible/necessary now (as there seems to be a "match all languages" instance).