[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #708: condition-predicate's result is too picky
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #708: condition-predicate's result is too picky |
Date: |
Wed, 28 Sep 2011 21:00:52 -0000 |
#708: condition-predicate's result is too picky
------------------------+---------------------------------------------------
Reporter: johnwcowan | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: unknown | Version: 4.7.x
Keywords: |
------------------------+---------------------------------------------------
The result of `(condition-predicate 'foo)` [[http://wiki.call-
cc.org/man/4/Exceptions is documented]] to accept any argument and return
`#t` iff it is a condition of kind `foo`. In fact, if its argument is not
a condition, it raises an exception.
This can be resolved by a doc fix or a code fix. Since basic predicates
generally accept any object, I think these should too.
--
Ticket URL: <http://bugs.call-cc.org/ticket/708>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #708: condition-predicate's result is too picky,
Chicken Trac <=