* .find -> .filter?
@ 2009-09-01 17:13 Doug Evans
0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-09-01 17:13 UTC (permalink / raw)
To: cgen
I see r6rs has find, filter, partition
where find returns the first match,
filter returns all matches,
and partition returns those that match and those that don't match.
[Partition uses the multiple-return-values feature.
I'm not suggesting we use that here.]
I think the thing to do is follow suit and rename .find to .filter.
I like consistent naming.
[Internally I'd also rename utils.scm's find-first and find,
but that's an internal detail.]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-01 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-01 17:13 .find -> .filter? Doug Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).