sb-unicode backport

namespace-korrekturen
noch documentation
This commit is contained in:
dlichteblau
2005-12-27 20:01:16 +00:00
parent e1a5fc652c
commit 0422b01121
2 changed files with 3 additions and 9 deletions

View File

@ -95,7 +95,9 @@
(stringp x)) (stringp x))
(defun rod= (x y) (defun rod= (x y)
(string= x y)) (if (zerop (length x))
(zerop (length y))
(and (plusp (length y)) (string= x y))))
(defun rod-equal (x y) (defun rod-equal (x y)
(string-equal x y)) (string-equal x y))

View File

@ -10,14 +10,6 @@
(deftype rod () '(vector rune)) (deftype rod () '(vector rune))
(deftype simple-rod () '(simple-array rune)) (deftype simple-rod () '(simple-array rune))
#+(or)
(definline rune (rod index)
(char rod index))
#+(or)
(defun (setf rune) (newval rod index)
(setf (char rod index) newval))
(defun rod= (r s) (defun rod= (r s)
(string= r s)) (string= r s))