Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Why is it so slow to solve "10^(10^10)"? (Brandon Allbery)
   2.  FFI - how to handle when external dll crashes (Miro Karpis)


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Sep 2013 09:30:55 -0400
From: Brandon Allbery <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Why is it so slow to solve
        "10^(10^10)"?
Message-ID:
        <CAKFCL4U3=AYxgRM6KG4LkXsqmgLnWBSF4Qh9iW97Kn=jecr...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Sun, Sep 22, 2013 at 12:50 AM, Graham Gill <[email protected]>wrote:

>  10^(10^10) is a 1 followed by ten billion zeros. Naively evaluating that
> to an integer is going to cause time and memory problems in any software
> that supports arbitrary size integers - as Bob Ippolito said, it's
>

I wonder if they were looking for (**) instead of (^).

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130922/aca74326/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 22 Sep 2013 22:59:39 +0200
From: Miro Karpis <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] FFI - how to handle when external dll
        crashes
Message-ID:
        <CAJnnbxFmqCMEqPBHTjJ201TTbG=aSkmNtgRH8kF2M=nbjwk...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Haskellers, I have an external dll which in some particular cases crashes.
Basically first I need to send to my dll with MethodA some parameters and
then call MethodB to do some calculations on those parameters. If I didn't
give enough parameters then MethodB will crash the whole dll. Is there a
way to handle this? Unfortunately there are no exceptions thrown from the
dll.

In ghci I'm getting following message: ERROR in
InitNumericalSystem::initializeSystem. JuncLabel.

cheers,
m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130922/af414bde/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 63, Issue 34
*****************************************

Reply via email to