[Haskell-cafe] What is the difference between runhaskell and compile?

Brandon Allbery allbery.b at gmail.com
Fri May 25 05:20:40 CEST 2012


On Thu, May 24, 2012 at 11:05 PM, Magicloud Magiclouds <
magicloud.magiclouds at gmail.com> wrote:

> Hi there,
>  The code could not be simpler. Just ldapInit, ldapSimpleBind.
>  I just found that the code works with ghci, too. So to sum up,
> ghci/runhaskell works, ghc not.


A possibility that occurs to me:  does it by any chance work with ghc
-threaded?  Perhaps the issue relates to the different behavior of the
threaded runtime (which is used automatically by ghci/runghc).

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120524/cbc7f5c8/attachment.htm>


More information about the Haskell-Cafe mailing list