On Friday, 2 November 2001 07:10 Raul Sierra Alcocer wrote:
> Hi,
>
> What mechanism of transmiting parameters does Haskell implement?
>
> Thank you,
> Raul
Anyway, it does not make sense to distinct between call-by-value and
call-by-reference in the traditional way since variables cannot be mod
> >> >What mechanism of transmiting parameters does Haskell implement?
> >>
> >> By value.
> >
> >Yes, though one might equally say that they are passed by
> >reference, since in
> >
>
> Oh, yeah, they're passed by thunk. I forgot about the laziness.
Well, Haskell does not really specify which
At 2001-11-02 02:21, Jon Fairbairn wrote:
>> >What mechanism of transmiting parameters does Haskell implement?
>>
>> By value.
>
>Yes, though one might equally say that they are passed by
>reference, since in
>
>g = let f x = x+x
>z = factorial 1000
> in f z * z
>
>the 'first' instan
> At 2001-11-01 22:10, raul sierra alcocer wrote:
>
> >What mechanism of transmiting parameters does Haskell implement?
>
> By value.
Yes, though one might equally say that they are passed by
reference, since in
g = let f x = x+x
z = factorial 1000
in f z * z
the 'first' instance
At 2001-11-01 22:10, raul sierra alcocer wrote:
>What mechanism of transmiting parameters does Haskell implement?
By value.
--
Ashley Yakeley, Seattle WA
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Hi,
What mechanism of transmiting parameters does Haskell implement?
Thank you,
Raul
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell