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

AndrevanTonder andre at het.brown.edu
Wed Nov 1 17:18:10 EST 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




More information about the r6rs-discuss mailing list