Revision: 3612
Author: hans
URL: http://bknr.net/trac/changeset/3612
Fix docstring of SEARCH-ADJACENT.
U trunk/projects/bos/m2/allocation.lisp
Modified: trunk/projects/bos/m2/allocation.lisp
===================================================================
--- trunk/projects/bos/m2/allocation.lisp 2008-07-24 11:11:05 UTC (rev 3611)
+++ trunk/projects/bos/m2/allocation.lisp 2008-07-24 11:37:33 UTC (rev 3612)
@@ -292,9 +292,9 @@
(defun search-adjacent (n m2 pred)
"Try to find N free square meters that are adjacent and that begin
-at square meter M2. PRED is a predicate function of two arguments that
-returns a true value if the arguments specify the coordinates of an
-allocatable square meter."
+at square meter M2. PRED is a predicate function of one argument that
+returns a true value if the argument specifies an allocatable square
+meter."
(when (funcall pred m2)
(let* ((allocated (make-hash-table :test #'eq))
(border-queue (make-queue))
Revision: 3605
Author: edi
URL: http://bknr.net/trac/changeset/3605
Fix two typos
U trunk/thirdparty/cl-ppcre/doc/index.html
Modified: trunk/thirdparty/cl-ppcre/doc/index.html
===================================================================
--- trunk/thirdparty/cl-ppcre/doc/index.html 2008-07-23 23:03:10 UTC (rev 3604)
+++ trunk/thirdparty/cl-ppcre/doc/index.html 2008-07-23 23:45:26 UTC (rev 3605)
@@ -2123,7 +2123,7 @@
in <code>"[a-ge-kf]"</code>) or to otherwise optimize these tests
for speed. However, you can play
with <a href="#*optimize-char-classes*"><code>*OPTIMIZE-CHAR-CLASSES*</code></a>
- if you've identified character classes as bottleneck and want to
+ if you've identified character classes as a bottleneck and want to
make sure that you have <em>O(1)</em> test functions.
<li>If you know that the expression you're looking for is anchored,
@@ -2131,7 +2131,7 @@
your scanners more efficient.
<li>In addition to anchors, constant strings at the start or end of a
- regular expression can help the engine to quickly scan a strang.
+ regular expression can help the engine to quickly scan a string.
Note that for example <code>"(a-d|aebf)"</code>
and <code>"ab(cd|ef)"</code> are equivalent, but only the second
form has a constant start the regex engine can recognize.
@@ -2208,7 +2208,7 @@
OpenMCL.
<p>
-$Header: /usr/local/cvsrep/cl-ppcre/doc/index.html,v 1.195 2008/07/23 22:24:52 edi Exp $
+$Header: /usr/local/cvsrep/cl-ppcre/doc/index.html,v 1.197 2008/07/23 23:45:18 edi Exp $
<p><a href="http://weitz.de/index.html">BACK TO MY HOMEPAGE</a>
</body>