[erlang-questions] match_delete and fun2ms

Chandru chandrashekhar.mullaparthi@REDACTED
Mon Mar 22 19:30:11 CET 2010


On 22 March 2010 06:01, Max Lapshin <max.lapshin@REDACTED> wrote:
> On Mon, Mar 22, 2010 at 8:56 AM, Chandru
> <chandrashekhar.mullaparthi@REDACTED> wrote:
>>
>> Did you mean to write ets:select_delete(Frames, Spec) instead of
>> match_delete?
>
>
> Damn, you are quite right!  I've missed this function in list. Why do
> two functions exists: match_delete and select_delete?

If I remember correctly, match_delete came first and then
select_delete came along a while later. match_delete operates on
patterns which are not as powerful as match specs.

cheers
Chandru


More information about the erlang-questions mailing list