[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MIT-Scheme-users] how to search a string in lists
From: |
santonoreg |
Subject: |
[MIT-Scheme-users] how to search a string in lists |
Date: |
Tue, 12 Jun 2012 00:05:08 -0700 (PDT) |
Hi,
I've the following code..
(define FullList '(
(define f1 '((name (George))
(address (Kalavrytwn))
(phone 2103333333)))
(define f2 '((name (Spyros))
(address (Stadiou))
(phone 2102222222)))
Question: How i can make a function to take as parameters the list, phone
and search if the phone number exists. Also i want to display the name of
the phone number owner.
Thanks in advance,
Sorry for my bad english!!!!
--
View this message in context:
http://old.nabble.com/how-to-search-a-string-in-lists-tp33997816p33997816.html
Sent from the Gnu - MIT Scheme - Users mailing list archive at Nabble.com.
- [MIT-Scheme-users] how to search a string in lists,
santonoreg <=