move cords to sequences.cords
parent
50f7dff422
commit
46f0aa6421
|
@ -1,8 +1,10 @@
|
||||||
! (c)Joe Groff bsd license
|
! (c)Joe Groff bsd license
|
||||||
USING: accessors alien.c-types arrays assocs classes combinators
|
USING: accessors alien.c-types arrays assocs classes combinators
|
||||||
combinators.short-circuit cords fry kernel locals math
|
combinators.short-circuit fry kernel locals math
|
||||||
math.vectors math.vectors.simd math.vectors.simd.intrinsics sequences ;
|
math.vectors math.vectors.simd math.vectors.simd.intrinsics sequences ;
|
||||||
FROM: alien.c-types => char uchar short ushort int uint longlong ulonglong float double ;
|
FROM: alien.c-types =>
|
||||||
|
char uchar short ushort int uint longlong ulonglong
|
||||||
|
float double ;
|
||||||
IN: math.vectors.conversion
|
IN: math.vectors.conversion
|
||||||
|
|
||||||
ERROR: bad-vconvert from-type to-type ;
|
ERROR: bad-vconvert from-type to-type ;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
! (c)2009 Slava Pestov, Joe Groff bsd license
|
! (c)2009 Slava Pestov, Joe Groff bsd license
|
||||||
USING: accessors alien alien.c-types alien.data combinators
|
USING: accessors alien alien.c-types alien.data combinators
|
||||||
cords cpu.architecture fry generalizations kernel libc locals
|
sequences.cords cpu.architecture fry generalizations kernel
|
||||||
math math.libm math.order math.ranges math.vectors sequences
|
libc locals math math.libm math.order math.ranges math.vectors
|
||||||
sequences.private specialized-arrays vocabs.loader ;
|
sequences sequences.private specialized-arrays vocabs.loader ;
|
||||||
QUALIFIED-WITH: alien.c-types c
|
QUALIFIED-WITH: alien.c-types c
|
||||||
SPECIALIZED-ARRAYS:
|
SPECIALIZED-ARRAYS:
|
||||||
c:char c:short c:int c:longlong
|
c:char c:short c:int c:longlong
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
USING: cords strings tools.test kernel sequences ;
|
USING: sequences.cords strings tools.test kernel sequences ;
|
||||||
IN: cords.tests
|
IN: sequences.cords.tests
|
||||||
|
|
||||||
[ "hello world" ] [ "hello" " world" cord-append dup like ] unit-test
|
[ "hello world" ] [ "hello" " world" cord-append dup like ] unit-test
|
||||||
[ "hello world" ] [ { "he" "llo" " world" } cord-concat dup like ] unit-test
|
[ "hello world" ] [ { "he" "llo" " world" } cord-concat dup like ] unit-test
|
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors assocs sequences sorting binary-search math
|
USING: accessors assocs sequences sorting binary-search math
|
||||||
math.order arrays combinators kernel ;
|
math.order arrays combinators kernel ;
|
||||||
IN: cords
|
IN: sequences.cords
|
||||||
|
|
||||||
<PRIVATE
|
<PRIVATE
|
||||||
|
|
Loading…
Reference in New Issue