jonascarpay / calligraphy

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

GHCi does not work with calligraphy 0.1.5 #31

Closed kazu-yamamoto closed 1 year ago

kazu-yamamoto commented 1 year ago

After installing calligraphy 0.1.5, I cannot calculate even 1+2 in ghci. This is because the version provides Prelude. As workaround, I keep the command but removed the library of calligraphy 0.1.5.

jonascarpay commented 1 year ago

Thanks for reporting!

This is a serious issue. I assume it's a result of #22 or #27.

@Kleidukos I'm not very actually with the mixin mechanism, for now I'll just rename to Calligraphy.Prelude and push a fix where that's just imported manually, and then we'll figure out how to make it cleaner afterwards, ok?

Kleidukos commented 1 year ago

@jonascarpay understood!

jonascarpay commented 1 year ago

@kazu-yamamoto It should be fixed. If you have a chance, please check if the issue is gone with 0.1.6.

kazu-yamamoto commented 1 year ago

The issue has been fixed. Thank you for the quick fix!