Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/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:  ghci timings (Doug McIlroy)


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

Message: 1
Date: Fri, 25 May 2018 09:51:37 -0400
From: Doug McIlroy <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] ghci timings
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

 > Just use last to print the last in the list.

Because of lazy evaluation, this doesn't guarantee that the
earlier elements have been computed. You might use "sum" to
assure that they are. 

Doug


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

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


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

End of Beginners Digest, Vol 119, Issue 17
******************************************

Reply via email to