The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Erlang::Parser::Node::FunLocal - a lambda-style local fun

DESCRIPTION

A lambda-ish local fun definition, comprised of multiple cases; see Erlang::Parser::Node::DefList.

Accessors

cases

A list of Erlang::Parser::Node::FunLocalCases.

Methods

print

Pretty-prints the node to its filehandle argument.

EXAMPLE

        fun (0) -> 1; (N) -> N + 1 end   % wtf does this do