Merge branch 'master' of git://factorcode.org/git/factor
commit
7814d4cbc8
|
@ -22,8 +22,8 @@ IN: io.unix.files.tests
|
|||
[ "/lib" ] [ "/" "../../lib" append-path ] unit-test
|
||||
[ "/lib/" ] [ "/" "../../lib/" append-path ] unit-test
|
||||
|
||||
{ [ "/lib" ] [ "/usr/" "/lib" append-path ] }
|
||||
{ [ "/lib/" ] [ "/usr/" "/lib/" append-path ] }
|
||||
{ [ "/lib/bux" ] [ "/usr" "/lib/bux" append-path ] }
|
||||
{ [ "/lib/bux/" ] [ "/usr" "/lib/bux/" append-path ] }
|
||||
{ [ t ] [ "/foo" absolute-path? ] }
|
||||
[ "/lib" ] [ "/usr/" "/lib" append-path ] unit-test
|
||||
[ "/lib/" ] [ "/usr/" "/lib/" append-path ] unit-test
|
||||
[ "/lib/bux" ] [ "/usr" "/lib/bux" append-path ] unit-test
|
||||
[ "/lib/bux/" ] [ "/usr" "/lib/bux/" append-path ] unit-test
|
||||
[ t ] [ "/foo" absolute-path? ] unit-test
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
USING: assocs kernel sequences ;
|
||||
IN: new-effects
|
||||
|
||||
: new-nth ( seq n -- elt )
|
||||
swap nth ; inline
|
||||
|
||||
: new-set-nth ( seq obj n -- seq )
|
||||
pick set-nth ; inline
|
||||
|
||||
: new-at ( assoc key -- elt )
|
||||
swap at ; inline
|
||||
|
||||
: new-at* ( assoc key -- elt ? )
|
||||
swap at* ; inline
|
||||
|
||||
: new-set-at ( assoc value key -- assoc )
|
||||
pick set-at ; inline
|
Loading…
Reference in New Issue