Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find module 'System.Console.Readline' in Haskell

When I try to execute :load hello.hs in ghci, I get the following error:

Could not find module "System.Console.Readline"

Since this is a System module, I thought this would work. How do I fix this?

like image 362
Jo0o0 Avatar asked Aug 23 '26 23:08

Jo0o0


1 Answers

You need to install the readline-package with

cabal install readline
like image 198
shang Avatar answered Aug 26 '26 05:08

shang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!