projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a47ae0
)
Add test for string< and get it to fail
author
Samuel Chase
<samebchase@gmail.com>
Sun, 12 May 2013 19:57:15 +0000
(
01:27
+0530)
committer
Samuel Chase
<samebchase@gmail.com>
Sun, 12 May 2013 19:57:15 +0000
(
01:27
+0530)
dummy string< created for test failure.
src/string.lisp
patch
|
blob
|
history
diff --git
a/src/string.lisp
b/src/string.lisp
index
04aa7f1
..
92c78dc
100644
(file)
--- a/
src/string.lisp
+++ b/
src/string.lisp
@@
-25,6
+25,9
@@
(unless (char= (char s1 i) (char s2 i))
(return-from string= nil))))))
+(defun string< (s1 s2)
+ -1)
+
(define-setf-expander char (string index)
(let ((g!string (gensym))
(g!index (gensym))