specialized-arrays: don't define useless empty T-sequence mixin

db4
Slava Pestov 2010-01-16 20:19:35 +13:00
parent 3b5f7a9ecf
commit eaff1841fa
2 changed files with 0 additions and 5 deletions

View File

@ -30,7 +30,6 @@ M: bad-byte-array-length summary
FUNCTOR: define-array ( T -- )
A DEFINES-CLASS ${T}-array
S DEFINES-CLASS ${T}-sequence
<A> DEFINES <${A}>
(A) DEFINES (${A})
<direct-A> DEFINES <direct-${A}>
@ -46,8 +45,6 @@ SET-NTH [ T dup c-setter array-accessor ]
WHERE
MIXIN: S
TUPLE: A
{ underlying c-ptr read-only }
{ length array-capacity read-only } ;

View File

@ -15,7 +15,6 @@ FUNCTOR: define-vector ( T -- )
V DEFINES-CLASS ${T}-vector
A IS ${T}-array
S IS ${T}-sequence
<A> IS <${A}>
>V DEFERS >${V}
@ -38,7 +37,6 @@ M: V pprint* pprint-object ;
SYNTAX: V{ \ } [ >V ] parse-literal ;
INSTANCE: V growable
INSTANCE: V S
;FUNCTOR