ETS tuple in body

Jacob jacob01@REDACTED
Fri Jan 10 18:03:29 CET 2020


Yep, you're right. I've forgotten to add the enclosing tuple while
copying and pasting.

Jacob

On 1/10/20 5:24 PM, Roberto Ostinelli wrote:
> Ok I got it, your example was missing an external tuple:
>
> ets:select(my_table, [{
>     {Name, '$2', '$3', '$4', '_', '_'},
>     [],
>     [{{{const, Name}, '$2', '$3', '$4'}}]
> }]).
>
> Thank you,
> r.



More information about the erlang-questions mailing list