>
Rachwal Waldemar-AWR001 wrote:
> when compile the function as below the compiler raises 'illegal pattern'.
>
> fun(State#state{length=unknown}) ->
> State.
>
> Isn't it a valid construct, or it must be formulated other way?
alternative formulation:
fun(#state{length=unknown} = State) ->
State.
bengt