[Haskell-cafe] using ghci with compiled code

Albert Y. C. Lai trebla at vex.net
Fri Feb 3 21:50:13 UTC 2017


On 2017-02-02 07:50 PM, Dennis Raddle wrote:
> I want to use ghci to interpret parts of my program, and I would like it
> to pick up pre-compiled object files to speed things up in other parts.
> Right now whenever I launch ghci it seems to "compile" everything (I
> think to byte code).. what can I do?

Read the GHC Users Guide section 5.3 "loading compiled code". The GHC 
Users Guide comes with GHC and is somewhere on your hard disk.



More information about the Haskell-Cafe mailing list