[darcs-devel] [patch1726] document laziness of commuter functions and slightly i...

Ben Franksen bugs at darcs.net
Tue Sep 11 22:28:48 UTC 2018


New submission from Ben Franksen <ben.franksen at online.de>:

In addition, I think that the non-lazy versions should either be re-written
so that their result lists can be consumed lazily or else they should use a
strict accumulator in order to avoid building up large unevaluated
expressions. This is exactly the same situation as for foldl vs. foldl'.

1 patch for repository http://darcs.net/screened:

patch 8729af8cea4e67e3582d17fac1a08b988d45b1f3
Author: Ben Franksen <ben.franksen at online.de>
Date:   Tue Sep 11 20:40:16 CEST 2018
  * document laziness of commuter functions and slightly improve commuterRLFL
  
  The result lists of commuterRLFL are now produced in an alternating fashion,
  so that both can be consumed lazily (from head to tail).

----------
files: document-laziness-of-commuter-functions-and-slightly-improve-commuterrlfl.dpatch, patch-preview.txt, unnamed
messages: 20301
nosy: bf
status: needs-screening
title: document laziness of commuter functions and slightly i...

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1726>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 2951 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20180911/10ae24ff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: document-laziness-of-commuter-functions-and-slightly-improve-commuterrlfl.dpatch
Type: application/x-darcs-patch
Size: 5551 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20180911/10ae24ff/attachment-0001.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list