[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error objects in general

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.

bear wrote:
It's different because #f is a useful value, not a signal that some
operation failed or was invalid.

#f is often used to signal failure. For examples, look no further than string->number and assoc.

In general, operations that are
supposed to retrieve a value can fail, and then what value do they

Yup, you've identified one of the oldest problems in interface design.

Dr Alan Watson
Centro de Radioastronomía y Astrofísica
Universidad Astronómico Nacional de México