Proposal: Strict scanl, scanl1 and mapAccumL

Johan Tibell johan.tibell at gmail.com
Thu Nov 15 16:38:55 CET 2012


On Thu, Nov 15, 2012 at 2:38 AM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:

>  On Mon, 12 Nov 2012, Bas van Dijk wrote:
>
>> force :: WHNFData a => a -> a
>> force x = x `seq` x
>>
>
> Does this function do something?


No. It says "when x is evaluated, evaluate x".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121115/dfecfbe0/attachment.htm>


More information about the Libraries mailing list