[erlang-questions] A function as an element of a list of action

Jesper Louis Andersen <>
Mon Jan 28 11:14:24 CET 2013



On Jan 28, 2013, at 11:09 AM, Erik Søe Sørensen <> wrote:

> I think what you want could be something like

Would be my solution as well I think. You have data which you turn into code by building a closure for each
step. Then you compose your code into a program and execute it. If you fold in the right order, you may be able to pass things around directly in the fold, but note it might take some CPS to get this right.

Jesper Louis Andersen
  Erlang Solutions Ltd., Copenhagen




More information about the erlang-questions mailing list