Proposal: Make GHC.Arr.listArray slightly stricter to allow fusion
Felipe Lessa
felipe.lessa at gmail.com
Fri Nov 14 00:09:22 UTC 2014
On 13-11-2014 14:54, David Feuer wrote:
> To be really specific, in case anyone can learn anything from me
> embarrassing myself:
>
> take uses a neat little trick to avoid blowing up on a bottom-terminated
> list: instead of counting down to 0, it counts down to 1. This lets it
> stop just short of trouble. The same technique should work for listArray.
Thanks for sharing! That's a nift trick.
--
Felipe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141113/8b93b99f/attachment.sig>
More information about the Libraries
mailing list