On Sun, Aug 25, 2013 at 10:28:34AM -0700, Per Bothner wrote: > 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? (boolean=? 1 1) => #f Because not all arguments are boolean, the 2nd clause after "and" in the spec doesn't apply. -- Erik Falor http://unnovative.net Registered Linux User #445632 http://linuxcounter.net
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports