[erlang-questions] -> == press enter?

Gleb Peregud gleber.p@REDACTED
Sat May 31 16:08:46 CEST 2008


I'm not sure what do you mean, but "->" is used in Erlang explicitly
when defining functions [1] or funs (precisely - on of their bodies)
[2], in case statements, in if statements [3] and in receive
statements [4]. Hence it doesn't just mean "press enter" :)

1] http://www.erlang.org/doc/getting_started/seq_prog.html#2.2
2] http://www.erlang.org/doc/getting_started/seq_prog.html#2.13
3] http://www.erlang.org/doc/getting_started/seq_prog.html#2.11
4] http://www.erlang.org/doc/getting_started/conc_prog.html#3.2

2008/5/31 Circular Function <circularfunc@REDACTED>:
> http://www.erlang.org/doc/getting_started/part_frame.html
>
> should:
>
> ->
>
> be used? or it just means "press enter"?
>
> ________________________________
> Ta semester! - sök efter resor hos Yahoo! Shopping.
> Jämför pris på flygbiljetter och hotellrum:
> http://shopping..yahoo.se/c-169901-resor-biljetter.html
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



-- 
Gleb Peregud
http://gleber.pl/

Every minute is to be grasped.
Time waits for nobody.
-- Inscription on a Zen Gong


More information about the erlang-questions mailing list