[Haskell-cafe] Re: Channel9 Interview: Software Composability
and theFu ture of Languages
Bulat Ziganshin
bulat.ziganshin at gmail.com
Wed Jan 31 10:07:05 EST 2007
Hello Mark,
Wednesday, January 31, 2007, 5:43:36 PM, you wrote:
> You've completely lost me here. Order is /very/ important in functional
> programming. Consider function composition:
Prelude>> ((+1) . (*2)) 5
> 11
Prelude>> ((*2) . (+1)) 5
> 12
*evaluation* order isn't defined here. compiler can first compute
"(*2) . (+1)" or it can start with calculation of "(+1) 5"
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list