projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99514b5
)
array-element-type special case for strings
author
David Vázquez
<davazp@gmail.com>
Fri, 24 May 2013 01:44:38 +0000
(
02:44
+0100)
committer
David Vázquez
<davazp@gmail.com>
Fri, 24 May 2013 01:44:38 +0000
(
02:44
+0100)
src/array.lisp
patch
|
blob
|
history
diff --git
a/src/array.lisp
b/src/array.lisp
index
4f4b690
..
e3e1f2e
100644
(file)
--- a/
src/array.lisp
+++ b/
src/array.lisp
@@
-48,7
+48,9
@@
(defun array-element-type (array)
(unless (arrayp array)
(error "~S is not an array." array))
- (oget array "type"))
+ (if (eq (oget array "stringp") 1)
+ 'character
+ (oget array "type")))
(defun array-dimensions (array)
(unless (arrayp array)