Re: Sifting a list sans loop
Re: Sifting a list sans loop
- Subject: Re: Sifting a list sans loop
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Mon, 28 Jan 2002 11:28:57 +0100
At 22:51 -0500 26/01/02, Victor Yee wrote:
>
You could try asking for the "plain text" of the list. I'm not sure how stable
>
that would be on large lists, but it works fine with small lists.
>
>
set theList to {1, 1, {"2"}, "3", true, {4}, "3", 1}
>
plain text of theList
>
--> {"3", "3"}
!!!
This is the second time in a week I get to see such magic code everybody seems to know but I can't find any written reference to in the ASLG or elsewhere.
I wonder, how do you guys know? being old-timer? word of mouth? or is there a repository only the blessed ones know- and the side one, how do I become bless :)
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod - Jussieu
// // //
http://www.ijm.jussieu.fr/ Universites Paris VI, VII - CNRS
//\//\//\\