mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-11-23 06:02:52 +03:00
da474b5dcf
With careful application of typeclass instances to this GADT, and by redefining 'ConcT' in terms of it, this solves the type inference problem and removes the need for the 'basic' function. This approach also has less newtype wrapping/unwrapping, and so is probably a step in the right direction even without the type inference advantages. The diff is quite big because things have needed to migrate between modules to avoid the import graph getting even worse. |
||
---|---|---|
.. | ||
DejaFu.hs |