4 ms·
> Unfortunately, ETS match specifications are quite wonky Matchspecs are gnarly! Very annoying to wrap your head around, and it's closer to being an AST than a
by notamy 4y ago
> Unfortunately, ETS match specifications are quite wonky
Matchspecs are gnarly! Very annoying to wrap your head around, and it's closer to being an AST than anything.
Shameless plug: I had written a library at one point to make matchspecs with Mnesia easier, but it might also work with ETS (haven't tested unfortunately): https://github.com/queer/lethe https://github.com/queer/lethe