alt-romes / hegg

Fast equality saturation in Haskell
https://hackage.haskell.org/package/hegg
BSD 3-Clause "New" or "Revised" License
75 stars 8 forks source link

Correct typo in `README` #27

Closed ocharles closed 1 year ago

ocharles commented 1 year ago

The example for makeA wouldn't type check.

I also notice that the README talks about defining an instance of Language, but from what I can tell that's not possible/necessary now (as there seems to be a "match all languages" instance).

alt-romes commented 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:

ocharles commented 1 year ago

Cool, that all sounds fun!