[erlang-questions] callcc or CPS in Erlang?

Jachym Holecek freza@REDACTED
Tue Jul 26 15:18:50 CEST 2011

# Guy Wiener 2011-07-26:
> Is there some equivalent to callcc (as in Scheme or Ruby) in Erlang?


> Alt., is there some what to encourage Continuation-Passing Style programming in Erlang, other than
> just recommending that all consequent function calls will be in tail-call position?

Not sure I understand this bit. What do you want to use CPS for, specifically?
Maybe people can then suggest Erlangy ways to achieve that goal.

	-- Jachym

More information about the erlang-questions mailing list