Alex Peake apeake@REDACTED
Thu May 30 18:26:41 CEST 2002

Forgive my lack of Erlang knowledge, but this all seems like a standard
pattern of "Composition"?

%%%% Compose functions
compose([Fn]) ->
compose([Fn | FnTail]) ->
	fun(Args) ->


> -----Original Message-----
> From: owner-erlang-questions@REDACTED
> [mailto:owner-erlang-questions@REDACTED]On Behalf Of James Hague
> Sent: Thursday, May 30, 2002 8:06 AM
> To: 'erlang-questions@REDACTED'
> Subject: Re: forget
> >There are a couple of problems here.  The first one someone has already
> >mentioned, that while Forth has an explicit stack Erlang (the language)
> >doesn't, it has variables. The second one is that I personally find that
> >I seldom have this type of code,
> I agree, in that the last thing Erlang needs is another fringe
> feature.  The
> "language extensions since 4.4" section of the documentation is becoming
> daunting.  But I do see this sort of "VarN =" code regularly, even in OTP
> itself, and it always makes me think that there has to be a better way.

More information about the erlang-questions mailing list