[Haskell-beginners] cabal repl issue

Lai Boon Hui laiboonh at gmail.com
Fri Oct 21 14:35:19 UTC 2016


Hi all,

when i execute cabal repl i get this:

<interactive>:1:8: error:

    Not in scope: ‘System.Directory.getCurrentDirectory’

    No module named ‘System.Directory’ is imported.
because my ghci.conf has
:def pwd (\_-> System.Directory.getCurrentDirectory >>= print >> return "")

Does anyone know how i can include System.Directory somehow even though its
not used in my cabal project?

-- 
Best Regards,
Boon Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161021/81951b8d/attachment.html>


More information about the Beginners mailing list