[Openmcl-devel] bug?

Ron Garret ron at flownet.com
Mon Dec 7 16:12:17 PST 2009


On Dec 7, 2009, at 3:51 PM, Tim Bradshaw wrote:

> On 7 Dec 2009, at 23:38, Paul Krueger wrote:
> 
>> in that case there is no other predicate that I can run on my
>> list element to guarantee that it will not cause an error when the
>> test is run on it
> 
> Can that be right?  I think you can always pass something like
> 
> (lambda (thing)
>  (and (test-for-my-predicate-not-causing-error-p thing)
>       (my-predicate-which-may-error thing)))

or even

(lambda (thing) (ignore-errors (original-predicate thing)))

Still sounds to me like you have a design problem.  But what do I know?

rg




More information about the Openmcl-devel mailing list