[Haskell-cafe] using ghci with compiled code

Dennis Raddle dennis.raddle at gmail.com
Sat Feb 4 01:20:17 UTC 2017


I suspect I need to try the -dynamic flag to ghc when compiling--  that may
be my problem. I'll try it.

On Fri, Feb 3, 2017 at 1:50 PM, Albert Y. C. Lai <trebla at vex.net> wrote:

> 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.
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170203/72d2697c/attachment.html>


More information about the Haskell-Cafe mailing list