[Haskell-cafe] ghci, running :load on filename provided by variable
csasarak at mailbox.org
Sat Feb 4 19:31:43 UTC 2017
I'm not sure that you can, is there any particular reason to not make the file
a module and use import?
Dennis Raddle writes:
> How do I load a file in ghci where the filename comes from a variable?
> So like,
> let f = "myfile.hs"
> :load f
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
More information about the Haskell-Cafe