News for hackers. Stuff that matters.
Re:Building a Cache in Elixir by notamy on Tuesday July 12, 2022 @08:17AM (#32068758)
> 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

There are no comments on this comment yet.