So now all I'd like in Erlang is...

Shawn Pearce spearce@REDACTED
Fri Feb 20 03:48:19 CET 2004


Chris Pressey <cpressey@REDACTED> wrote:
> how do you deal with forward references?

Uh.  Right.  Forgot about that.

> I guess what I'm saying is that it *would* be more orthogonal to have
> all functions as funs, but even if we did, it probably wouldn't be long
> before something like foo() -> bar was introduced as a shorthand for
> Foo = fun() -> bar end, register(foo, Foo) anyway.

You are definately right there.

Nice try on my part, but quite a bad idea.  :)

-- 
Shawn.



More information about the erlang-questions mailing list