[Haskell-cafe] does the compiler optimize repeated calls?

Alex Queiroz asandroq at gmail.com
Wed Sep 6 08:32:07 EDT 2006


Hallo,

On 9/6/06, Tamas K Papp <tpapp at princeton.edu> wrote:
>
> PS: I realize that I am asking a lot of newbie questions, and I would
> like to thank everybody for their patience and elucidating replies.

    I am a newbie myself (second week of learning Haskell), but I'll
give it a shot: Since functions have no side effects, the compiler
executes the function only once.

-- 
-alex
http://www.ventonegro.org/


More information about the Haskell-Cafe mailing list