[erlang-questions] conses in erlang?
Johnny Billquist
bqt@REDACTED
Thu Jul 3 13:11:36 CEST 2008
Johnny Billquist wrote:
> Richard A. O'Keefe skrev:
>> On 2 Jul 2008, at 8:33 pm, not norwegian swede wrote:
>>> can i use conses in erlang?
>> [ H | T ] in Erlang is precisely the same thing as (cons H T) in Scheme.
>
> But it's totally the same as a cons in Lisp.
Argh! I meant to say that it's *not* entirely the same thing as a cons
in Lisp (my memory of Scheme is rusty, so I can't say for sure how a
cons in Scheme works).
> But maybe they are similar enough for pm's needs to not require any further
> discussion?
Johnny
More information about the erlang-questions
mailing list