[r6rs-discuss] [Formal] FIND delivers an ambiguous value

From: AndrevanTonder <andre>
Date: Wed Nov 1 17:21:42 2006

On Wed, 1 Nov 2006, Shiro Kawai wrote:

> But still, it's so frequent that it would deserve an abstraction.

You and Eli have convinced at least me, with the following caveat: I am
wondering if anyone would object to

  - keeping "find" as is, but
  - raising an error if the returned element would have been #f.

This seems to attain the best of both worlds by keeping the convenience and
avoiding the inaccuracy and fragility.

Cheers
Andre
Received on Wed Nov 01 2006 - 17:18:10 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC