[erlang-questions] Erlang list comprehension optimization

Björn Gustavsson bgustavsson@REDACTED
Sat Mar 20 10:45:52 CET 2010


On Fri, Mar 19, 2010 at 9:55 PM, caio ariede <caio.ariede@REDACTED> wrote:
> Just a small question.
>
> http://www.erlang.org/doc/efficiency_guide/listHandling.html#id2261027
>
> 'lc^0'([E|Tail], Expr) ->
>    Expr(E),
>    'lc^0'(Tail, Expr);
> 'lc^0'([], _Expr) -> [].
>
>
> Where this name ('lc^0') is generated?

The name "lc^0" is just an example. The actual name is more
complicated. The name is generated by the v3_core module.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list