[Haskell-cafe] ghci, running :load on filename provided by variable

Dennis Raddle dennis.raddle at gmail.com
Tue Jan 24 22:33:40 UTC 2017

How do I load a file in ghci where the filename comes from a variable?

So like,
let f = "myfile.hs"
:load f

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170124/2ff6e5df/attachment.html>

More information about the Haskell-Cafe mailing list