! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators
-concurrency.mailboxes fry io kernel make math math.parser
-math.text.english sequences threads ;
+USING: accessors arrays combinators concurrency.mailboxes io
+kernel make math math.parser math.text.english sequences
+splitting threads ;
IN: benchmark.chameneos-redux
SYMBOLS: red yellow blue ;
] if ;
: number>chameneos-string ( n -- string )
- number>string string>digits [ number>text ] { } map-as unwords ;
+ number>string string>digits [ number>text ] { } map-as join-words ;
: chameneos-redux ( n colors -- )
[ <meeting-place> ] [ make-creatures ] bi*