Search in record list

Eduardo Figoli (INS) eduardo@REDACTED
Fri Mar 17 14:59:15 CET 2006


Hi,

Does someone know an easy way to search by a field of a record on a list of records?

For example:
 [ {process_info, {Id, Pid, QueueLength}}...]

Find the record with Pid element in the list.


thanks, Eduardo


     Prepaid Expertise - Programmable Switches 
      Powered by Ericsson Licensed Technology
      Eng. Eduardo Figoli - Development Center - IN Switch Solutions Inc.
      Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax: 1305-7686260
      Development Center - Montevideo - Uruguay Tel/Fax: 5982-7104457
      e-mail: eduardo@REDACTED

     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060317/d4401962/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1429 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060317/d4401962/attachment.gif>


More information about the erlang-questions mailing list