add usings
parent
4597cab824
commit
f64d511ca6
|
@ -64,8 +64,7 @@ ARTICLE: "sequences-add-remove" "Adding and removing sequence elements"
|
||||||
{ $subsection prefix }
|
{ $subsection prefix }
|
||||||
{ $subsection suffix }
|
{ $subsection suffix }
|
||||||
"Removing elements:"
|
"Removing elements:"
|
||||||
{ $subsection remove }
|
{ $subsection remove } ;
|
||||||
{ $subsection diff } ;
|
|
||||||
|
|
||||||
ARTICLE: "sequences-reshape" "Reshaping sequences"
|
ARTICLE: "sequences-reshape" "Reshaping sequences"
|
||||||
"A " { $emphasis "repetition" } " is a virtual sequence consisting of a single element repeated multiple times:"
|
"A " { $emphasis "repetition" } " is a virtual sequence consisting of a single element repeated multiple times:"
|
||||||
|
|
|
@ -54,3 +54,5 @@ HELP: union
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example "USING: sequences prettyprint ;" "{ 1 2 3 } { 2 3 4 } union ." "{ 1 2 3 4 }" }
|
{ $example "USING: sequences prettyprint ;" "{ 1 2 3 } { 2 3 4 } union ." "{ 1 2 3 4 }" }
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
{ diff intersect union } related-words
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
! Copyright (C) 2007 Slava Pestov.
|
! Copyright (C) 2007 Slava Pestov.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: io.files io.launcher io.styles io hashtables kernel
|
USING: io.files io.launcher io.styles io hashtables kernel
|
||||||
sequences sequences.lib assocs system sorting math.parser ;
|
sequences sequences.lib assocs system sorting math.parser
|
||||||
|
sets ;
|
||||||
IN: contributors
|
IN: contributors
|
||||||
|
|
||||||
: changelog ( -- authors )
|
: changelog ( -- authors )
|
||||||
|
|
|
@ -5,7 +5,7 @@ words strings classes tools.vocabs namespaces io
|
||||||
io.streams.string prettyprint definitions arrays vectors
|
io.streams.string prettyprint definitions arrays vectors
|
||||||
combinators splitting debugger hashtables sorting effects vocabs
|
combinators splitting debugger hashtables sorting effects vocabs
|
||||||
vocabs.loader assocs editors continuations classes.predicate
|
vocabs.loader assocs editors continuations classes.predicate
|
||||||
macros combinators.lib sequences.lib math ;
|
macros combinators.lib sequences.lib math sets ;
|
||||||
IN: help.lint
|
IN: help.lint
|
||||||
|
|
||||||
: check-example ( element -- )
|
: check-example ( element -- )
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: alien.c-types kernel math math.bitfields namespaces
|
USING: alien.c-types kernel math math.bitfields namespaces
|
||||||
locals accessors combinators threads vectors hashtables
|
locals accessors combinators threads vectors hashtables
|
||||||
sequences assocs continuations
|
sequences assocs continuations sets
|
||||||
unix unix.time unix.kqueue unix.process
|
unix unix.time unix.kqueue unix.process
|
||||||
io.nonblocking io.unix.backend io.launcher io.unix.launcher
|
io.nonblocking io.unix.backend io.launcher io.unix.launcher
|
||||||
io.monitors ;
|
io.monitors ;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
USING: kernel io.backend io.monitors io.monitors.recursive
|
USING: kernel io.backend io.monitors io.monitors.recursive
|
||||||
io.files io.buffers io.monitors io.nonblocking io.timeouts
|
io.files io.buffers io.monitors io.nonblocking io.timeouts
|
||||||
io.unix.backend io.unix.select unix.linux.inotify assocs
|
io.unix.backend io.unix.select unix.linux.inotify assocs
|
||||||
namespaces threads continuations init math math.bitfields
|
namespaces threads continuations init math math.bitfields sets
|
||||||
alien.c-types alien vocabs.loader accessors system hashtables ;
|
alien.c-types alien vocabs.loader accessors system hashtables ;
|
||||||
IN: io.unix.linux.monitors
|
IN: io.unix.linux.monitors
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
USING: arrays assocs hashtables assocs io kernel math
|
USING: arrays assocs hashtables assocs io kernel math
|
||||||
math.vectors math.matrices math.matrices.elimination namespaces
|
math.vectors math.matrices math.matrices.elimination namespaces
|
||||||
parser prettyprint sequences words combinators math.parser
|
parser prettyprint sequences words combinators math.parser
|
||||||
splitting sorting shuffle symbols ;
|
splitting sorting shuffle symbols sets ;
|
||||||
IN: koszul
|
IN: koszul
|
||||||
|
|
||||||
! Utilities
|
! Utilities
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
USING: kernel namespaces sequences sequences.private assocs math
|
USING: kernel namespaces sequences sequences.private assocs math
|
||||||
inference.transforms parser words quotations debugger macros
|
inference.transforms parser words quotations debugger macros
|
||||||
arrays macros splitting combinators prettyprint.backend
|
arrays macros splitting combinators prettyprint.backend
|
||||||
definitions prettyprint hashtables prettyprint.sections
|
definitions prettyprint hashtables prettyprint.sections sets
|
||||||
sequences.private effects generic compiler.units accessors ;
|
sequences.private effects generic compiler.units accessors ;
|
||||||
IN: locals
|
IN: locals
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
USING: combinators combinators.lib io locals kernel math
|
USING: combinators combinators.lib io locals kernel math
|
||||||
math.functions math.ranges namespaces random sequences
|
math.functions math.ranges namespaces random sequences
|
||||||
hashtables ;
|
hashtables sets ;
|
||||||
IN: math.miller-rabin
|
IN: math.miller-rabin
|
||||||
|
|
||||||
SYMBOL: a
|
SYMBOL: a
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (C) 2008 Joe Groff.
|
! Copyright (C) 2008 Joe Groff.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: kernel namespaces sequences splitting opengl.gl
|
USING: kernel namespaces sequences splitting opengl.gl
|
||||||
continuations math.parser math arrays ;
|
continuations math.parser math arrays sets ;
|
||||||
IN: opengl.capabilities
|
IN: opengl.capabilities
|
||||||
|
|
||||||
: (require-gl) ( thing require-quot make-error-quot -- )
|
: (require-gl) ( thing require-quot make-error-quot -- )
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2007 Aaron Schaefer, Daniel Ehrenberg.
|
! Copyright (c) 2007 Aaron Schaefer, Daniel Ehrenberg.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: hashtables kernel math math.ranges project-euler.common sequences
|
USING: hashtables kernel math math.ranges project-euler.common sequences
|
||||||
sorting ;
|
sorting sets ;
|
||||||
IN: project-euler.004
|
IN: project-euler.004
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=4
|
! http://projecteuler.net/index.php?section=problems&id=4
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: hashtables kernel math math.ranges project-euler.common sequences
|
USING: hashtables kernel math math.ranges project-euler.common sequences
|
||||||
sorting ;
|
sorting sets ;
|
||||||
IN: project-euler.023
|
IN: project-euler.023
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=23
|
! http://projecteuler.net/index.php?section=problems&id=23
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: hashtables kernel math.functions math.ranges project-euler.common
|
USING: hashtables kernel math.functions math.ranges project-euler.common
|
||||||
sequences ;
|
sequences sets ;
|
||||||
IN: project-euler.029
|
IN: project-euler.029
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=29
|
! http://projecteuler.net/index.php?section=problems&id=29
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: combinators.lib hashtables kernel math math.combinatorics math.functions
|
USING: combinators.lib hashtables kernel math math.combinatorics math.functions
|
||||||
math.parser math.ranges project-euler.common sequences ;
|
math.parser math.ranges project-euler.common sequences sets ;
|
||||||
IN: project-euler.032
|
IN: project-euler.032
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=32
|
! http://projecteuler.net/index.php?section=problems&id=32
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: kernel math math.combinatorics math.parser math.primes
|
USING: kernel math math.combinatorics math.parser math.primes
|
||||||
project-euler.common sequences sequences.lib ;
|
project-euler.common sequences sequences.lib sets ;
|
||||||
IN: project-euler.035
|
IN: project-euler.035
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=35
|
! http://projecteuler.net/index.php?section=problems&id=35
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: combinators.lib hashtables kernel math math.combinatorics math.parser
|
USING: combinators.lib hashtables kernel math math.combinatorics math.parser
|
||||||
math.ranges project-euler.common sequences sequences.lib sorting ;
|
math.ranges project-euler.common sequences sequences.lib sorting sets ;
|
||||||
IN: project-euler.043
|
IN: project-euler.043
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=43
|
! http://projecteuler.net/index.php?section=problems&id=43
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: arrays ascii assocs hashtables io.encodings.ascii io.files kernel math
|
USING: arrays ascii assocs hashtables io.encodings.ascii io.files kernel math
|
||||||
math.parser namespaces sequences sequences.lib sequences.private sorting
|
math.parser namespaces sequences sequences.lib sequences.private sorting
|
||||||
splitting strings ;
|
splitting strings sets ;
|
||||||
IN: project-euler.059
|
IN: project-euler.059
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=59
|
! http://projecteuler.net/index.php?section=problems&id=59
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
! Copyright (c) 2008 Aaron Schaefer.
|
! Copyright (c) 2008 Aaron Schaefer.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: assocs hashtables io.files kernel math math.parser namespaces
|
USING: assocs hashtables io.files kernel math math.parser namespaces
|
||||||
io.encodings.ascii sequences ;
|
io.encodings.ascii sequences sets ;
|
||||||
IN: project-euler.079
|
IN: project-euler.079
|
||||||
|
|
||||||
! http://projecteuler.net/index.php?section=problems&id=79
|
! http://projecteuler.net/index.php?section=problems&id=79
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
USING: kernel sequences assocs hashtables parser vocabs words namespaces
|
USING: kernel sequences assocs hashtables parser vocabs words namespaces
|
||||||
vocabs.loader debugger ;
|
vocabs.loader debugger sets ;
|
||||||
IN: qualified
|
IN: qualified
|
||||||
|
|
||||||
: define-qualified ( vocab-name prefix-name -- )
|
: define-qualified ( vocab-name prefix-name -- )
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
! Copyright (C) 2008 Alex Chapman
|
! Copyright (C) 2008 Alex Chapman
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors db.tuples hashtables kernel
|
USING: accessors db.tuples hashtables kernel sets
|
||||||
semantic-db semantic-db.relations sequences sequences.deep ;
|
semantic-db semantic-db.relations sequences sequences.deep ;
|
||||||
IN: semantic-db.hierarchy
|
IN: semantic-db.hierarchy
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
USING: io.files kernel io.encodings.utf8 vocabs.loader vocabs
|
USING: io.files kernel io.encodings.utf8 vocabs.loader vocabs
|
||||||
sequences namespaces math.parser arrays hashtables assocs
|
sequences namespaces math.parser arrays hashtables assocs
|
||||||
memoize inspector sorting splitting combinators source-files
|
memoize inspector sorting splitting combinators source-files
|
||||||
io debugger continuations compiler.errors init io.crc32 ;
|
io debugger continuations compiler.errors init io.crc32
|
||||||
|
sets ;
|
||||||
IN: tools.vocabs
|
IN: tools.vocabs
|
||||||
|
|
||||||
: vocab-tests-file ( vocab -- path )
|
: vocab-tests-file ( vocab -- path )
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
IN: ui.gadgets.tests
|
IN: ui.gadgets.tests
|
||||||
USING: ui.gadgets ui.gadgets.packs ui.gadgets.worlds tools.test
|
USING: ui.gadgets ui.gadgets.packs ui.gadgets.worlds tools.test
|
||||||
namespaces models kernel dlists math
|
namespaces models kernel dlists math sets
|
||||||
math.parser ui sequences hashtables assocs io arrays
|
math.parser ui sequences hashtables assocs io arrays
|
||||||
prettyprint io.streams.string ;
|
prettyprint io.streams.string ;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
USING: arrays assocs kernel math models namespaces
|
USING: arrays assocs kernel math models namespaces
|
||||||
sequences words strings system hashtables math.parser
|
sequences words strings system hashtables math.parser
|
||||||
math.vectors classes.tuple classes ui.gadgets boxes
|
math.vectors classes.tuple classes ui.gadgets boxes
|
||||||
calendar alarms symbols combinators ;
|
calendar alarms symbols combinators sets ;
|
||||||
IN: ui.gestures
|
IN: ui.gestures
|
||||||
|
|
||||||
: set-gestures ( class hash -- ) "gestures" set-word-prop ;
|
: set-gestures ( class hash -- ) "gestures" set-word-prop ;
|
||||||
|
|
|
@ -4,7 +4,7 @@ USING: arrays assocs io kernel math models namespaces
|
||||||
prettyprint dlists sequences threads sequences words
|
prettyprint dlists sequences threads sequences words
|
||||||
debugger ui.gadgets ui.gadgets.worlds ui.gadgets.tracks
|
debugger ui.gadgets ui.gadgets.worlds ui.gadgets.tracks
|
||||||
ui.gestures ui.backend ui.render continuations init combinators
|
ui.gestures ui.backend ui.render continuations init combinators
|
||||||
hashtables concurrency.flags ;
|
hashtables concurrency.flags sets ;
|
||||||
IN: ui
|
IN: ui
|
||||||
|
|
||||||
! Assoc mapping aliens to gadgets
|
! Assoc mapping aliens to gadgets
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
! Copyright (C) 2005, 2006 Daniel Ehrenberg
|
! Copyright (C) 2005, 2006 Daniel Ehrenberg
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: xml.errors xml.data xml.utilities xml.char-classes
|
USING: xml.errors xml.data xml.utilities xml.char-classes sets
|
||||||
xml.entities kernel state-parser kernel namespaces strings math
|
xml.entities kernel state-parser kernel namespaces strings math
|
||||||
math.parser sequences assocs arrays splitting combinators unicode.case ;
|
math.parser sequences assocs arrays splitting combinators unicode.case ;
|
||||||
IN: xml.tokenize
|
IN: xml.tokenize
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
USING: kernel strings assocs sequences hashtables sorting
|
USING: kernel strings assocs sequences hashtables sorting
|
||||||
unicode.case unicode.categories ;
|
unicode.case unicode.categories sets ;
|
||||||
IN: xmode.keyword-map
|
IN: xmode.keyword-map
|
||||||
|
|
||||||
! Based on org.gjt.sp.jedit.syntax.KeywordMap
|
! Based on org.gjt.sp.jedit.syntax.KeywordMap
|
||||||
|
|
Loading…
Reference in New Issue