Hi,

Am Montag, den 17.02.2014, 10:56 +0000 schrieb Simon Marlow:
> Ah, I realise it's ok so long as the original definition of foldl/foldl' 
> gets optimised to the right thing.  If that's the case just ignore me.

they should be. There are cases when the compiler is not smart enough to
produce great code i.e. folding over a list generated from a tree. But
Takano’s proposed fusion extension
(https://github.com/takano-akio/ww-fusion) will likely take care of
that.

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  [email protected]http://www.joachim-breitner.de/
  Jabber: [email protected]  • GPG-Key: 0x4743206C
  Debian Developer: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to