Advanced ETS Pattern Matching

Eric Newhuis <>
Tue Jan 7 15:59:26 CET 2003

Thank you very much.  I no longer feel ignorant.  I probably just appear
to be ignorant.  The former was quick to resolve.  The latter will take
some time.

But this is great.  I will now flush my Trie down the toilet.  ETS does
everything I need.  ETS rules!!


-----Original Message-----
From: Erik Reitsma (ELN) [mailto:] 
Sent: Tuesday, January 07, 2003 8:48 AM
To: 'Eric Newhuis'; 
Subject: RE: Advanced ETS Pattern Matching

> How can I convert a given list like [a,b] into a match specification 
> like [a,b|'_'] to pass to ets?  i.e. I may conditionally want to 
> employ the use of |'_' in the match spec.

Is this what you mean?

Eshell V5.2  (abort with ^G)
1> L=[a,b].
2> L++'_'.


More information about the erlang-questions mailing list