[Haskell-cafe] Multi-module scripts

Maurí­cio briqueabraque at yahoo.com
Fri Jun 26 10:21:52 EDT 2009


Is it possible to write a Haskell script that
uses a module that is also going to be interpreted?
Like, say:

#!/usr/bin/runhaskell

module Main (main) where
import OtherModule
main = (...)

----

where OtherModule is available in, say, OtherModule.hs
and not in the already compiled and installed  library?

Thanks,
Maurício



More information about the Haskell-Cafe mailing list