[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Collection operations taking pseudo-predicates?
- To: address@hidden
- Subject: Collection operations taking pseudo-predicates?
- From: Gabor Greif <address@hidden>
- Date: Wed, 20 Mar 2002 06:00:02 -0500
- Organization: Lucent Technologies
- Sender: "Gregory T. Sullivan" <address@hidden>
- Xref: traf.lcs.mit.edu comp.lang.dylan:14043
http://www.gwydiondylan.org/drm/drm_102.htm#HEADING102-0
states under
choose [Open Generic Function]
...
Returns a sequence containing those elements of source-sequence that satisfy predicate.
...
I wonder if a proper predicate is needed (i.e. one returning a <boolean>) or a pseudo-predicate
( whose result is compared against #f) is sufficient.
Anybody who can shed light on this?
Tia,
Gabor