sdiehl / repline

Haskeline wrapper for GHCi-like REPL interfaces
MIT License
107 stars 28 forks source link

Repl loop improvements #9

Closed luc-tielen closed 6 years ago

luc-tielen commented 6 years ago

Did the following:

I also noticed that <Ctrl-c> doesn't kill the REPL, is that behavior as intended? This could also be changed by changing line 205 to return pure Nothing on interrupt.

Also applied some minor refactorings (as mentioned by hlint 😅).

luc-tielen commented 6 years ago

This ended up being much harder to get working all GHC versions than I initially thought. Maybe any tips on how you can quickly see if it works for older versions? Having to wait for Travis each time can be kind of slow.. 🤔