! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel present io math sequences assocs math.ranges
-math.order fry tools.time locals smalltalk.selectors
-smalltalk.ast smalltalk.classes ;
+USING: kernel present io math sequences assocs ranges
+math.order tools.time smalltalk.selectors smalltalk.ast ;
IN: smalltalk.library
SELECTOR: print
SELECTOR: to:
SELECTOR: to:do:
-M: object selector-to: swap [a,b] ;
+M: object selector-to: swap [a..b] ;
M:: object selector-to:do: ( to quot from -- nil )
- from to [a,b] [ quot call( i -- result ) drop ] each nil ;
+ from to [a..b] [ quot call( i -- result ) drop ] each nil ;
SELECTOR: value
SELECTOR: value: