jonascarpay / calligraphy

haskell source code visualizer
BSD 3-Clause "New" or "Revised" License
97 stars 13 forks source link

Custom Prelude with cross-GHC re-exports #21

Open Kleidukos opened 1 year ago

Kleidukos commented 1 year ago

We're starting to have a significant (and ever-growing) amount of CPP for exports.

I'd like to suggest using a custom prelude file that re-exports Prelude before base 4.18 and the things that base 4.18 re-exports like liftA2. What do you think @jonascarpay? :)

jonascarpay commented 1 year ago

Oh, that's a good idea. The more we isolate and organize the CPP stuff the better imo.

jonascarpay commented 1 year ago

Do you think this is worth doing before cutting a GHC 9.6-compatible release?

Kleidukos commented 1 year ago

That can be done in a timely fashion yes 👍