[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] boolean=?
- To: scheme-reports <scheme-reports@x>
- Subject: [Scheme-reports] boolean=?
- From: Per Bothner <per@x>
- Date: Sun, 25 Aug 2013 10:28:34 -0700
The specification for boolean=? is it "Returns #t if all the arguments
are booleans and all are #t or all are #f".
What about: (boolean=? 1 1)
Should this be #f (because some arguments are not booleans);
#t (because all arguments have the same truth value);
or an error (because the arguments don't satisfy the
type restrictions implied by the parameter names)?
Or is this unspecified and these are all allowed?
--
--Per Bothner
per@x http://per.bothner.com/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports