Send Beginners mailing list submissions to
        beginners@haskell.org

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
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

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 <d...@cs.dartmouth.edu>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] ghci timings
Message-ID: <201805251351.w4pdpb1i032...@coolidge.cs.dartmouth.edu>
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
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


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

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

Reply via email to