IN: temporary USING: kernel math namespaces sequences strings test ; [ 5 ] [ "Hello" >sbuf length ] unit-test [ "Hello" ] [ 100 "buf" set "Hello" "buf" get swap nappend "buf" get clone "buf-clone" set "World" "buf-clone" get swap nappend "buf" get >string ] unit-test [ CHAR: h ] [ 0 SBUF" hello world" nth ] unit-test [ CHAR: H ] [ CHAR: H 0 SBUF" hello world" [ set-nth ] keep first ] unit-test [ SBUF" x" ] [ 1 CHAR: x >bignum over push ] unit-test