justinethier / husk-scheme

A full implementation of the Scheme programming language for the Haskell Platform.
http://justinethier.github.io/husk-scheme
MIT License
308 stars 29 forks source link

eliminate dependency on MonadFail #212

Closed farrellm closed 4 years ago

farrellm commented 5 years ago

There was a potentially incomplete pattern match inside a do block that triggers a MonadFail dependency. This change eliminates that pattern match, so MonadFail is no longer needed. This allows the build to succeed on recent versions of GHC.

svenkeidel commented 4 years ago

The change is good. Any chance of merging this?

Anyways, here is another case of a MonadFail dependency that cannot be avoided and leads to a compile error for newer versions of GHC: https://github.com/svenkeidel/husk-scheme/commit/e0276d0a9ef549572f3efaed9445e7396e3d5034