[erlang-questions] Exprecs question

Matthew Evans mattevans123@REDACTED
Fri Dec 21 18:45:24 CET 2012


Hi,
Is there a simple way to use exprecs to create a match specification I can use in ets:match_delete/2?
I can do something like:
ets:match_delete(my_table, erlang:make_tuple(custom_record_handler:info_p2_data(size), '_', [{custom_record_handler:pos_p2_data(special_type),123}])).
I was wondering if there was a "cleaner" or better way of doing this?
Thanks
Matt 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121221/ea9e1214/attachment.htm>


More information about the erlang-questions mailing list