[Haskell-cafe] Re: Problem with reloading modules in GHC API

Albert Y.C.Lai trebla at vex.net
Wed Jul 21 14:34:42 EDT 2010


Try adding more delay between the two loadings, e.g., make me press enter,
and hope I am not faster than a computer:

main = do
    writeTarget "arg"
    func0 <- compileTarget
    putStrLn $ show $ func0 2

    getLine

    writeTarget "arg*2"
    func1 <- compileTarget
    putStrLn $ show $ func1 2




More information about the Haskell-Cafe mailing list