From steve at stevelosh.com Tue Nov 22 20:28:59 2016 From: steve at stevelosh.com (Steve Losh) Date: Tue, 22 Nov 2016 20:28:59 +0000 Subject: [PATCH] Fix typos in XOR docstring and WITH-{INPUT-FROM,OUTPUT-TO}-FILE error messages Message-ID: <20161122202859.sz4f4cx6jg7b3gyx@fenrir.local> --- control-flow.lisp | 2 +- io.lisp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/control-flow.lisp b/control-flow.lisp index f262443..27a2915 100644 --- a/control-flow.lisp +++ b/control-flow.lisp @@ -68,7 +68,7 @@ returns the values of DEFAULT if no keys match." ,(expand possibilities 0 random-number))))))) (defmacro xor (&rest datums) - "Evaluates its arguments one at a time, from left to right. If more then one + "Evaluates its arguments one at a time, from left to right. If more than one argument evaluates to a true value no further DATUMS are evaluated, and NIL is returned as both primary and secondary value. If exactly one argument evaluates to true, its value is returned as the primary value after all the diff --git a/io.lisp b/io.lisp index f36dd66..28bf5e6 100644 --- a/io.lisp +++ b/io.lisp @@ -33,7 +33,7 @@ FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT, which is only sent to WITH-OPEN-FILE when it's not NIL." (declare (ignore direction)) (when direction-p - (error "Can't specifiy :DIRECTION for WITH-INPUT-FROM-FILE.")) + (error "Can't specify :DIRECTION for WITH-INPUT-FROM-FILE.")) `(with-open-file* (,stream-name ,file-name :direction :input , at args) , at body)) @@ -46,7 +46,7 @@ FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT, which is only sent to WITH-OPEN-FILE when it's not NIL." (declare (ignore direction)) (when direction-p - (error "Can't specifiy :DIRECTION for WITH-OUTPUT-TO-FILE.")) + (error "Can't specify :DIRECTION for WITH-OUTPUT-TO-FILE.")) `(with-open-file* (,stream-name ,file-name :direction :output , at args) , at body)) -- 2.10.0 From attila at lendvai.name Tue Nov 22 23:06:53 2016 From: attila at lendvai.name (Attila Lendvai) Date: Wed, 23 Nov 2016 00:06:53 +0100 Subject: [PATCH] Fix typos in XOR docstring and WITH-{INPUT-FROM, OUTPUT-TO}-FILE error messages In-Reply-To: <20161122202859.sz4f4cx6jg7b3gyx@fenrir.local> References: <20161122202859.sz4f4cx6jg7b3gyx@fenrir.local> Message-ID: pushed, thanks! -- ? attila lendvai ? PGP: 963F 5D5F 45C7 DFCD 0A39 -- ?Forget conventionalisms; forget what the world thinks of you stepping out of your place; think your best thoughts, speak your best words, work your best works, looking to your own conscience for approval.? ? Susan B. Anthony (1820?1906)