Asserting that list fusing kicked in

Joachim Breitner mail at joachim-breitner.de
Mon May 26 15:54:31 UTC 2014


Hi,

for those of you who don’t follow Planet Haskell and haven’t seen my
blog post¹ on it:

I have created a (very) small library list-fusion-probe with an identity
function

        fuseThis :: [a] -> [a]
        
that will complain loudly (at run-time, for the time being) if the
argument is not fused away. Using it might give you more confidence in
that your code really fuses as well as you think it does.

Greetings from TFP (where the invited talk by Geoffrey Mainland inspired
me to write that),
Joachim

¹ http://www.joachim-breitner.de/blog/archives/649-Does-list-fusion-work.html

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140526/86fa77f5/attachment.sig>


More information about the Glasgow-haskell-users mailing list