From 96d543056491bfd71e65a093f4add5a6a5bb780d Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 19 Jan 2022 20:16:55 -0600 Subject: [PATCH] factor: trim using lists using code from https://paste.factorcode.org/paste?id=4353 --- basis/alien/c-types/c-types-docs.factor | 6 ++--- basis/alien/complex/functor/functor.factor | 2 +- basis/alien/data/data-docs.factor | 8 +++--- basis/alien/endian/endian.factor | 6 ++--- .../alien/libraries/finder/linux/linux.factor | 4 +-- .../libraries/finder/windows/windows.factor | 9 +++---- .../remote-control-tests.factor | 2 +- basis/alien/utilities/utilities.factor | 2 +- basis/atk/ffi/ffi.factor | 2 +- basis/base64/base64-docs.factor | 2 +- basis/binary-search/binary-search.factor | 4 +-- basis/bit-sets/bit-sets-docs.factor | 2 +- .../prettyprint/prettyprint.factor | 1 + basis/bitstreams/bitstreams-docs.factor | 2 +- basis/bloom-filters/bloom-filters.factor | 4 +-- basis/bootstrap/assembler/arm.64.factor | 2 +- basis/bootstrap/assembler/x86.32.factor | 2 +- .../bootstrap/assembler/x86.32.windows.factor | 2 +- basis/bootstrap/assembler/x86.64.factor | 2 +- basis/bootstrap/assembler/x86.factor | 4 +-- basis/bootstrap/assembler/x86.windows.factor | 2 +- .../image/primitives/primitives.factor | 2 +- basis/cairo/ffi/ffi.factor | 2 +- basis/calendar/calendar-docs.factor | 3 +-- basis/calendar/format/format.factor | 2 +- basis/calendar/windows/windows.factor | 4 +-- basis/cbor/cbor-tests.factor | 2 +- basis/channels/channels.factor | 3 +-- basis/channels/examples/examples.factor | 3 +-- basis/channels/remote/remote-docs.factor | 3 +-- basis/channels/remote/remote.factor | 6 ++--- basis/checksums/adler-32/adler-32.factor | 3 +-- basis/checksums/common/common.factor | 2 +- basis/checksums/crc16/crc16-docs.factor | 2 +- basis/checksums/fletcher/fletcher.factor | 3 +-- basis/checksums/fnv1/fnv1.factor | 3 +-- basis/checksums/hmac/hmac.factor | 6 ++--- basis/checksums/interleave/interleave.factor | 2 +- basis/checksums/md5/md5.factor | 4 +-- basis/checksums/metrohash/metrohash.factor | 6 +---- basis/checksums/murmur/murmur.factor | 2 +- basis/checksums/ripemd/ripemd.factor | 6 ++--- basis/checksums/sha/sha.factor | 6 ++--- basis/checksums/superfast/superfast.factor | 4 +-- basis/checksums/wyhash/wyhash.factor | 6 ++--- basis/checksums/xxhash/xxhash.factor | 6 ++--- basis/circular/circular-docs.factor | 3 +-- .../struct/prettyprint/prettyprint.factor | 11 ++++---- basis/cocoa/subclassing/subclassing.factor | 2 +- basis/cocoa/touchbar/touchbar.factor | 2 +- basis/colors/hsl/hsl-tests.factor | 2 +- basis/colors/hsl/hsl.factor | 3 +-- basis/colors/hsv/hsv.factor | 4 +-- basis/colors/hwb/hwb-tests.factor | 2 +- basis/colors/hwb/hwb.factor | 2 +- basis/colors/lab/lab-tests.factor | 2 +- basis/colors/lab/lab.factor | 2 +- basis/colors/lch/lch-tests.factor | 2 +- basis/colors/lch/lch.factor | 2 +- basis/colors/luv/luv-tests.factor | 2 +- basis/colors/luv/luv.factor | 2 +- basis/colors/mix/mix.factor | 2 +- basis/colors/ryb/ryb-tests.factor | 2 +- basis/colors/ryb/ryb.factor | 2 +- basis/colors/xyy/xyy.factor | 2 +- basis/colors/xyz/xyz-tests.factor | 2 +- basis/colors/xyz/xyz.factor | 2 +- basis/colors/yiq/yiq-tests.factor | 2 +- basis/colors/yiq/yiq.factor | 2 +- basis/colors/yuv/yuv.factor | 2 +- basis/combinators/random/random-docs.factor | 4 +-- basis/combinators/random/random.factor | 3 +-- .../short-circuit/smart/smart-docs.factor | 2 +- basis/combinators/smart/smart-tests.factor | 2 +- .../build-stack-frame.factor | 6 ++--- .../cfg/linear-scan/debugger/debugger.factor | 4 +-- .../cfg/value-numbering/simd/simd.factor | 3 +-- basis/compiler/test/test.factor | 2 +- basis/compiler/tree/debugger/debugger.factor | 20 +++++++------- .../tree/propagation/simd/simd.factor | 2 +- basis/compression/gzip/gzip.factor | 5 ++-- basis/compression/huffman/huffman.factor | 5 ++-- basis/compression/inflate/inflate.factor | 8 +++--- basis/compression/lzw/lzw.factor | 4 +-- .../compression/run-length/run-length.factor | 5 ++-- basis/compression/snappy/ffi/ffi.factor | 2 +- basis/compression/zlib/zlib-docs.factor | 2 +- basis/compression/zlib/zlib.factor | 7 +++-- .../exchangers/exchangers-docs.factor | 2 +- .../exchangers/exchangers-tests.factor | 2 +- basis/concurrency/flags/flags-tests.factor | 2 +- basis/concurrency/locks/locks-docs.factor | 3 +-- basis/concurrency/locks/locks-tests.factor | 2 +- .../semaphores/semaphores-docs.factor | 2 +- basis/constructors/constructors.factor | 5 ++-- .../core-foundation/fsevents/fsevents.factor | 2 +- basis/core-text/core-text-tests.factor | 2 +- basis/core-text/fonts/fonts.factor | 2 +- basis/couchdb/couchdb.factor | 4 +-- basis/cpu/ppc/assembler/assembler.factor | 3 +-- basis/csv/csv.factor | 5 ++-- basis/cuckoo-filters/cuckoo-filters.factor | 4 +-- basis/db/db.factor | 2 +- basis/db/pools/pools.factor | 3 +-- basis/db/postgresql/errors/errors.factor | 5 ++-- basis/db/queries/queries.factor | 6 ++--- basis/db/sqlite/errors/errors.factor | 3 +-- basis/db/sqlite/sqlite.factor | 2 +- basis/db/tester/tester.factor | 8 +++--- basis/db/tuples/tuples-docs.factor | 4 +-- basis/db/tuples/tuples.factor | 8 +++--- basis/dns/dns.factor | 4 +-- basis/escape-strings/escape-strings.factor | 2 +- basis/fixups/fixups.factor | 4 +-- basis/furnace/boilerplate/boilerplate.factor | 1 - basis/game/input/dinput/dinput.factor | 15 +++++------ basis/gdk/ffi/ffi.factor | 2 +- basis/gio/ffi/ffi.factor | 2 +- .../gobject-introspection.factor | 2 +- .../gobject-introspection/types/types.factor | 4 +-- basis/html/streams/streams.factor | 7 +++-- basis/html/templates/fhtml/fhtml.factor | 2 +- basis/http/client/post-data/post-data.factor | 4 +-- basis/http/http-docs.factor | 4 +-- basis/http/http.factor | 2 +- basis/http/parsers/parsers.factor | 5 ++-- basis/http/server/static/static.factor | 13 +++++----- basis/images/memory/memory.factor | 2 +- basis/images/processing/processing.factor | 5 ++-- basis/interval-sets/interval-sets.factor | 2 +- basis/inverse/inverse.factor | 4 +-- basis/io/encodings/8-bit/8-bit-docs.factor | 2 +- basis/io/encodings/8-bit/8-bit.factor | 2 +- basis/io/encodings/utf32/utf32-docs.factor | 2 +- basis/io/mmap/mmap-docs.factor | 5 ++-- basis/io/mmap/windows/windows.factor | 2 +- basis/io/pools/pools.factor | 4 +-- basis/io/servers/servers.factor | 12 ++++----- basis/json/reader/reader-docs.factor | 2 +- basis/lists/lazy/lazy-docs.factor | 3 +-- basis/lists/lazy/lazy.factor | 2 +- basis/logging/analysis/analysis-docs.factor | 2 +- basis/logging/insomniac/insomniac.factor | 5 ++-- basis/logging/logging-docs.factor | 4 +-- basis/logging/parser/parser-docs.factor | 2 +- basis/logging/server/server.factor | 3 +-- basis/match/match-docs.factor | 2 +- basis/match/match.factor | 3 +-- .../combinatorics/combinatorics-docs.factor | 3 ++- basis/math/floats/env/env-docs.factor | 2 +- basis/math/floats/env/env.factor | 6 ++--- basis/math/floats/env/x86/64/64.factor | 2 +- basis/math/matrices/matrices-docs.factor | 6 ++--- basis/math/matrices/matrices.factor | 9 +++---- basis/math/polynomials/polynomials.factor | 4 +-- basis/math/primes/erato/erato.factor | 2 +- basis/math/primes/erato/fast/fast.factor | 6 ++--- .../primes/lucas-lehmer/lucas-lehmer.factor | 4 +-- .../miller-rabin/miller-rabin-docs.factor | 3 ++- .../primes/miller-rabin/miller-rabin.factor | 2 +- basis/math/primes/primes.factor | 2 +- .../math/quaternions/quaternions-docs.factor | 2 +- basis/math/quaternions/quaternions.factor | 2 +- .../vectors/conversion/conversion-docs.factor | 2 +- .../vectors/simd/intrinsics/intrinsics.factor | 4 +-- basis/math/vectors/simd/simd-docs.factor | 4 +-- basis/math/vectors/simd/simd.factor | 11 ++++---- basis/method-chains/method-chains.factor | 2 +- basis/multiline/multiline.factor | 4 +-- basis/nmake/nmake.factor | 4 +-- .../stylesheet/stylesheet-docs.factor | 2 +- .../prettyprint/stylesheet/stylesheet.factor | 4 +-- basis/promises/promises.factor | 2 +- basis/random/random-docs.factor | 4 +-- basis/roman/roman-docs.factor | 2 +- basis/roman/roman.factor | 4 +-- .../complex-components.factor | 4 +-- basis/sequences/complex/complex.factor | 3 +-- basis/sequences/cords/cords.factor | 5 ++-- basis/sequences/parser/parser.factor | 6 ++--- basis/sequences/unrolled/unrolled-docs.factor | 3 +-- basis/sequences/unrolled/unrolled.factor | 4 +-- basis/sequences/windowed/windowed.factor | 4 +-- basis/serialize/serialize.factor | 8 +++--- basis/smtp/smtp.factor | 2 +- basis/sorting/functor/functor.factor | 2 +- basis/sorting/human/human-docs.factor | 3 +-- basis/sorting/human/human.factor | 2 +- .../tools/deprecation/deprecation-docs.factor | 2 +- basis/ui/gestures/gestures.factor | 4 +-- basis/ui/text/pango/pango.factor | 2 +- basis/ui/tools/browser/browser.factor | 4 +-- basis/uuid/uuid-docs.factor | 3 +-- basis/uuid/uuid.factor | 5 ++-- basis/vocabs/prettyprint/prettyprint.factor | 2 +- basis/windows/ddk/winusb/winusb.factor | 2 +- basis/windows/directx/xinput/xinput.factor | 2 +- basis/windows/dropfiles/dropfiles.factor | 4 +-- basis/windows/hardware/hardware.factor | 6 ++--- basis/windows/iphlpapi/iphlpapi.factor | 9 +++---- basis/windows/privileges/privileges.factor | 5 ++-- basis/wrap/strings/strings.factor | 2 +- basis/xml/char-classes/char-classes.factor | 2 +- basis/xml/data/data.factor | 4 +-- basis/xml/dtd/dtd.factor | 5 ++-- basis/xml/elements/elements.factor | 7 +++-- basis/xml/entities/entities.factor | 3 +-- basis/xml/name/name.factor | 6 ++--- basis/xml/state/state.factor | 2 +- basis/xml/syntax/inverse/inverse.factor | 6 ++--- basis/xml/syntax/syntax-tests.factor | 2 +- basis/xml/syntax/syntax.factor | 11 ++++---- basis/xml/tokenize/tokenize.factor | 8 +++--- basis/xml/traversal/traversal.factor | 5 ++-- basis/xml/writer/writer-docs.factor | 2 +- basis/xmode/keyword-map/keyword-map.factor | 3 +-- basis/xmode/rules/rules.factor | 5 ++-- basis/xmode/tokens/tokens.factor | 4 +-- basis/xmode/utilities/utilities.factor | 5 ++-- extra/24-game/24-game.factor | 2 +- .../cxx/demangle/libstdcxx/libstdcxx.factor | 2 +- extra/alien/cxx/scaffold/scaffold.factor | 2 +- extra/alien/data/map/map.factor | 6 ++--- extra/alien/fortran/fortran-docs.factor | 2 +- extra/alien/fortran/fortran.factor | 15 +++++------ extra/annotations/annotations-docs.factor | 6 ++--- extra/annotations/annotations.factor | 5 ++-- extra/audio/aiff/aiff.factor | 6 ++--- extra/audio/audio.factor | 2 +- extra/audio/engine/engine.factor | 8 +++--- extra/audio/loader/loader.factor | 3 +-- extra/backtrack/backtrack.factor | 2 +- extra/bank/bank.factor | 2 +- extra/base24/base24.factor | 2 +- extra/base32/base32.factor | 2 +- extra/base36/base36.factor | 5 ++-- extra/base62/base62.factor | 4 +-- extra/base91/base91.factor | 2 +- .../3d-matrix-vector/3d-matrix-vector.factor | 5 ++-- extra/benchmark/backtrack/backtrack.factor | 5 ++-- extra/benchmark/benchmark.factor | 4 +-- extra/benchmark/beust2/beust2.factor | 2 +- extra/benchmark/crc32/crc32.factor | 2 +- extra/benchmark/dispatch1/dispatch1.factor | 2 +- extra/benchmark/dispatch2/dispatch2.factor | 2 +- extra/benchmark/dispatch3/dispatch3.factor | 2 +- extra/benchmark/dispatch4/dispatch4.factor | 3 +-- extra/benchmark/dispatch5/dispatch5.factor | 2 +- extra/benchmark/dispatch6/dispatch6.factor | 3 +-- extra/benchmark/e-decimals/e-decimals.factor | 3 +-- extra/benchmark/e-ratios/e-ratios.factor | 2 +- .../empty-loop-0/empty-loop-0.factor | 2 +- .../empty-loop-1/empty-loop-1.factor | 2 +- .../empty-loop-2/empty-loop-2.factor | 2 +- extra/benchmark/fannkuch/fannkuch.factor | 2 +- extra/benchmark/fasta/fasta.factor | 2 +- extra/benchmark/fib1/fib1.factor | 2 +- extra/benchmark/fib2/fib2.factor | 2 +- extra/benchmark/fib3/fib3.factor | 2 +- extra/benchmark/fib4/fib4.factor | 2 +- extra/benchmark/fib5/fib5.factor | 2 +- extra/benchmark/fib7/fib7.factor | 2 +- extra/benchmark/find-pi/find-pi.factor | 2 +- extra/benchmark/gc3/gc3.factor | 2 +- extra/benchmark/hash-sets/hash-sets.factor | 2 +- extra/benchmark/hashtables/hashtables.factor | 4 +-- .../interval-sets/interval-sets.factor | 2 +- .../benchmark/knucleotide/knucleotide.factor | 6 ++--- .../linked-assocs/linked-assocs.factor | 3 +-- extra/benchmark/mandel/colors/colors.factor | 4 +-- extra/benchmark/mt/mt.factor | 2 +- extra/benchmark/nbody-simd/nbody-simd.factor | 7 +++-- .../benchmark/nsieve-bits/nsieve-bits.factor | 2 +- .../partial-sums/partial-sums.factor | 4 +-- extra/benchmark/pidigits/pidigits.factor | 5 ++-- .../raytracer-simd/raytracer-simd.factor | 6 ++--- extra/benchmark/regexp/regexp.factor | 3 +-- .../reverse-complement.factor | 6 ++--- extra/brainfuck/brainfuck.factor | 2 +- extra/calendar/holidays/holidays.factor | 2 +- extra/changer/changer.factor | 2 +- extra/checksums/multi/multi-docs.factor | 2 +- extra/checksums/multi/multi.factor | 2 +- extra/checksums/process/process-docs.factor | 2 +- extra/ci/docker/docker.factor | 2 +- extra/classes/struct/vectored/vectored.factor | 4 +-- .../change-tracking/change-tracking.factor | 2 +- extra/cli/git/git.factor | 2 +- extra/codebook/codebook.factor | 15 +++++------ extra/colors/distances/distances.factor | 2 +- extra/colors/flex-hex/flex-hex.factor | 4 +-- extra/compiler/cfg/gvn/alien/alien.factor | 16 ++++-------- extra/compiler/cfg/gvn/avail/avail.factor | 14 +++------- .../cfg/gvn/expressions/expressions.factor | 4 +-- extra/compiler/cfg/gvn/graph/graph.factor | 2 +- extra/compiler/cfg/gvn/gvn.factor | 26 +++++-------------- extra/compiler/cfg/gvn/math/math.factor | 14 ++++------ extra/compiler/cfg/gvn/misc/misc.factor | 7 ++--- extra/compiler/cfg/gvn/simd/simd.factor | 20 +++++--------- extra/compiler/cfg/gvn/slots/slots.factor | 3 +-- extra/cpu/8080/8080.factor | 2 +- extra/crontab/crontab.factor | 3 +-- extra/crypto/aes/utils/utils.factor | 4 +-- .../crypto/passwd-md5/passwd-md5-docs.factor | 3 +-- extra/crypto/passwd-md5/passwd-md5.factor | 5 ++-- extra/ctags/etags/etags-docs.factor | 2 +- extra/cuda/cuda.factor | 8 +----- extra/cuda/demos/prefix-sum/prefix-sum.factor | 2 +- extra/cuda/devices/devices.factor | 7 +++-- extra/cuda/memory/memory.factor | 6 ++--- extra/cuda/nvcc/nvcc.factor | 5 ++-- extra/dbf/dbf.factor | 11 ++++---- extra/descriptive/descriptive.factor | 8 +++--- extra/dice/dice.factor | 2 +- extra/digraphs/digraphs.factor | 2 +- extra/ecdsa/ecdsa.factor | 2 +- extra/euler/b-rep/b-rep.factor | 6 ++--- extra/fftw/ffi/ffi.factor | 2 +- extra/fftw/fftw.factor | 5 ++-- extra/file-monitor/file-monitor.factor | 2 +- extra/fjsc/fjsc.factor | 2 +- extra/fluids/fluids.factor | 12 ++++----- extra/game/loop/loop-docs.factor | 2 +- .../game/loop/prettyprint/prettyprint.factor | 1 + extra/game/worlds/worlds-docs.factor | 4 +-- extra/game/worlds/worlds.factor | 3 ++- extra/gpu/buffers/buffers-docs.factor | 4 +-- extra/gpu/buffers/buffers.factor | 2 +- .../shaders/prettyprint/prettyprint.factor | 1 + extra/gpu/shaders/shaders.factor | 14 +++++----- extra/gpu/textures/textures.factor | 4 +-- extra/html/elements/elements.factor | 5 +--- extra/html/parser/analyzer/analyzer.factor | 6 ++--- extra/html/parser/parser.factor | 6 ++--- extra/http2/hpack/hpack-docs.factor | 2 +- extra/http2/hpack/hpack.factor | 6 ++--- extra/http2/server/server.factor | 6 ++--- extra/icfp/2006/2006.factor | 5 ++-- extra/id3/id3.factor | 12 ++++----- extra/images/atlas/atlas.factor | 5 ++-- extra/images/gif/gif-docs.factor | 2 +- extra/images/gif/gif.factor | 7 +++-- extra/images/tiff/tiff.factor | 2 +- extra/images/viewer/viewer.factor | 2 +- extra/io/encodings/detect/detect.factor | 2 +- extra/irc/client/client-docs.factor | 4 +-- extra/irc/client/client.factor | 5 ++-- extra/irc/client/internals/internals.factor | 9 ++++--- extra/irc/messages/parser/parser.factor | 4 +-- extra/jamshred/game/game.factor | 3 ++- extra/jamshred/jamshred.factor | 6 ++--- extra/jamshred/oint/oint.factor | 3 ++- extra/jamshred/player/player.factor | 9 +++---- extra/jamshred/tunnel/tunnel.factor | 8 +++--- extra/macho/macho.factor | 2 +- extra/math/blas/matrices/matrices.factor | 13 ++++------ extra/math/combinatorics/bits/bits.factor | 2 +- extra/math/dual/dual-docs.factor | 3 ++- extra/math/dual/dual.factor | 7 +++-- extra/math/extras/extras-docs.factor | 3 ++- extra/math/extras/extras.factor | 13 +++++----- extra/math/factorials/factorials.factor | 4 +-- extra/math/finance/finance.factor | 2 +- .../math/function-tools/function-tools.factor | 2 +- .../elimination/elimination-docs.factor | 2 +- .../matrices/elimination/elimination.factor | 4 +-- extra/math/matrices/extras/extras.factor | 8 +++--- extra/math/matrices/laplace/laplace.factor | 4 +-- extra/math/matrices/simd/simd.factor | 6 ++--- .../solovay-strassen/solovay-strassen.factor | 4 +-- extra/math/quadratic/quadratic.factor | 2 +- .../math/runge-kutta/examples/examples.factor | 5 ++-- extra/math/runge-kutta/runge-kutta.factor | 4 +-- extra/math/secant-method/secant-method.factor | 2 +- extra/math/splines/splines.factor | 6 ++--- extra/math/splines/testing/testing.factor | 2 +- extra/math/splines/viewer/viewer.factor | 4 +-- extra/math/text/english/english.factor | 6 ++--- extra/math/text/french/french.factor | 2 +- extra/math/text/utils/utils.factor | 2 +- extra/math/transforms/bwt/bwt.factor | 4 +-- extra/math/transforms/fft/fft.factor | 4 +-- extra/math/unicode/unicode.factor | 5 ++-- extra/modern/paths/paths.factor | 5 ++-- extra/monads/monads.factor | 4 +-- extra/mongodb/benchmark/benchmark.factor | 9 +++---- extra/mongodb/mongodb-docs.factor | 2 +- extra/mongodb/tuple/state/state.factor | 4 +-- extra/morse/morse.factor | 7 +++-- extra/msxml-to-csv/msxml-to-csv.factor | 3 +-- extra/nehe/3/3.factor | 4 +-- extra/nehe/4/4.factor | 6 ++--- extra/nehe/5/5.factor | 6 ++--- extra/openal/alut/alut.factor | 9 +++---- extra/openal/alut/backend/backend.factor | 2 +- extra/openal/alut/other/other.factor | 2 +- extra/openal/openal.factor | 7 +++-- extra/opencl/ffi/ffi.factor | 5 ++-- extra/opengl/demo-support/demo-support.factor | 6 ++--- extra/pdf/values/values.factor | 7 +++-- extra/project-euler/023/023.factor | 2 +- extra/project-euler/035/035.factor | 3 +-- extra/project-euler/038/038.factor | 3 +-- extra/project-euler/040/040.factor | 2 +- extra/project-euler/041/041.factor | 2 +- extra/project-euler/042/042.factor | 2 +- extra/project-euler/044/044.factor | 4 +-- extra/project-euler/046/046.factor | 2 +- extra/project-euler/049/049.factor | 4 +-- extra/project-euler/050/050.factor | 2 +- extra/project-euler/051/051.factor | 2 +- extra/project-euler/055/055.factor | 2 +- extra/project-euler/057/057.factor | 3 +-- extra/project-euler/058/058.factor | 3 ++- extra/project-euler/059/059.factor | 6 ++--- extra/project-euler/060/060.factor | 2 +- extra/project-euler/064/064.factor | 5 ++-- extra/project-euler/067/067.factor | 2 +- extra/project-euler/069/069.factor | 2 +- extra/project-euler/072/072.factor | 3 +-- extra/project-euler/073/073.factor | 2 +- extra/project-euler/076/076.factor | 2 +- extra/project-euler/081/081.factor | 5 ++-- extra/project-euler/085/085.factor | 2 +- extra/project-euler/087/087.factor | 2 +- extra/project-euler/100/100.factor | 2 +- extra/project-euler/112/112.factor | 2 +- extra/project-euler/117/117.factor | 2 +- extra/project-euler/134/134.factor | 4 +-- extra/project-euler/150/150.factor | 2 +- extra/project-euler/169/169.factor | 2 +- extra/project-euler/175/175.factor | 3 ++- extra/project-euler/190/190.factor | 2 +- extra/project-euler/203/203.factor | 2 +- extra/project-euler/206/206.factor | 4 +-- extra/project-euler/215/215.factor | 2 +- extra/project-euler/255/255.factor | 3 +-- .../ave-time/ave-time-docs.factor | 3 +-- extra/project-euler/ave-time/ave-time.factor | 2 +- extra/project-euler/common/common.factor | 2 +- extra/protocols/tftp/tftp.factor | 2 +- extra/punycode/punycode.factor | 11 +++----- extra/python/ffi/ffi.factor | 3 +-- extra/quadtrees/quadtrees.factor | 4 +-- extra/qw/qw-docs.factor | 2 +- extra/qw/qw.factor | 2 +- .../blum-blum-shub/blum-blum-shub.factor | 3 +-- extra/random/cmwc/cmwc.factor | 4 +-- .../lagged-fibonacci/lagged-fibonacci.factor | 5 ++-- extra/raylib/demo/demo.factor | 3 +-- extra/raylib/demo/gui/gui.factor | 4 +-- .../demo/mesh-picking/mesh-picking.factor | 8 +++--- extra/redis/assoc/assoc.factor | 2 +- extra/reports/noise/noise.factor | 3 +-- extra/robots/robots.factor | 2 +- extra/rocksdb/rocksdb.factor | 2 -- extra/roles/roles-docs.factor | 2 +- extra/roles/roles.factor | 7 +++-- .../roms/space-invaders/space-invaders.factor | 2 +- .../active-object/active-object.factor | 4 +-- .../align-columns/align-columns.factor | 3 +-- .../balanced-brackets.factor | 2 +- .../bitmap-bezier/bitmap-bezier.factor | 5 ++-- .../bitmap-line/bitmap-line.factor | 4 +-- extra/rosetta-code/bitmap/bitmap.factor | 2 +- .../bulls-and-cows/bulls-and-cows.factor | 5 ++-- .../equilibrium-index.factor | 2 +- .../happy-numbers/happy-numbers.factor | 2 +- .../image-noise/image-noise.factor | 3 +-- extra/rosetta-code/luhn-test/luhn-test.factor | 2 +- .../rosetta-code/multisplit/multisplit.factor | 2 +- extra/rosetta-code/n-queens/n-queens.factor | 2 +- extra/rosetta-code/odd-word/odd-word.factor | 2 +- .../one-d-cellular/one-d-cellular.factor | 2 +- .../ordered-words/ordered-words.factor | 2 +- .../pascals-triangle/pascals-triangle.factor | 2 +- .../probabilistic-choice.factor | 4 +-- .../rosetta-code/raycasting/raycasting.factor | 2 +- .../max-licenses/max-licenses.factor | 2 +- .../towers-of-hanoi/towers-of-hanoi.factor | 2 +- .../tree-traversal/tree-traversal.factor | 2 +- .../y-combinator/y-combinator.factor | 2 +- extra/rot13/rot13.factor | 2 +- extra/ryu/ryu-docs.factor | 2 +- extra/ryu/ryu.factor | 2 +- extra/s3/s3.factor | 2 +- .../semantic-versioning-docs.factor | 2 +- extra/semver/semver.factor | 8 +++--- extra/sequences/inserters/inserters.factor | 2 +- extra/sequences/modified/modified.factor | 3 +-- extra/sequences/n-based/n-based-docs.factor | 2 +- extra/sequences/padded/padded.factor | 3 +-- extra/sequences/repeating/repeating.factor | 2 +- extra/sequences/squish/squish.factor | 2 +- extra/sequences/zipped/zipped.factor | 3 +-- extra/sets/extras/extras.factor | 4 +-- extra/shapefiles/shapefiles.factor | 2 +- extra/site-watcher/db/db.factor | 6 ++--- extra/site-watcher/email/email.factor | 2 +- extra/site-watcher/site-watcher.factor | 7 +++-- extra/slides/slides.factor | 8 +++--- extra/slots/macros/macros.factor | 5 ++-- extra/smalltalk/ast/ast.factor | 3 +-- extra/smalltalk/compiler/compiler.factor | 4 +-- extra/smalltalk/compiler/return/return.factor | 4 +-- extra/smalltalk/library/library.factor | 3 +-- extra/smalltalk/listener/listener.factor | 5 ++-- extra/smalltalk/selectors/selectors.factor | 2 +- extra/snake-game/game/game.factor | 2 +- extra/snake-game/sprites/sprites.factor | 4 +-- extra/snake-game/ui/ui.factor | 2 +- extra/sorting/bubble/bubble.factor | 2 +- extra/sorting/extras/extras.factor | 4 +-- extra/sorting/heap/heap.factor | 2 +- extra/sorting/quick/quick.factor | 4 +-- extra/spelling/spelling.factor | 6 ++--- extra/spheres/spheres.factor | 9 +++---- extra/spider/report/report.factor | 5 ++-- extra/spider/spider-docs.factor | 3 +-- extra/spider/spider.factor | 12 ++++----- extra/spider/unique-deque/unique-deque.factor | 2 +- extra/successor/successor.factor | 2 +- extra/svg/svg.factor | 2 +- extra/synth/example/example.factor | 2 +- extra/synth/synth.factor | 3 ++- extra/syslog/syslog.factor | 4 +-- extra/tar/tar.factor | 3 +-- extra/taxes/usa/federal/federal.factor | 5 ++-- extra/taxes/usa/futa/futa.factor | 3 +-- extra/taxes/usa/mn/mn.factor | 4 +-- extra/taxes/usa/usa.factor | 4 +-- extra/taxes/usa/w4/w4.factor | 2 +- extra/tensors/demos/demos.factor | 2 +- .../tensors/tensor-slice/tensor-slice.factor | 2 +- extra/tensors/tensors.factor | 4 +-- extra/terminal/windows/windows.factor | 3 +-- extra/terrain/terrain.factor | 18 ++++++------- extra/tetris/board/board.factor | 2 +- extra/tetris/game/game.factor | 2 +- extra/tetris/tetris.factor | 7 +++-- extra/tetris/tetromino/tetromino.factor | 3 +-- extra/text-analysis/text-analysis.factor | 2 +- extra/text-to-pdf/text-to-pdf.factor | 5 ++-- extra/text-to-speech/linux/linux.factor | 3 +-- extra/time-server/time-server.factor | 2 +- extra/time/time.factor | 2 +- extra/time/windows/windows.factor | 4 +-- extra/tokyo/alien/tcadb/tcadb.factor | 5 ++-- extra/tokyo/alien/tcbdb/tcbdb.factor | 4 +-- extra/tokyo/alien/tcfdb/tcfdb.factor | 6 ++--- extra/tokyo/alien/tchdb/tchdb.factor | 3 +-- extra/tokyo/alien/tcrdb/tcrdb.factor | 3 +-- extra/tokyo/alien/tctdb/tctdb.factor | 4 +-- extra/tokyo/alien/tcutil/tcutil.factor | 2 +- .../tokyo/assoc-functor/assoc-functor.factor | 2 +- extra/tokyo/utils/utils.factor | 2 +- extra/tools/cat/cat.factor | 2 +- .../directory-to-file.factor | 8 +++--- extra/tools/time/struct/struct.factor | 2 +- extra/ui/gadgets/charts/lines/lines.factor | 2 +- extra/usa-cities/usa-cities.factor | 6 ++--- extra/web-services/github/github.factor | 2 +- extra/windows/comdlg32/comdlg32.factor | 5 ++-- extra/zealot/factor/factor.factor | 16 ++++++------ extra/zealot/help-lint/help-lint.factor | 2 +- extra/zealot/zealot.factor | 2 +- 566 files changed, 977 insertions(+), 1210 deletions(-) diff --git a/basis/alien/c-types/c-types-docs.factor b/basis/alien/c-types/c-types-docs.factor index 909cec80a7..4602f7021d 100644 --- a/basis/alien/c-types/c-types-docs.factor +++ b/basis/alien/c-types/c-types-docs.factor @@ -1,7 +1,5 @@ -USING: alien help.syntax help.markup libc kernel.private -byte-arrays strings hashtables alien.syntax alien.strings -sequences io.encodings.string debugger destructors vocabs.loader -classes.struct math kernel ; +USING: alien alien.syntax byte-arrays classes.struct help.markup +help.syntax kernel math sequences ; IN: alien.c-types HELP: heap-size diff --git a/basis/alien/complex/functor/functor.factor b/basis/alien/complex/functor/functor.factor index 26f4c60419..a28002b8de 100644 --- a/basis/alien/complex/functor/functor.factor +++ b/basis/alien/complex/functor/functor.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.c-types classes.struct functors -kernel math math.functions quotations ; +kernel math quotations ; IN: alien.complex.functor c-array diff --git a/basis/alien/endian/endian.factor b/basis/alien/endian/endian.factor index 518447efc7..a8b75c77ae 100644 --- a/basis/alien/endian/endian.factor +++ b/basis/alien/endian/endian.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2011 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.accessors alien.c-types alien.data arrays -classes.struct.private combinators compiler.units endian fry -generalizations kernel macros math math.bitwise namespaces -sequences slots words ; +classes.struct.private combinators compiler.units endian +generalizations kernel math math.bitwise namespaces sequences +slots words ; QUALIFIED-WITH: alien.c-types c IN: alien.endian diff --git a/basis/alien/libraries/finder/linux/linux.factor b/basis/alien/libraries/finder/linux/linux.factor index 528e8771f9..835cc54666 100644 --- a/basis/alien/libraries/finder/linux/linux.factor +++ b/basis/alien/libraries/finder/linux/linux.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2013 Björn Lindqvist, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license USING: alien.libraries.finder arrays assocs -combinators.short-circuit environment fry io io.encodings.utf8 -io.launcher kernel locals make sequences sets splitting system +combinators.short-circuit environment io io.encodings.utf8 +io.launcher kernel make sequences sets splitting system unicode ; IN: alien.libraries.finder.linux diff --git a/basis/alien/libraries/finder/windows/windows.factor b/basis/alien/libraries/finder/windows/windows.factor index 4c6586f719..4db441a0db 100644 --- a/basis/alien/libraries/finder/windows/windows.factor +++ b/basis/alien/libraries/finder/windows/windows.factor @@ -1,14 +1,13 @@ ! Copyright (C) 2013 Björn Lindqvist, John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: alien.data alien.libraries.finder alien.strings arrays -byte-arrays combinators.short-circuit environment io.backend -io.files io.files.info io.pathnames kernel sequences +USING: alien.c-types alien.data alien.libraries.finder +alien.strings arrays combinators.short-circuit environment +io.backend io.files io.files.info io.pathnames kernel sequences specialized-arrays splitting system system-info.windows -windows.kernel32 windows.types ; +windows.kernel32 ; FROM: alien.c-types => ushort ; SPECIALIZED-ARRAY: ushort - IN: alien.libraries.finder.windows > diff --git a/basis/base64/base64-docs.factor b/basis/base64/base64-docs.factor index 6d3928efe6..e474cd8437 100644 --- a/basis/base64/base64-docs.factor +++ b/basis/base64/base64-docs.factor @@ -1,4 +1,4 @@ -USING: help.markup help.syntax kernel math sequences ; +USING: help.markup help.syntax sequences ; IN: base64 HELP: >base64 diff --git a/basis/binary-search/binary-search.factor b/basis/binary-search/binary-search.factor index d5a24e08fa..6de32d8f7a 100644 --- a/basis/binary-search/binary-search.factor +++ b/basis/binary-search/binary-search.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators kernel locals math -math.order sequences sequences.private vectors ; +USING: arrays combinators kernel math math.order sequences +sequences.private vectors ; IN: binary-search pprint-sequence ; M: bit-vector pprint-delims drop \ ?V{ \ } ; diff --git a/basis/bitstreams/bitstreams-docs.factor b/basis/bitstreams/bitstreams-docs.factor index cc69a7a501..40a9ce3a7c 100644 --- a/basis/bitstreams/bitstreams-docs.factor +++ b/basis/bitstreams/bitstreams-docs.factor @@ -1,4 +1,4 @@ -USING: help.markup help.syntax kernel strings math byte-arrays accessors ; +USING: help.markup help.syntax kernel math byte-arrays accessors ; IN: bitstreams diff --git a/basis/bloom-filters/bloom-filters.factor b/basis/bloom-filters/bloom-filters.factor index 147e8bba44..1296f8e408 100644 --- a/basis/bloom-filters/bloom-filters.factor +++ b/basis/bloom-filters/bloom-filters.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Alec Berryman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays bit-arrays fry kernel kernel.private -layouts locals math math.functions math.order math.private +USING: accessors arrays bit-arrays kernel kernel.private +layouts math math.functions math.order math.private ranges multiline sequences sequences.private typed ; IN: bloom-filters diff --git a/basis/bootstrap/assembler/arm.64.factor b/basis/bootstrap/assembler/arm.64.factor index 1ac18aa3f7..fb1315b2bc 100644 --- a/basis/bootstrap/assembler/arm.64.factor +++ b/basis/bootstrap/assembler/arm.64.factor @@ -3,7 +3,7 @@ USING: bootstrap.image.private compiler.codegen.relocation compiler.constants compiler.units cpu.arm.assembler cpu.arm.assembler.opcodes generic.single.private -kernel kernel.private layouts locals locals.backend +kernel kernel.private layouts locals.backend math math.private memory namespaces sequences slots.private strings.private threads.private vocabs ; IN: bootstrap.arm diff --git a/basis/bootstrap/assembler/x86.32.factor b/basis/bootstrap/assembler/x86.32.factor index 3926645359..e54734f312 100644 --- a/basis/bootstrap/assembler/x86.32.factor +++ b/basis/bootstrap/assembler/x86.32.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: bootstrap.image.private compiler.codegen.relocation compiler.constants cpu.x86.assembler cpu.x86.assembler.operands -generic.single.private kernel kernel.private layouts locals math +generic.single.private kernel kernel.private layouts math math.private namespaces threads.private ; IN: bootstrap.x86 diff --git a/basis/bootstrap/assembler/x86.32.windows.factor b/basis/bootstrap/assembler/x86.32.windows.factor index e3e7af531b..fab7539420 100644 --- a/basis/bootstrap/assembler/x86.32.windows.factor +++ b/basis/bootstrap/assembler/x86.32.windows.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: compiler.codegen.relocation compiler.constants cpu.x86.assembler -cpu.x86.assembler.operands kernel kernel.private layouts locals parser +cpu.x86.assembler.operands kernel kernel.private layouts parser sequences ; IN: bootstrap.x86 diff --git a/basis/bootstrap/assembler/x86.64.factor b/basis/bootstrap/assembler/x86.64.factor index 5fb01a89da..c17fb2b89f 100644 --- a/basis/bootstrap/assembler/x86.64.factor +++ b/basis/bootstrap/assembler/x86.64.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: bootstrap.image.private compiler.codegen.relocation compiler.constants cpu.x86.assembler cpu.x86.assembler.operands -generic.single.private kernel kernel.private layouts locals math +generic.single.private kernel kernel.private layouts math math.private namespaces threads.private ; IN: bootstrap.x86 diff --git a/basis/bootstrap/assembler/x86.factor b/basis/bootstrap/assembler/x86.factor index c53f463ee9..32b2bd6e01 100644 --- a/basis/bootstrap/assembler/x86.factor +++ b/basis/bootstrap/assembler/x86.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: bootstrap.image.private compiler.codegen.relocation compiler.constants compiler.units cpu.x86.assembler -cpu.x86.assembler.operands kernel kernel.private layouts locals -locals.backend math math.private memory namespaces sequences +cpu.x86.assembler.operands kernel kernel.private layouts +locals.backend math math.private namespaces sequences slots.private strings.private vocabs ; IN: bootstrap.x86 diff --git a/basis/bootstrap/assembler/x86.windows.factor b/basis/bootstrap/assembler/x86.windows.factor index abc6cfa34f..5155b17db7 100644 --- a/basis/bootstrap/assembler/x86.windows.factor +++ b/basis/bootstrap/assembler/x86.windows.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: compiler.constants cpu.x86.assembler -cpu.x86.assembler.operands layouts locals ; +cpu.x86.assembler.operands layouts ; IN: bootstrap.x86 : tib-exception-list-offset ( -- n ) 0 bootstrap-cells ; diff --git a/basis/bootstrap/image/primitives/primitives.factor b/basis/bootstrap/image/primitives/primitives.factor index f9c9bc7680..4514ae67bb 100644 --- a/basis/bootstrap/image/primitives/primitives.factor +++ b/basis/bootstrap/image/primitives/primitives.factor @@ -1,5 +1,5 @@ USING: alien alien.strings arrays assocs byte-arrays -io.encodings.ascii kernel kernel.private locals math quotations +io.encodings.ascii kernel kernel.private math quotations sequences sequences.generalizations sequences.private strings words ; IN: bootstrap.image.primitives diff --git a/basis/cairo/ffi/ffi.factor b/basis/cairo/ffi/ffi.factor index a20b269990..1db2527d5b 100644 --- a/basis/cairo/ffi/ffi.factor +++ b/basis/cairo/ffi/ffi.factor @@ -3,7 +3,7 @@ ! Copyright (C) 2010 Anton Gorenko. ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.destructors alien.libraries -alien.syntax assocs classes.struct combinators kernel system ; +alien.syntax classes.struct combinators system ; IN: cairo.ffi ! Adapted from cairo.h, version 1.8.10 diff --git a/basis/calendar/calendar-docs.factor b/basis/calendar/calendar-docs.factor index 226e72652f..db29a9f29d 100644 --- a/basis/calendar/calendar-docs.factor +++ b/basis/calendar/calendar-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays kernel math strings help.markup help.syntax -math.order ; +USING: help.markup help.syntax kernel math math.order ; IN: calendar HELP: duration diff --git a/basis/calendar/format/format.factor b/basis/calendar/format/format.factor index 9968ee7eb6..456e6ea393 100644 --- a/basis/calendar/format/format.factor +++ b/basis/calendar/format/format.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008, 2010 Slava Pestov, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays calendar calendar.english combinators +USING: accessors calendar calendar.english combinators formatting grouping io io.streams.string kernel make math math.order math.parser math.parser.private ranges present quotations sequences splitting strings words ; diff --git a/basis/calendar/windows/windows.factor b/basis/calendar/windows/windows.factor index 3da219bb7f..d17e1efbf1 100644 --- a/basis/calendar/windows/windows.factor +++ b/basis/calendar/windows/windows.factor @@ -1,5 +1,5 @@ -USING: accessors calendar classes.struct combinators kernel math -math.functions system windows.errors windows.kernel32 ; +USING: accessors calendar combinators kernel math math.functions +system windows.errors windows.kernel32 ; IN: calendar.windows : timestamp>SYSTEMTIME ( timestamp -- SYSTEMTIME ) diff --git a/basis/cbor/cbor-tests.factor b/basis/cbor/cbor-tests.factor index 2e93378753..3ed11b27a9 100644 --- a/basis/cbor/cbor-tests.factor +++ b/basis/cbor/cbor-tests.factor @@ -1,4 +1,4 @@ -USING: arrays assocs calendar cbor kernel literals locals math +USING: arrays assocs calendar cbor kernel literals math math.parser ranges tools.test urls ; { diff --git a/basis/channels/channels.factor b/basis/channels/channels.factor index 7c278d5977..8424d50572 100644 --- a/basis/channels/channels.factor +++ b/basis/channels/channels.factor @@ -2,8 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. ! ! Channels - based on ideas from newsqueak -USING: kernel sequences threads continuations -random math accessors ; +USING: accessors kernel random sequences threads ; IN: channels TUPLE: channel receivers senders ; diff --git a/basis/channels/examples/examples.factor b/basis/channels/examples/examples.factor index b841a10695..fb312a56d3 100644 --- a/basis/channels/examples/examples.factor +++ b/basis/channels/examples/examples.factor @@ -2,8 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. ! ! Examples of using channels -USING: kernel threads channels math namespaces -locals sequences ; +USING: kernel threads channels math sequences ; IN: channels.examples : (counter) ( channel n -- ) diff --git a/basis/channels/remote/remote-docs.factor b/basis/channels/remote/remote-docs.factor index 456cceb36b..72c7b3887d 100644 --- a/basis/channels/remote/remote-docs.factor +++ b/basis/channels/remote/remote-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: channels concurrency.distributed help.markup help.syntax -io.servers strings ; +USING: channels help.markup help.syntax io.servers strings ; IN: channels.remote HELP: diff --git a/basis/channels/remote/remote.factor b/basis/channels/remote/remote.factor index a1c90dc6e8..ef0b3b15f1 100644 --- a/basis/channels/remote/remote.factor +++ b/basis/channels/remote/remote.factor @@ -2,9 +2,9 @@ ! See http://factorcode.org/license.txt for BSD license. ! ! Remote Channels -USING: kernel init namespaces assocs arrays random -sequences channels match concurrency.messaging -concurrency.distributed threads accessors ; +USING: accessors assocs channels concurrency.distributed +concurrency.messaging init kernel match namespaces random +threads ; IN: channels.remote 2seq ( seq -- seq1 seq2 ) diff --git a/basis/checksums/md5/md5.factor b/basis/checksums/md5/md5.factor index 391344bc87..bc8481f5ef 100644 --- a/basis/checksums/md5/md5.factor +++ b/basis/checksums/md5/md5.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2006, 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data byte-arrays checksums -checksums.common combinators fry grouping hints kernel -kernel.private literals locals macros math math.bitwise +checksums.common combinators grouping hints kernel +kernel.private literals math math.bitwise math.functions sequences sequences.private specialized-arrays ; SPECIALIZED-ARRAY: uint IN: checksums.md5 diff --git a/basis/checksums/metrohash/metrohash.factor b/basis/checksums/metrohash/metrohash.factor index 7713088cd8..120092ca91 100644 --- a/basis/checksums/metrohash/metrohash.factor +++ b/basis/checksums/metrohash/metrohash.factor @@ -1,11 +1,7 @@ ! Copyright (C) 2018 John Benediktsson. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data byte-arrays checksums -combinators endian grouping kernel locals math math.bitwise -sequences specialized-arrays ; -SPECIALIZED-ARRAY: uint64_t -SPECIALIZED-ARRAY: uint32_t -SPECIALIZED-ARRAY: uint16_t +combinators endian grouping kernel math math.bitwise sequences ; IN: checksums.metrohash diff --git a/basis/checksums/murmur/murmur.factor b/basis/checksums/murmur/murmur.factor index 4a849f5962..1f5bb21027 100644 --- a/basis/checksums/murmur/murmur.factor +++ b/basis/checksums/murmur/murmur.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.c-types alien.data byte-arrays -checksums endian fry grouping kernel math math.bitwise +checksums endian grouping kernel math math.bitwise ranges sequences ; IN: checksums.murmur diff --git a/basis/checksums/ripemd/ripemd.factor b/basis/checksums/ripemd/ripemd.factor index dde039c792..56d6b5d3ff 100644 --- a/basis/checksums/ripemd/ripemd.factor +++ b/basis/checksums/ripemd/ripemd.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2017 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data byte-arrays checksums -checksums.common combinators fry grouping hints kernel -kernel.private literals locals macros math math.bitwise -math.functions sequences sequences.private specialized-arrays ; +checksums.common combinators grouping hints kernel +kernel.private math math.bitwise sequences sequences.private +specialized-arrays ; SPECIALIZED-ARRAY: uint IN: checksums.ripemd diff --git a/basis/checksums/sha/sha.factor b/basis/checksums/sha/sha.factor index 7ce8dc851d..cff9445067 100644 --- a/basis/checksums/sha/sha.factor +++ b/basis/checksums/sha/sha.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types arrays checksums checksums.common -combinators combinators.smart endian fry grouping kernel -kernel.private literals locals math math.bitwise ranges +USING: accessors alien.c-types checksums checksums.common +combinators combinators.smart endian grouping kernel +kernel.private literals math math.bitwise ranges sequences sequences.generalizations sequences.private specialized-arrays ; SPECIALIZED-ARRAY: uint diff --git a/basis/checksums/superfast/superfast.factor b/basis/checksums/superfast/superfast.factor index a128b42fcd..d7f1c20153 100644 --- a/basis/checksums/superfast/superfast.factor +++ b/basis/checksums/superfast/superfast.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.c-types alien.data byte-arrays -checksums combinators endian fry grouping kernel math -math.bitwise ranges sequences sequences.private ; +checksums endian grouping kernel math math.bitwise ranges +sequences sequences.private ; IN: checksums.superfast diff --git a/basis/checksums/wyhash/wyhash.factor b/basis/checksums/wyhash/wyhash.factor index 0b67654a87..bff1f8a7a5 100644 --- a/basis/checksums/wyhash/wyhash.factor +++ b/basis/checksums/wyhash/wyhash.factor @@ -2,10 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license USING: accessors alien.c-types alien.data byte-arrays checksums -endian grouping kernel literals math math.bitwise math.order -sequences sequences.generalizations sequences.private -specialized-arrays ; -SPECIALIZED-ARRAY: uint64_t +endian grouping kernel math math.bitwise +sequences sequences.generalizations sequences.private ; IN: checksums.wyhash diff --git a/basis/classes/struct/prettyprint/prettyprint.factor b/basis/classes/struct/prettyprint/prettyprint.factor index 5b0a477857..500c5dbd19 100644 --- a/basis/classes/struct/prettyprint/prettyprint.factor +++ b/basis/classes/struct/prettyprint/prettyprint.factor @@ -1,11 +1,10 @@ ! Copyright (C) 2009, 2011 Joe Groff, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.c-types alien.data -alien.prettyprint arrays assocs classes classes.struct -combinators combinators.short-circuit continuations fry kernel -libc make math math.parser mirrors prettyprint.backend -prettyprint.custom prettyprint.sections see.private sequences -slots strings summary words ; +USING: accessors alien alien.prettyprint arrays assocs classes +classes.struct combinators combinators.short-circuit +continuations kernel libc make math math.parser mirrors +prettyprint.backend prettyprint.custom prettyprint.sections +see.private sequences slots summary ; IN: classes.struct.prettyprint ] 2dip if ; inline diff --git a/basis/combinators/short-circuit/smart/smart-docs.factor b/basis/combinators/short-circuit/smart/smart-docs.factor index a516329043..10695086a0 100644 --- a/basis/combinators/short-circuit/smart/smart-docs.factor +++ b/basis/combinators/short-circuit/smart/smart-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax io.streams.string quotations ; +USING: help.markup help.syntax quotations ; IN: combinators.short-circuit.smart HELP: && diff --git a/basis/combinators/smart/smart-tests.factor b/basis/combinators/smart/smart-tests.factor index 8802549c04..e8f7461404 100644 --- a/basis/combinators/smart/smart-tests.factor +++ b/basis/combinators/smart/smart-tests.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs combinators.smart kernel locals +USING: accessors arrays assocs combinators.smart kernel math random sequences stack-checker tools.test ; IN: combinators.smart.tests diff --git a/basis/compiler/cfg/build-stack-frame/build-stack-frame.factor b/basis/compiler/cfg/build-stack-frame/build-stack-frame.factor index 5c4474ad7d..96d4f881a8 100644 --- a/basis/compiler/cfg/build-stack-frame/build-stack-frame.factor +++ b/basis/compiler/cfg/build-stack-frame/build-stack-frame.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors compiler.cfg.instructions compiler.cfg.linearization -compiler.cfg.rpo compiler.cfg.stack-frame cpu.architecture kernel layouts -locals math math.order namespaces sequences ; +USING: accessors compiler.cfg.instructions +compiler.cfg.linearization cpu.architecture kernel layouts math +math.order namespaces sequences ; IN: compiler.cfg.build-stack-frame SYMBOLS: param-area-size allot-area-size allot-area-align ; diff --git a/basis/compiler/cfg/linear-scan/debugger/debugger.factor b/basis/compiler/cfg/linear-scan/debugger/debugger.factor index 9e87559ac2..4a34af3860 100644 --- a/basis/compiler/cfg/linear-scan/debugger/debugger.factor +++ b/basis/compiler/cfg/linear-scan/debugger/debugger.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs compiler.cfg.linear-scan.allocation -compiler.cfg.linear-scan.live-intervals fry kernel math -namespaces prettyprint sequences strings ; +compiler.cfg.linear-scan.live-intervals kernel math namespaces +prettyprint sequences strings ; IN: compiler.cfg.linear-scan.debugger : check-linear-scan ( live-intervals machine-registers -- ) diff --git a/basis/compiler/cfg/value-numbering/simd/simd.factor b/basis/compiler/cfg/value-numbering/simd/simd.factor index 298e0b31e0..2502e03cfa 100644 --- a/basis/compiler/cfg/value-numbering/simd/simd.factor +++ b/basis/compiler/cfg/value-numbering/simd/simd.factor @@ -5,8 +5,7 @@ combinators.short-circuit compiler.cfg.instructions compiler.cfg.utilities compiler.cfg.value-numbering.graph compiler.cfg.value-numbering.math compiler.cfg.value-numbering.rewrite cpu.architecture -endian generalizations grouping kernel locals make math -sequences ; +endian generalizations grouping kernel make math sequences ; IN: compiler.cfg.value-numbering.simd ! Some lame constant folding for SIMD intrinsics. Eventually this diff --git a/basis/compiler/test/test.factor b/basis/compiler/test/test.factor index 81a8478457..0a7e9f4823 100644 --- a/basis/compiler/test/test.factor +++ b/basis/compiler/test/test.factor @@ -7,7 +7,7 @@ compiler.cfg.stacks compiler.cfg.stacks.local compiler.cfg.utilities compiler.tree.builder compiler.tree.checker compiler.tree.def-use compiler.tree.normalization compiler.tree.propagation compiler.tree.propagation.info compiler.tree.recursive compiler.units -fry hashtables kernel math namespaces sequences stack-checker +hashtables kernel math namespaces sequences stack-checker tools.test vectors vocabs words ; IN: compiler.test diff --git a/basis/compiler/tree/debugger/debugger.factor b/basis/compiler/tree/debugger/debugger.factor index 9285439961..d04ec3730c 100644 --- a/basis/compiler/tree/debugger/debugger.factor +++ b/basis/compiler/tree/debugger/debugger.factor @@ -2,17 +2,15 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs combinators combinators.short-circuit compiler.tree compiler.tree.builder -compiler.tree.checker compiler.tree.cleanup -compiler.tree.combinators compiler.tree.dead-code -compiler.tree.def-use compiler.tree.escape-analysis -compiler.tree.identities compiler.tree.modular-arithmetic -compiler.tree.normalization compiler.tree.optimizer -compiler.tree.propagation compiler.tree.propagation.info -compiler.tree.recursive compiler.tree.tuple-unboxing effects fry -generic hints io kernel macros make match math namespaces -prettyprint prettyprint.config prettyprint.custom -prettyprint.sections quotations sequences sequences.private sets -sorting words ; +compiler.tree.cleanup compiler.tree.combinators +compiler.tree.dead-code compiler.tree.def-use +compiler.tree.escape-analysis compiler.tree.identities +compiler.tree.modular-arithmetic compiler.tree.normalization +compiler.tree.optimizer compiler.tree.propagation +compiler.tree.recursive compiler.tree.tuple-unboxing effects +generic hints io kernel make match math namespaces prettyprint +prettyprint.config prettyprint.custom prettyprint.sections +quotations sequences sequences.private sets sorting words ; FROM: syntax => _ ; RENAME: _ match => __ IN: compiler.tree.debugger diff --git a/basis/compiler/tree/propagation/simd/simd.factor b/basis/compiler/tree/propagation/simd/simd.factor index 0ae3540679..193d77308d 100644 --- a/basis/compiler/tree/propagation/simd/simd.factor +++ b/basis/compiler/tree/propagation/simd/simd.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors byte-arrays combinators compiler.cfg.builder compiler.tree.propagation.info compiler.tree.propagation.nodes -continuations cpu.architecture fry kernel layouts math +continuations cpu.architecture kernel layouts math math.intervals math.vectors.simd.intrinsics namespaces sequences words ; IN: compiler.tree.propagation.simd diff --git a/basis/compression/gzip/gzip.factor b/basis/compression/gzip/gzip.factor index 5d8d91d8d0..a5bf463271 100644 --- a/basis/compression/gzip/gzip.factor +++ b/basis/compression/gzip/gzip.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2020 Jacob Fischer, Abtin Molavi. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs bit-arrays byte-arrays -combinators compression.huffman fry kernel literals locals make -math math.bits math.order ranges namespaces sequences -sequences.deep splitting vectors ; +combinators compression.huffman kernel math math.bits math.order +namespaces ranges sequences sequences.deep splitting vectors ; IN: compression.gzip 3append ; IN: concurrency.exchangers.tests diff --git a/basis/concurrency/flags/flags-tests.factor b/basis/concurrency/flags/flags-tests.factor index 20748ec6b0..ecb6400212 100644 --- a/basis/concurrency/flags/flags-tests.factor +++ b/basis/concurrency/flags/flags-tests.factor @@ -1,5 +1,5 @@ USING: tools.test concurrency.flags concurrency.combinators -kernel threads locals accessors calendar ; +kernel threads accessors calendar ; IN: concurrency.flags.tests :: flag-test-1 ( -- val ) diff --git a/basis/concurrency/locks/locks-docs.factor b/basis/concurrency/locks/locks-docs.factor index 77bed82f76..f2337f4b21 100644 --- a/basis/concurrency/locks/locks-docs.factor +++ b/basis/concurrency/locks/locks-docs.factor @@ -1,5 +1,4 @@ -USING: help.markup help.syntax sequences kernel quotations -calendar ; +USING: calendar help.markup help.syntax quotations ; IN: concurrency.locks HELP: lock diff --git a/basis/concurrency/locks/locks-tests.factor b/basis/concurrency/locks/locks-tests.factor index 78aa379182..f9acb5486c 100644 --- a/basis/concurrency/locks/locks-tests.factor +++ b/basis/concurrency/locks/locks-tests.factor @@ -1,5 +1,5 @@ USING: tools.test concurrency.locks concurrency.count-downs -concurrency.messaging concurrency.mailboxes locals kernel +concurrency.messaging concurrency.mailboxes kernel threads sequences calendar accessors ; IN: concurrency.locks.tests diff --git a/basis/concurrency/semaphores/semaphores-docs.factor b/basis/concurrency/semaphores/semaphores-docs.factor index 3af1176d7a..460ac752dc 100644 --- a/basis/concurrency/semaphores/semaphores-docs.factor +++ b/basis/concurrency/semaphores/semaphores-docs.factor @@ -1,5 +1,5 @@ IN: concurrency.semaphores -USING: help.markup help.syntax kernel quotations calendar ; +USING: help.markup help.syntax quotations calendar ; HELP: semaphore { $class-description "The class of counting semaphores. New instances can be created by calling " { $link } "." } ; diff --git a/basis/constructors/constructors.factor b/basis/constructors/constructors.factor index 49d9d5098c..974635fdbe 100644 --- a/basis/constructors/constructors.factor +++ b/basis/constructors/constructors.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2009 Slava Pestov, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs classes classes.tuple effects -effects.parser fry kernel lexer locals macros parser -sequences sequences.generalizations sets vocabs vocabs.parser -words alien.parser ; +effects.parser kernel lexer parser sequences +sequences.generalizations sets words ; IN: constructors : all-slots-assoc ( class -- slots ) diff --git a/basis/core-foundation/fsevents/fsevents.factor b/basis/core-foundation/fsevents/fsevents.factor index 15cb7894f0..fb216f55c4 100644 --- a/basis/core-foundation/fsevents/fsevents.factor +++ b/basis/core-foundation/fsevents/fsevents.factor @@ -4,7 +4,7 @@ USING: accessors alien alien.c-types alien.data alien.strings alien.syntax arrays assocs classes.struct combinators core-foundation core-foundation.arrays core-foundation.run-loop core-foundation.strings core-foundation.time destructors init -io.encodings.utf8 kernel locals namespaces sequences +io.encodings.utf8 kernel namespaces sequences specialized-arrays unix.types ; IN: core-foundation.fsevents diff --git a/basis/core-text/core-text-tests.factor b/basis/core-text/core-text-tests.factor index e5b0204005..ce973b2abe 100644 --- a/basis/core-text/core-text-tests.factor +++ b/basis/core-text/core-text-tests.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: tools.test core-text core-text.fonts core-foundation core-foundation.dictionaries destructors arrays kernel -generalizations locals math accessors core-foundation.utilities +generalizations math accessors core-foundation.utilities combinators hashtables colors ; IN: core-text.tests diff --git a/basis/core-text/fonts/fonts.factor b/basis/core-text/fonts/fonts.factor index c41fd7e374..a91a52bf04 100644 --- a/basis/core-text/fonts/fonts.factor +++ b/basis/core-text/fonts/fonts.factor @@ -3,7 +3,7 @@ USING: accessors alien.c-types alien.syntax assocs combinators core-foundation core-foundation.dictionaries core-foundation.strings core-graphics.types destructors fonts -init kernel locals math memoize unix.types ; +init kernel math memoize unix.types ; IN: core-text.fonts TYPEDEF: void* CTFontRef diff --git a/basis/couchdb/couchdb.factor b/basis/couchdb/couchdb.factor index 93f57a0724..29e6bb1c65 100644 --- a/basis/couchdb/couchdb.factor +++ b/basis/couchdb/couchdb.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008, 2009 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs continuations debugger fry hashtables http +USING: accessors assocs continuations debugger hashtables http http.client io io.encodings.string io.encodings.utf8 json.reader -json.writer kernel locals make math math.parser namespaces sequences +json.writer kernel make math math.parser namespaces sequences strings urls.encoding vectors ; IN: couchdb diff --git a/basis/cpu/ppc/assembler/assembler.factor b/basis/cpu/ppc/assembler/assembler.factor index 137032d17a..7c8d479b58 100644 --- a/basis/cpu/ppc/assembler/assembler.factor +++ b/basis/cpu/ppc/assembler/assembler.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2011 Erik Charlebois. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel namespaces words math math.order locals -math.bitwise endian make ; +USING: endian kernel make math math.bitwise ; IN: cpu.ppc.assembler ! This vocabulary implements the V2.06B Power ISA found at http://www.power.org. diff --git a/basis/csv/csv.factor b/basis/csv/csv.factor index a4f6ab61dd..e615493a45 100644 --- a/basis/csv/csv.factor +++ b/basis/csv/csv.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2007, 2008 Phil Dawes, 2013 John Benediktsson ! See http://factorcode.org/license.txt for BSD license. -USING: combinators fry io io.files io.streams.string kernel -make math memoize namespaces sbufs sequences sequences.private -unicode ; +USING: combinators io io.files io.streams.string kernel make +math namespaces sequences sequences.private unicode ; IN: csv SYMBOL: delimiter diff --git a/basis/cuckoo-filters/cuckoo-filters.factor b/basis/cuckoo-filters/cuckoo-filters.factor index 87dc1d1898..f9664bfdac 100644 --- a/basis/cuckoo-filters/cuckoo-filters.factor +++ b/basis/cuckoo-filters/cuckoo-filters.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license USING: accessors alien alien.c-types alien.data arrays checksums -checksums.sha combinators.short-circuit kernel locals math -math.bitwise random sequences ; +checksums.sha combinators.short-circuit kernel math math.bitwise +random sequences ; IN: cuckoo-filters diff --git a/basis/db/db.factor b/basis/db/db.factor index 216b120907..6f9c448382 100644 --- a/basis/db/db.factor +++ b/basis/db/db.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs continuations destructors fry kernel +USING: accessors assocs continuations destructors kernel namespaces sequences strings ; IN: db diff --git a/basis/db/pools/pools.factor b/basis/db/pools/pools.factor index ebb3c008ad..01d02c1dfb 100644 --- a/basis/db/pools/pools.factor +++ b/basis/db/pools/pools.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel arrays namespaces sequences continuations -io.pools db fry db.private ; +USING: accessors db io.pools kernel namespaces ; IN: db.pools TUPLE: db-pool < pool db ; diff --git a/basis/db/postgresql/errors/errors.factor b/basis/db/postgresql/errors/errors.factor index 7fa94f8055..133223ef40 100644 --- a/basis/db/postgresql/errors/errors.factor +++ b/basis/db/postgresql/errors/errors.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel db.errors peg.ebnf strings sequences math -combinators.short-circuit accessors math.parser quoting -locals multiline ; +USING: accessors db.errors kernel math math.parser multiline +peg.ebnf quoting sequences strings ; IN: db.postgresql.errors EBNF: parse-postgresql-sql-error [=[ diff --git a/basis/db/queries/queries.factor b/basis/db/queries/queries.factor index f68420a48f..d166340de0 100644 --- a/basis/db/queries/queries.factor +++ b/basis/db/queries/queries.factor @@ -1,10 +1,10 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays byte-arrays classes classes.tuple -combinators continuations db db.errors db.private db.tuples +combinators continuations db db.errors db.tuples db.tuples.private db.types destructors kernel make math -math.bitwise math.intervals math.parser namespaces nmake -prettyprint random sequences shuffle strings words fry ; +math.bitwise math.intervals math.parser namespaces nmake random +sequences strings ; IN: db.queries GENERIC: where ( specs obj -- ) diff --git a/basis/db/sqlite/errors/errors.factor b/basis/db/sqlite/errors/errors.factor index 74f01f29ca..ca19fe1dd2 100644 --- a/basis/db/sqlite/errors/errors.factor +++ b/basis/db/sqlite/errors/errors.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators db kernel sequences peg.ebnf -strings db.errors multiline ; +USING: db.errors kernel multiline peg.ebnf sequences strings ; IN: db.sqlite.errors TUPLE: unparsed-sqlite-error error ; diff --git a/basis/db/sqlite/sqlite.factor b/basis/db/sqlite/sqlite.factor index bf148b3371..b581a50058 100644 --- a/basis/db/sqlite/sqlite.factor +++ b/basis/db/sqlite/sqlite.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors classes.tuple combinators db db.private db.queries db.sqlite.errors db.sqlite.ffi db.sqlite.lib db.tuples -db.tuples.private db.types destructors interpolate kernel locals math +db.tuples.private db.types destructors interpolate kernel math math.parser namespaces nmake random sequences sequences.deep ; IN: db.sqlite diff --git a/basis/db/tester/tester.factor b/basis/db/tester/tester.factor index ea89166e51..0029a0de1e 100644 --- a/basis/db/tester/tester.factor +++ b/basis/db/tester/tester.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2008 Slava Pestov, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: concurrency.combinators db db.pools db.sqlite db.tuples -db.types destructors kernel math random threads tools.test sequences -io io.pools prettyprint db.postgresql accessors io.files.temp -namespaces fry system math.parser db.queries assocs ; +USING: accessors assocs concurrency.combinators db db.pools +db.postgresql db.queries db.sqlite db.tuples db.types +destructors io.files.temp kernel math math.parser namespaces +random sequences system threads tools.test ; IN: db.tester : postgresql-test-db-name ( -- string ) diff --git a/basis/db/tuples/tuples-docs.factor b/basis/db/tuples/tuples-docs.factor index 1d9d915b00..dd4837adae 100644 --- a/basis/db/tuples/tuples-docs.factor +++ b/basis/db/tuples/tuples-docs.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Doug Coleman. ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: classes help.markup help.syntax io.streams.string kernel -quotations sequences strings math db.types db.tuples.private db ; +USING: classes db db.tuples.private db.types help.markup +help.syntax kernel math quotations sequences strings ; IN: db.tuples HELP: random-id-generator diff --git a/basis/db/tuples/tuples.factor b/basis/db/tuples/tuples.factor index bb8000828b..e620f34286 100644 --- a/basis/db/tuples/tuples.factor +++ b/basis/db/tuples/tuples.factor @@ -1,11 +1,9 @@ ! Copyright (C) 2008 Doug Coleman. ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays assocs classes db kernel namespaces -classes.tuple words sequences slots math accessors -math.parser io prettyprint continuations -destructors mirrors sets db.types db.private fry -combinators.short-circuit db.errors ; +USING: accessors assocs classes classes.tuple +combinators.short-circuit continuations db db.errors db.types +destructors kernel math.parser namespaces sequences sets words ; IN: db.tuples HOOK: create-sql-statement db-connection ( class -- object ) diff --git a/basis/dns/dns.factor b/basis/dns/dns.factor index d31e5d830b..1cecf555a8 100644 --- a/basis/dns/dns.factor +++ b/basis/dns/dns.factor @@ -1,12 +1,12 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.enums alien.syntax arrays calendar -combinators combinators.smart constructors destructors endian +combinators combinators.smart constructors endian grouping io io.encodings.binary io.encodings.string io.encodings.utf8 io.sockets io.sockets.private io.streams.byte-array io.timeouts kernel make math math.bitwise math.parser namespaces random sequences slots.syntax splitting -system vectors vocabs strings ascii ; +system vectors vocabs ascii ; IN: dns : with-input-seek ( n seek-type quot -- ) diff --git a/basis/escape-strings/escape-strings.factor b/basis/escape-strings/escape-strings.factor index 89de4c8da3..5b6e6c1f6d 100644 --- a/basis/escape-strings/escape-strings.factor +++ b/basis/escape-strings/escape-strings.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2017 John Benediktsson, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: ascii assocs checksums checksums.sha combinators fry +USING: ascii assocs checksums checksums.sha combinators kernel math math.functions math.parser ranges math.statistics sequences sets sorting splitting strings uuid ; IN: escape-strings diff --git a/basis/fixups/fixups.factor b/basis/fixups/fixups.factor index 6cefa92290..6404add671 100644 --- a/basis/fixups/fixups.factor +++ b/basis/fixups/fixups.factor @@ -58,7 +58,7 @@ M: object compute-fixups M: f compute-fixups 2drop { } ; M: no-vocab compute-fixups - name>> vocab-renames compute-assoc-fixups ; + [ name>> vocab-renames compute-assoc-fixups ] [ drop { } ] if* ; M: no-word-error compute-fixups - name>> word-renames compute-assoc-fixups ; + [ name>> word-renames compute-assoc-fixups ] [ drop { } ] if* ; diff --git a/basis/furnace/boilerplate/boilerplate.factor b/basis/furnace/boilerplate/boilerplate.factor index 4293044ab3..9f4ea648ee 100644 --- a/basis/furnace/boilerplate/boilerplate.factor +++ b/basis/furnace/boilerplate/boilerplate.factor @@ -4,7 +4,6 @@ USING: accessors kernel math.order namespaces combinators.short-circuit html.forms html.templates html.templates.chloe -locals http.server http.server.filters furnace.utilities ; diff --git a/basis/game/input/dinput/dinput.factor b/basis/game/input/dinput/dinput.factor index 3a69d4408a..a600e6cc74 100644 --- a/basis/game/input/dinput/dinput.factor +++ b/basis/game/input/dinput/dinput.factor @@ -1,12 +1,11 @@ USING: accessors alien alien.c-types alien.data alien.strings -arrays assocs byte-arrays combinators combinators.short-circuit -continuations game.input game.input.dinput.keys-array -io.encodings.utf16n kernel locals math -math.bitwise math.rectangles namespaces parser sequences shuffle -specialized-arrays ui.backend.windows vectors windows.com -windows.directx.dinput windows.directx.dinput.constants -windows.kernel32 windows.messages windows.ole32 windows.errors -windows.user32 classes.struct ; +arrays assocs byte-arrays classes.struct combinators +combinators.short-circuit game.input +game.input.dinput.keys-array kernel math math.bitwise +math.rectangles namespaces sequences specialized-arrays +ui.backend.windows vectors windows.com windows.directx.dinput +windows.directx.dinput.constants windows.errors windows.kernel32 +windows.messages windows.ole32 windows.user32 ; SPECIALIZED-ARRAY: DIDEVICEOBJECTDATA IN: game.input.dinput diff --git a/basis/gdk/ffi/ffi.factor b/basis/gdk/ffi/ffi.factor index ad095ba66e..b4fb9b94de 100644 --- a/basis/gdk/ffi/ffi.factor +++ b/basis/gdk/ffi/ffi.factor @@ -3,7 +3,7 @@ USING: alien alien.c-types alien.destructors alien.libraries alien.syntax cairo.ffi classes.struct combinators gobject-introspection gobject-introspection.standard-types -kernel system vocabs vocabs.loader ; +kernel system vocabs ; IN: gdk.ffi << diff --git a/basis/gio/ffi/ffi.factor b/basis/gio/ffi/ffi.factor index a1929f24b1..7b21154eeb 100644 --- a/basis/gio/ffi/ffi.factor +++ b/basis/gio/ffi/ffi.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2010 Anton Gorenko. ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.libraries alien.syntax combinators -gobject-introspection kernel system vocabs ; +gobject-introspection system vocabs ; IN: gio.ffi << "gobject.ffi" require >> diff --git a/basis/gobject-introspection/gobject-introspection.factor b/basis/gobject-introspection/gobject-introspection.factor index 8465a6ec22..798f694947 100644 --- a/basis/gobject-introspection/gobject-introspection.factor +++ b/basis/gobject-introspection/gobject-introspection.factor @@ -3,7 +3,7 @@ USING: accessors combinators environment gobject-introspection.common gobject-introspection.ffi gobject-introspection.loader gobject-introspection.types io -io.files io.pathnames kernel lexer locals make namespaces parser +io.files io.pathnames kernel lexer make namespaces parser sequences splitting summary vocabs vocabs.parser xdg xml ; IN: gobject-introspection diff --git a/basis/gobject-introspection/types/types.factor b/basis/gobject-introspection/types/types.factor index cd244cf9aa..8d047d4c8d 100644 --- a/basis/gobject-introspection/types/types.factor +++ b/basis/gobject-introspection/types/types.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2010 Anton Gorenko. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types assocs combinators.short-circuit -gobject-introspection.common gobject-introspection.repository kernel -locals namespaces parser sequences sets ; +gobject-introspection.common gobject-introspection.repository +kernel namespaces parser sequences sets ; IN: gobject-introspection.types SYMBOL: type-infos diff --git a/basis/html/streams/streams.factor b/basis/html/streams/streams.factor index efe51db989..1678d895bc 100644 --- a/basis/html/streams/streams.factor +++ b/basis/html/streams/streams.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2004, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs combinators destructors fry html io -io.backend io.pathnames io.styles kernel macros make math -math.functions math.order math.parser namespaces sequences -strings words splitting xml xml.syntax ; +USING: accessors assocs combinators destructors html io +io.styles kernel make math math.functions math.parser sequences +strings xml.syntax ; IN: html.streams GENERIC: url-of ( object -- url ) diff --git a/basis/html/templates/fhtml/fhtml.factor b/basis/html/templates/fhtml/fhtml.factor index 56bae5b7fd..cac7b39f0b 100644 --- a/basis/html/templates/fhtml/fhtml.factor +++ b/basis/html/templates/fhtml/fhtml.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2005 Alex Chapman ! Copyright (C) 2006, 2010 Slava Pestov ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators compiler.units html.templates io +USING: accessors compiler.units html.templates io io.encodings.utf8 io.files kernel lexer lexer.private math namespaces parser parser.notes quotations sequences splitting vocabs.parser ; diff --git a/basis/http/client/post-data/post-data.factor b/basis/http/client/post-data/post-data.factor index b7551d86b9..7d336a8ca1 100644 --- a/basis/http/client/post-data/post-data.factor +++ b/basis/http/client/post-data/post-data.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs destructors http io io.encodings.ascii io.encodings.binary io.encodings.string io.encodings.utf8 -io.files io.files.info io.pathnames kernel math.parser -namespaces sequences strings urls.encoding ; +io.files io.files.info io.pathnames kernel math.parser sequences +strings urls.encoding ; IN: http.client.post-data TUPLE: measured-stream stream size ; diff --git a/basis/http/http-docs.factor b/basis/http/http-docs.factor index 0e2efc5fb8..bcac8e49aa 100644 --- a/basis/http/http-docs.factor +++ b/basis/http/http-docs.factor @@ -1,5 +1,5 @@ -USING: assocs help.markup help.syntax io.streams.string sequences strings present math kernel byte-arrays urls -calendar ; +USING: calendar help.markup help.syntax kernel math present +strings urls ; IN: http HELP: diff --git a/basis/http/http.factor b/basis/http/http.factor index 2e7f71f6d0..a9995ef3c2 100644 --- a/basis/http/http.factor +++ b/basis/http/http.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2003, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays ascii assocs base64 calendar calendar.format -calendar.parser combinators fry hashtables http.parsers io io.crlf +calendar.parser combinators hashtables http.parsers io io.crlf io.encodings.iana io.encodings.utf8 kernel make math math.parser mime.types present sequences sets sorting splitting urls ; IN: http diff --git a/basis/http/parsers/parsers.factor b/basis/http/parsers/parsers.factor index 8273d55339..3499ee6ca3 100644 --- a/basis/http/parsers/parsers.factor +++ b/basis/http/parsers/parsers.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators.short-circuit math math.order math.parser -kernel sequences sequences.deep peg peg.parsers assocs arrays -hashtables strings namespaces make ascii ; +USING: arrays ascii combinators.short-circuit kernel make +math.parser peg peg.parsers sequences sequences.deep strings ; IN: http.parsers : except ( quot -- parser ) diff --git a/basis/http/server/static/static.factor b/basis/http/server/static/static.factor index d594bfd35e..2587a585c5 100644 --- a/basis/http/server/static/static.factor +++ b/basis/http/server/static/static.factor @@ -3,13 +3,12 @@ IN: http.server.static DEFER: file-responder ! necessary for cgi-docs DEFER: ! necessary for cgi-docs -USING: calendar kernel math math.order math.parser namespaces -parser sequences strings assocs hashtables debugger mime.types -sorting logging calendar.parser accessors splitting io io.files -io.files.info io.directories io.pathnames io.encodings.binary -fry xml.entities destructors urls html xml.syntax -html.templates.fhtml http http.server http.server.responses -http.server.redirection xml.writer locals combinators ; +USING: accessors assocs calendar.parser combinators destructors +html html.templates.fhtml http http.server +http.server.redirection http.server.responses io.directories +io.encodings.binary io.files io.files.info io.pathnames kernel +logging math.order math.parser mime.types namespaces sequences +sorting splitting urls xml.syntax ; QUALIFIED: sets TUPLE: file-responder root hook special index-names allow-listings ; diff --git a/basis/images/memory/memory.factor b/basis/images/memory/memory.factor index 883a097511..26ce55946c 100644 --- a/basis/images/memory/memory.factor +++ b/basis/images/memory/memory.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types alien.data destructors fry images +USING: accessors alien.c-types alien.data destructors images kernel libc math sequences ; IN: images.memory diff --git a/basis/images/processing/processing.factor b/basis/images/processing/processing.factor index 24006e2699..8710cca2f4 100644 --- a/basis/images/processing/processing.factor +++ b/basis/images/processing/processing.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Marc Fauconneau. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays byte-arrays combinators grouping images -kernel locals math math.order -ranges math.vectors sequences sequences.deep fry ; +USING: accessors arrays byte-arrays images kernel math +math.order math.vectors sequences sequences.deep ; IN: images.processing : coord-matrix ( dim -- m ) diff --git a/basis/interval-sets/interval-sets.factor b/basis/interval-sets/interval-sets.factor index 048551c635..b444ad7e6d 100644 --- a/basis/interval-sets/interval-sets.factor +++ b/basis/interval-sets/interval-sets.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Daniel Ehrenberg. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types arrays assocs binary-search -classes combinators fry grouping kernel locals make math +classes combinators grouping kernel locals make math math.order sequences sequences.private sorting specialized-arrays ; SPECIALIZED-ARRAY: uint diff --git a/basis/inverse/inverse.factor b/basis/inverse/inverse.factor index b6c3424161..13537e2c92 100644 --- a/basis/inverse/inverse.factor +++ b/basis/inverse/inverse.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs bit-arrays byte-arrays classes classes.tuple combinators combinators.short-circuit -combinators.smart continuations effects fry generalizations -kernel locals macros make math math.functions namespaces parser +combinators.smart continuations effects generalizations +kernel make math math.functions namespaces parser quotations sbufs sequences sequences.generalizations slots splitting stack-checker strings summary vectors words words.symbol ; diff --git a/basis/io/encodings/8-bit/8-bit-docs.factor b/basis/io/encodings/8-bit/8-bit-docs.factor index a50a1fe284..90845bffad 100644 --- a/basis/io/encodings/8-bit/8-bit-docs.factor +++ b/basis/io/encodings/8-bit/8-bit-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. -USING: help.syntax help.markup strings ; +USING: help.syntax help.markup ; IN: io.encodings.8-bit HELP: ebcdic diff --git a/basis/io/encodings/8-bit/8-bit.factor b/basis/io/encodings/8-bit/8-bit.factor index f9da32d369..a1abf8ab65 100644 --- a/basis/io/encodings/8-bit/8-bit.factor +++ b/basis/io/encodings/8-bit/8-bit.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Daniel Ehrenberg, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs classes.singleton fry generic +USING: accessors arrays assocs classes.singleton generic hashtables io io.encodings io.encodings.iana kernel lexer parser sequences simple-flat-file words ; IN: io.encodings.8-bit diff --git a/basis/io/encodings/utf32/utf32-docs.factor b/basis/io/encodings/utf32/utf32-docs.factor index 53bba09861..e56d4c2035 100644 --- a/basis/io/encodings/utf32/utf32-docs.factor +++ b/basis/io/encodings/utf32/utf32-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax io.encodings strings ; +USING: help.markup help.syntax ; IN: io.encodings.utf32 ARTICLE: "io.encodings.utf32" "UTF-32 encoding" diff --git a/basis/io/mmap/mmap-docs.factor b/basis/io/mmap/mmap-docs.factor index 0b3082368f..f6d21b1d02 100644 --- a/basis/io/mmap/mmap-docs.factor +++ b/basis/io/mmap/mmap-docs.factor @@ -1,6 +1,5 @@ -USING: alien alien.c-types continuations destructors -help.markup help.syntax kernel math quotations -specialized-arrays ; +USING: alien alien.c-types destructors help.markup help.syntax +quotations specialized-arrays ; IN: io.mmap HELP: mapped-file diff --git a/basis/io/mmap/windows/windows.factor b/basis/io/mmap/windows/windows.factor index 525190383d..1b57d13dd2 100644 --- a/basis/io/mmap/windows/windows.factor +++ b/basis/io/mmap/windows/windows.factor @@ -1,5 +1,5 @@ USING: accessors destructors windows.privileges -io.files.windows io.mmap io.mmap.private kernel literals locals +io.files.windows io.mmap io.mmap.private kernel literals math math.bitwise system windows.errors windows.handles windows.kernel32 ; IN: io.mmap.windows diff --git a/basis/io/pools/pools.factor b/basis/io/pools/pools.factor index ebab3f92a9..195c3a22da 100644 --- a/basis/io/pools/pools.factor +++ b/basis/io/pools/pools.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel arrays namespaces sequences continuations -destructors io.sockets alien alien.syntax ; +USING: accessors alien continuations destructors io.sockets +kernel namespaces sequences ; IN: io.pools TUPLE: pool connections disposed expired ; diff --git a/basis/io/servers/servers.factor b/basis/io/servers/servers.factor index c603d144c6..8aa2f7f5cd 100644 --- a/basis/io/servers/servers.factor +++ b/basis/io/servers/servers.factor @@ -1,12 +1,10 @@ ! Copyright (C) 2003, 2010 Slava Pestov, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays calendar combinators -combinators.short-circuit concurrency.combinators -concurrency.count-downs concurrency.flags -concurrency.semaphores continuations debugger destructors fry -io io.sockets io.sockets.secure io.streams.duplex io.styles -io.timeouts kernel logging make math math.parser namespaces -present prettyprint random sequences sets strings threads ; +USING: accessors arrays calendar concurrency.flags +concurrency.semaphores continuations destructors io io.sockets +io.sockets.secure io.streams.duplex io.styles io.timeouts kernel +logging make math namespaces present prettyprint random +sequences sets strings threads ; IN: io.servers TUPLE: threaded-server < identity-tuple diff --git a/basis/json/reader/reader-docs.factor b/basis/json/reader/reader-docs.factor index dd4140ce79..dcfa153ae0 100644 --- a/basis/json/reader/reader-docs.factor +++ b/basis/json/reader/reader-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2006 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel ; +USING: help.markup help.syntax ; IN: json.reader HELP: json> diff --git a/basis/lists/lazy/lazy-docs.factor b/basis/lists/lazy/lazy-docs.factor index fa43da2186..a1c1ac983e 100644 --- a/basis/lists/lazy/lazy-docs.factor +++ b/basis/lists/lazy/lazy-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2006 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel lists math sequences -strings ; +USING: help.markup help.syntax lists math sequences strings ; IN: lists.lazy ABOUT: "lists.lazy" diff --git a/basis/lists/lazy/lazy.factor b/basis/lists/lazy/lazy.factor index 07fa35b0a0..3209ab6575 100644 --- a/basis/lists/lazy/lazy.factor +++ b/basis/lists/lazy/lazy.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2004, 2008 Chris Double, Matthew Willis, James Cash. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators io kernel lists locals math +USING: accessors arrays combinators io kernel lists math promises quotations sequences ; IN: lists.lazy diff --git a/basis/logging/analysis/analysis-docs.factor b/basis/logging/analysis/analysis-docs.factor index 23d6c5d4f0..e11cfe2041 100644 --- a/basis/logging/analysis/analysis-docs.factor +++ b/basis/logging/analysis/analysis-docs.factor @@ -1,4 +1,4 @@ -USING: help.markup help.syntax assocs logging math ; +USING: help.markup help.syntax assocs logging ; IN: logging.analysis HELP: analyze-entries diff --git a/basis/logging/insomniac/insomniac.factor b/basis/logging/insomniac/insomniac.factor index 786752f01b..a7dc6110e7 100644 --- a/basis/logging/insomniac/insomniac.factor +++ b/basis/logging/insomniac/insomniac.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: logging.analysis logging.server logging smtp kernel -io.files io.streams.string namespaces make timers assocs -io.encodings.utf8 accessors calendar sequences locals ; +USING: accessors calendar io.streams.string kernel logging +logging.analysis make namespaces smtp timers ; QUALIFIED: io.sockets IN: logging.insomniac diff --git a/basis/logging/logging-docs.factor b/basis/logging/logging-docs.factor index 04260f1839..96f2740919 100644 --- a/basis/logging/logging-docs.factor +++ b/basis/logging/logging-docs.factor @@ -1,6 +1,6 @@ +USING: help.markup help.syntax logging.server quotations strings +words ; IN: logging -USING: help.markup help.syntax assocs math calendar -logging.server strings words quotations ; HELP: DEBUG { $description "Log level for debug messages." } ; diff --git a/basis/logging/parser/parser-docs.factor b/basis/logging/parser/parser-docs.factor index 3a03fa3e78..d02a73ea54 100644 --- a/basis/logging/parser/parser-docs.factor +++ b/basis/logging/parser/parser-docs.factor @@ -1,5 +1,5 @@ +USING: calendar help.markup help.syntax ; IN: logging.parser -USING: help.markup help.syntax assocs logging math calendar ; HELP: parse-log { $values { "lines" "a sequence of strings" } { "entries" "a sequence of log entries" } } diff --git a/basis/logging/server/server.factor b/basis/logging/server/server.factor index f0ddb681cc..7326ea4b7c 100644 --- a/basis/logging/server/server.factor +++ b/basis/logging/server/server.factor @@ -3,8 +3,7 @@ USING: assocs calendar calendar.format combinators concurrency.messaging continuations debugger destructors init io io.directories io.encodings.utf8 io.files io.pathnames kernel -locals math math.parser ranges namespaces sequences -strings threads ; +math math.parser ranges namespaces sequences strings threads ; IN: logging.server : log-root ( -- string ) diff --git a/basis/match/match-docs.factor b/basis/match/match-docs.factor index 11d89a9811..fd98ebf389 100644 --- a/basis/match/match-docs.factor +++ b/basis/match/match-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2006 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax namespaces assocs sequences +USING: help.markup help.syntax namespaces assocs kernel combinators ; IN: match diff --git a/basis/match/match.factor b/basis/match/match.factor index aa68543d14..855672fdc4 100644 --- a/basis/match/match.factor +++ b/basis/match/match.factor @@ -3,8 +3,7 @@ ! ! Based on pattern matching code from Paul Graham's book 'On Lisp'. USING: assocs classes classes.tuple combinators kernel lexer -macros make namespaces parser quotations sequences summary words -; +make namespaces parser quotations sequences summary words ; IN: match SYMBOL: _ diff --git a/basis/math/combinatorics/combinatorics-docs.factor b/basis/math/combinatorics/combinatorics-docs.factor index f34f537cf0..784f67c94a 100644 --- a/basis/math/combinatorics/combinatorics-docs.factor +++ b/basis/math/combinatorics/combinatorics-docs.factor @@ -1,5 +1,6 @@ -USING: help.markup help.syntax kernel math math.combinatorics +USING: help.markup help.syntax math math.combinatorics math.combinatorics.private math.order sequences ; +IN: math.combinatorics HELP: factorial { $values { "n" "a non-negative integer" } { "n!" integer } } diff --git a/basis/math/floats/env/env-docs.factor b/basis/math/floats/env/env-docs.factor index f7ceedd544..6c8eef681d 100644 --- a/basis/math/floats/env/env-docs.factor +++ b/basis/math/floats/env/env-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: help help.markup help.syntax kernel quotations ; +USING: help.markup help.syntax kernel math.floats.env quotations ; IN: math.floats.env HELP: fp-exception diff --git a/basis/math/floats/env/env.factor b/basis/math/floats/env/env.factor index c86f97c5f4..d019d1ee0e 100644 --- a/basis/math/floats/env/env.factor +++ b/basis/math/floats/env/env.factor @@ -1,9 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: alien.syntax arrays assocs biassocs combinators -combinators.short-circuit continuations generalizations kernel -literals locals math math.bitwise sequences sets system -vocabs ; +USING: arrays assocs combinators continuations generalizations +kernel math math.bitwise sequences sets system vocabs ; IN: math.floats.env SINGLETONS: diff --git a/basis/math/floats/env/x86/64/64.factor b/basis/math/floats/env/x86/64/64.factor index 7013b8e52d..dcf53c84fa 100644 --- a/basis/math/floats/env/x86/64/64.factor +++ b/basis/math/floats/env/x86/64/64.factor @@ -1,5 +1,5 @@ USING: alien alien.c-types cpu.x86.64 cpu.x86.assembler -cpu.x86.assembler.operands math.floats.env.x86 sequences system ; +cpu.x86.assembler.operands math.floats.env.x86 system ; IN: math.floats.env.x86.64 M: x86.64 get-sse-env diff --git a/basis/math/matrices/matrices-docs.factor b/basis/math/matrices/matrices-docs.factor index 95cb8242c0..569c82317e 100644 --- a/basis/math/matrices/matrices-docs.factor +++ b/basis/math/matrices/matrices-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2005, 2010, 2018, 2020 Slava Pestov, Joe Groff, and Cat Stevens. -USING: accessors arrays assocs generic.single formatting locals help.markup help.markup.private help.syntax io -kernel math math.functions math.order math.ratios math.vectors opengl.gl prettyprint -sequences sequences.generalizations urls ; +USING: arrays assocs help.markup help.markup.private help.syntax +kernel math math.functions math.order math.vectors sequences +sequences.generalizations ; IN: math.matrices roman diff --git a/basis/roman/roman.factor b/basis/roman/roman.factor index 632b5050ba..7998ec2b50 100644 --- a/basis/roman/roman.factor +++ b/basis/roman/roman.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators.smart effects.parser fry -generalizations grouping kernel lexer macros math math.order +USING: accessors combinators.smart effects.parser +generalizations grouping kernel lexer math math.order parser quotations sequences splitting.monotonic strings unicode words ; IN: roman diff --git a/basis/sequences/complex-components/complex-components.factor b/basis/sequences/complex-components/complex-components.factor index ae808971b6..f213b51f5b 100644 --- a/basis/sequences/complex-components/complex-components.factor +++ b/basis/sequences/complex-components/complex-components.factor @@ -1,5 +1,5 @@ -USING: accessors kernel math math.functions combinators -sequences sequences.private ; +USING: accessors kernel math combinators sequences +sequences.private ; IN: sequences.complex-components TUPLE: complex-components seq ; diff --git a/basis/sequences/complex/complex.factor b/basis/sequences/complex/complex.factor index 730689eb4f..43a75d50d4 100644 --- a/basis/sequences/complex/complex.factor +++ b/basis/sequences/complex/complex.factor @@ -1,5 +1,4 @@ -USING: accessors kernel math math.functions -sequences sequences.private ; +USING: accessors kernel math sequences sequences.private ; IN: sequences.complex TUPLE: complex-sequence seq ; diff --git a/basis/sequences/cords/cords.factor b/basis/sequences/cords/cords.factor index 0576efdb86..a5ebf16510 100644 --- a/basis/sequences/cords/cords.factor +++ b/basis/sequences/cords/cords.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008, 2010 Slava Pestov, Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs sequences sorting binary-search fry math -math.order arrays classes combinators kernel functors locals -math.functions math.vectors ; +USING: accessors classes functors kernel math math.vectors +sequences ; IN: sequences.cords MIXIN: cord diff --git a/basis/sequences/parser/parser.factor b/basis/sequences/parser/parser.factor index 0babf4b9c8..b9fd4dd1d4 100644 --- a/basis/sequences/parser/parser.factor +++ b/basis/sequences/parser/parser.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2005, 2009 Daniel Ehrenberg, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors circular combinators.short-circuit fry io -kernel locals math math.order sequences sorting.functor -sorting.slots unicode sequences.private ; +USING: accessors circular combinators.short-circuit io kernel +math math.order sequences sequences.parser sequences.private +sorting.functor sorting.slots unicode ; IN: sequences.parser TUPLE: sequence-parser sequence n ; diff --git a/basis/sequences/unrolled/unrolled-docs.factor b/basis/sequences/unrolled/unrolled-docs.factor index 9310ffcfb0..35005818d2 100644 --- a/basis/sequences/unrolled/unrolled-docs.factor +++ b/basis/sequences/unrolled/unrolled-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: assocs help.markup help.syntax kernel math quotations sequences -sequences.private ; +USING: help.markup help.syntax math sequences sequences.private ; IN: sequences.unrolled HELP: unrolled-collect diff --git a/basis/sequences/unrolled/unrolled.factor b/basis/sequences/unrolled/unrolled.factor index 543aed2814..a6a408f714 100644 --- a/basis/sequences/unrolled/unrolled.factor +++ b/basis/sequences/unrolled/unrolled.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. USING: combinators combinators.short-circuit -compiler.tree.propagation.transforms fry generalizations kernel -locals math sequences sequences.private ; +compiler.tree.propagation.transforms kernel math +sequences sequences.private ; IN: sequences.unrolled inset ; IN: vocabs.prettyprint diff --git a/basis/windows/ddk/winusb/winusb.factor b/basis/windows/ddk/winusb/winusb.factor index 3710aeb2d6..e666811753 100644 --- a/basis/windows/ddk/winusb/winusb.factor +++ b/basis/windows/ddk/winusb/winusb.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Erik Charlebois. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.syntax classes.struct +USING: alien alien.syntax classes.struct windows.kernel32 windows.types alien.libraries ; IN: windows.ddk.winusb diff --git a/basis/windows/directx/xinput/xinput.factor b/basis/windows/directx/xinput/xinput.factor index ca5d933c67..c023f90234 100644 --- a/basis/windows/directx/xinput/xinput.factor +++ b/basis/windows/directx/xinput/xinput.factor @@ -1,4 +1,4 @@ -USING: alien.c-types alien.syntax classes.struct windows.directx +USING: alien.c-types alien.syntax classes.struct windows.kernel32 windows.types ; IN: windows.directx.xinput diff --git a/basis/windows/dropfiles/dropfiles.factor b/basis/windows/dropfiles/dropfiles.factor index 320a2f1fe0..194502c4eb 100644 --- a/basis/windows/dropfiles/dropfiles.factor +++ b/basis/windows/dropfiles/dropfiles.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2017-2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.data alien.libraries alien.strings -continuations fry init io.encodings.utf16n kernel literals math -namespaces sequences ui.backend.windows ui.gadgets.worlds +init io.encodings.utf16n kernel literals math namespaces +sequences ui.backend.windows ui.gadgets.worlds ui.gestures windows.errors windows.messages windows.shell32 windows.types windows.user32 ; IN: windows.dropfiles diff --git a/basis/windows/hardware/hardware.factor b/basis/windows/hardware/hardware.factor index b059479340..122c3df031 100644 --- a/basis/windows/hardware/hardware.factor +++ b/basis/windows/hardware/hardware.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2021 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.data arrays classes.struct io -kernel namespaces prettyprint ui.backend.windows -ui.gadgets.worlds windows.errors windows.types windows.user32 ; +USING: accessors alien arrays io kernel namespaces prettyprint +ui.backend.windows ui.gadgets.worlds windows.errors windows.types +windows.user32 ; IN: windows.hardware : monitor-enum-proc ( -- callback ) diff --git a/basis/windows/iphlpapi/iphlpapi.factor b/basis/windows/iphlpapi/iphlpapi.factor index dac8e0a12c..90bc278730 100644 --- a/basis/windows/iphlpapi/iphlpapi.factor +++ b/basis/windows/iphlpapi/iphlpapi.factor @@ -1,10 +1,9 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.c-types alien.data alien.strings -alien.syntax arrays byte-arrays classes.struct combinators -combinators.smart destructors io.encodings.string -io.encodings.utf8 io.sockets io.sockets.private kernel libc -make refs sequences windows.errors windows.kernel32 +USING: accessors alien alien.c-types alien.data alien.syntax +classes.struct combinators combinators.smart destructors +io.encodings.string io.encodings.utf8 io.sockets.private kernel +libc make sequences windows.errors windows.kernel32 windows.types windows.winsock ; IN: windows.iphlpapi diff --git a/basis/windows/privileges/privileges.factor b/basis/windows/privileges/privileges.factor index 88b953660e..32ad96a42c 100644 --- a/basis/windows/privileges/privileges.factor +++ b/basis/windows/privileges/privileges.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.data alien.syntax classes.struct -continuations fry kernel libc literals locals sequences -windows.advapi32 windows.errors windows.kernel32 windows.types -alien.c-types ; +continuations kernel libc literals sequences windows.advapi32 +windows.errors windows.kernel32 windows.types ; IN: windows.privileges TYPEDEF: TOKEN_PRIVILEGES* PTOKEN_PRIVILEGES diff --git a/basis/wrap/strings/strings.factor b/basis/wrap/strings/strings.factor index ea5c47ea06..56863cddda 100644 --- a/basis/wrap/strings/strings.factor +++ b/basis/wrap/strings/strings.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel math sequences splitting strings wrap ; +USING: kernel math sequences splitting strings wrap ; IN: wrap.strings string ( tag -- string ) diff --git a/basis/xml/writer/writer-docs.factor b/basis/xml/writer/writer-docs.factor index 4b32b60a47..f15fdb1a6f 100644 --- a/basis/xml/writer/writer-docs.factor +++ b/basis/xml/writer/writer-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2005, 2009 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. -USING: help.syntax help.markup io strings xml.data multiline ; +USING: help.markup help.syntax io strings xml.data ; IN: xml.writer ABOUT: "xml.writer" diff --git a/basis/xmode/keyword-map/keyword-map.factor b/basis/xmode/keyword-map/keyword-map.factor index 27fec783c6..fd583e6e87 100644 --- a/basis/xmode/keyword-map/keyword-map.factor +++ b/basis/xmode/keyword-map/keyword-map.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2007, 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel strings assocs sequences hashtables -sorting unicode sets ; +USING: accessors assocs kernel sequences sets sorting unicode ; IN: xmode.keyword-map ! Based on org.gjt.sp.jedit.syntax.KeywordMap diff --git a/basis/xmode/rules/rules.factor b/basis/xmode/rules/rules.factor index 704c83a518..084abb5084 100644 --- a/basis/xmode/rules/rules.factor +++ b/basis/xmode/rules/rules.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors xmode.tokens xmode.keyword-map kernel -sequences vectors assocs strings memoize unicode -regexp ; +USING: accessors assocs kernel regexp sequences unicode +xmode.keyword-map ; IN: xmode.rules TUPLE: string-matcher string ignore-case? ; diff --git a/basis/xmode/tokens/tokens.factor b/basis/xmode/tokens/tokens.factor index d76c7ff65a..2fc19cde32 100644 --- a/basis/xmode/tokens/tokens.factor +++ b/basis/xmode/tokens/tokens.factor @@ -1,6 +1,4 @@ -USING: accessors parser words words.symbol -sequences namespaces kernel assocs -compiler.units ; +USING: assocs kernel namespaces parser words.symbol ; IN: xmode.tokens ! Based on org.gjt.sp.jedit.syntax.Token diff --git a/basis/xmode/utilities/utilities.factor b/basis/xmode/utilities/utilities.factor index 3fbce8e7cf..9ded828f92 100644 --- a/basis/xmode/utilities/utilities.factor +++ b/basis/xmode/utilities/utilities.factor @@ -1,6 +1,5 @@ -USING: accessors sequences assocs kernel quotations namespaces -xml.data xml.traversal combinators macros parser lexer words fry -regexp ; +USING: combinators kernel namespaces quotations regexp sequences +xml.data xml.traversal ; IN: xmode.utilities : implies ( x y -- z ) [ not ] dip or ; inline diff --git a/extra/24-game/24-game.factor b/extra/24-game/24-game.factor index ec7810d8b6..ebff86d879 100644 --- a/extra/24-game/24-game.factor +++ b/extra/24-game/24-game.factor @@ -1,7 +1,7 @@ ! Copyright © 2008 Reginald Keith Ford II ! 24, the Factor game! USING: accessors backtrack combinators combinators.smart -continuations formatting fry io kernel math prettyprint +continuations formatting io kernel math prettyprint quotations random sequences ; IN: 24-game diff --git a/extra/alien/cxx/demangle/libstdcxx/libstdcxx.factor b/extra/alien/cxx/demangle/libstdcxx/libstdcxx.factor index e32f1ad034..135ea2189e 100644 --- a/extra/alien/cxx/demangle/libstdcxx/libstdcxx.factor +++ b/extra/alien/cxx/demangle/libstdcxx/libstdcxx.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.data alien.destructors alien.strings alien.syntax combinators destructors io.encodings.ascii kernel -libc locals sequences ; +libc sequences ; IN: alien.cxx.demangle.libstdcxx FUNCTION: char* __cxa_demangle ( char* mangled_name, char* output_buffer, size_t* length, int* status ) diff --git a/extra/alien/cxx/scaffold/scaffold.factor b/extra/alien/cxx/scaffold/scaffold.factor index cb845849a2..c026ce07ed 100644 --- a/extra/alien/cxx/scaffold/scaffold.factor +++ b/extra/alien/cxx/scaffold/scaffold.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: alien.cxx.demangle assocs combinators fry io.pathnames +USING: alien.cxx.demangle assocs combinators io.pathnames kernel macho sequences ; IN: alien.cxx.scaffold diff --git a/extra/alien/data/map/map.factor b/extra/alien/data/map/map.factor index 6ad8e4d516..a7a50f5762 100644 --- a/extra/alien/data/map/map.factor +++ b/extra/alien/data/map/map.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2009, 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.c-types alien.data alien.parser arrays -byte-arrays combinators effects.parser fry generalizations grouping kernel -lexer locals macros make math ranges parser sequences +USING: accessors alien alien.arrays alien.c-types alien.data +alien.parser arrays byte-arrays combinators effects.parser fry +generalizations grouping kernel make math sequences sequences.generalizations sequences.private ; FROM: alien.arrays => array-length ; IN: alien.data.map diff --git a/extra/alien/fortran/fortran-docs.factor b/extra/alien/fortran/fortran-docs.factor index d4348100bd..d1ad82b92f 100644 --- a/extra/alien/fortran/fortran-docs.factor +++ b/extra/alien/fortran/fortran-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel quotations sequences strings words.symbol classes.struct ; +USING: help.markup help.syntax sequences strings words.symbol classes.struct ; QUALIFIED-WITH: alien.syntax c IN: alien.fortran diff --git a/extra/alien/fortran/fortran.factor b/extra/alien/fortran/fortran.factor index 8300f1d708..d28475bbb4 100644 --- a/extra/alien/fortran/fortran.factor +++ b/extra/alien/fortran/fortran.factor @@ -1,12 +1,11 @@ ! (c) 2009 Joe Groff, see BSD license -USING: accessors alien alien.complex alien.c-types alien.data -alien.parser grouping alien.strings alien.syntax arrays ascii -assocs byte-arrays combinators combinators.short-circuit fry -generalizations kernel lexer macros math math.parser namespaces -parser sequences sequences.generalizations splitting -stack-checker vectors vocabs.parser words locals -io.encodings.ascii io.encodings.string shuffle effects -ranges math.order sorting strings system alien.libraries ; +USING: accessors alien alien.c-types alien.complex alien.data +alien.libraries alien.parser alien.strings arrays ascii assocs +byte-arrays combinators combinators.short-circuit effects +generalizations grouping io.encodings.ascii io.encodings.string +kernel lexer math math.parser namespaces ranges sequences +sequences.generalizations shuffle sorting splitting strings +vectors words ; QUALIFIED-WITH: alien.c-types c IN: alien.fortran diff --git a/extra/annotations/annotations-docs.factor b/extra/annotations/annotations-docs.factor index 0d37672fe3..eee45528a3 100644 --- a/extra/annotations/annotations-docs.factor +++ b/extra/annotations/annotations-docs.factor @@ -1,6 +1,6 @@ -USING: accessors arrays combinators definitions generalizations -help help.markup help.topics kernel sequences sorting vocabs -words combinators.smart tools.crossref ; +USING: accessors arrays combinators combinators.smart help +help.markup help.topics kernel sequences sorting tools.crossref +vocabs words ; IN: annotations fixnum ; inline diff --git a/extra/benchmark/mt/mt.factor b/extra/benchmark/mt/mt.factor index 27cfe8c7d8..d7b83cb328 100644 --- a/extra/benchmark/mt/mt.factor +++ b/extra/benchmark/mt/mt.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel math random random.mersenne-twister ; +USING: kernel math random random.mersenne-twister ; IN: benchmark.mt : mt-bench ( n -- ) diff --git a/extra/benchmark/nbody-simd/nbody-simd.factor b/extra/benchmark/nbody-simd/nbody-simd.factor index 1c628ca431..c50481de5d 100644 --- a/extra/benchmark/nbody-simd/nbody-simd.factor +++ b/extra/benchmark/nbody-simd/nbody-simd.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types fry kernel locals math -math.constants math.functions math.vectors math.vectors.simd -math.vectors.simd.cords math.parser combinators.smart sequences -hints classes.struct specialized-arrays io ; +USING: accessors alien.c-types kernel math math.constants +math.functions math.vectors math.vectors.simd.cords math.parser +combinators.smart sequences classes.struct specialized-arrays io ; IN: benchmark.nbody-simd : solar-mass ( -- x ) 4 pi sq * ; inline diff --git a/extra/benchmark/nsieve-bits/nsieve-bits.factor b/extra/benchmark/nsieve-bits/nsieve-bits.factor index 55b3972b91..9d4069e6de 100644 --- a/extra/benchmark/nsieve-bits/nsieve-bits.factor +++ b/extra/benchmark/nsieve-bits/nsieve-bits.factor @@ -1,5 +1,5 @@ USING: math math.parser sequences sequences.private kernel -bit-arrays make io ranges multiline fry locals ; +bit-arrays make io ; IN: benchmark.nsieve-bits : clear-flags ( step i seq -- ) diff --git a/extra/benchmark/partial-sums/partial-sums.factor b/extra/benchmark/partial-sums/partial-sums.factor index dc898a5be9..8fe7e04c66 100644 --- a/extra/benchmark/partial-sums/partial-sums.factor +++ b/extra/benchmark/partial-sums/partial-sums.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: make math math.functions kernel io io.styles prettyprint -combinators hints fry sequences ; +USING: make math math.functions kernel prettyprint +combinators hints sequences ; IN: benchmark.partial-sums ! Helper words diff --git a/extra/benchmark/pidigits/pidigits.factor b/extra/benchmark/pidigits/pidigits.factor index 7b28415457..45b4c9becb 100644 --- a/extra/benchmark/pidigits/pidigits.factor +++ b/extra/benchmark/pidigits/pidigits.factor @@ -1,9 +1,8 @@ ! Copyright (c) 2009 Aaron Schaefer. All rights reserved. ! The contents of this file are licensed under the Simplified BSD License ! A copy of the license is available at http://factorcode.org/license.txt -USING: arrays formatting fry grouping io kernel locals math -math.functions math.matrices math.parser math.primes.factors -math.vectors prettyprint sequences sequences.deep ; +USING: arrays formatting io kernel math math.matrices +math.parser sequences ; IN: benchmark.pidigits : extract ( z x -- n ) diff --git a/extra/benchmark/raytracer-simd/raytracer-simd.factor b/extra/benchmark/raytracer-simd/raytracer-simd.factor index fd37c7bee0..dd5bcfaae0 100644 --- a/extra/benchmark/raytracer-simd/raytracer-simd.factor +++ b/extra/benchmark/raytracer-simd/raytracer-simd.factor @@ -1,10 +1,10 @@ ! Factor port of the raytracer benchmark from ! http://www.ffconsultancy.com/languages/ray_tracer/index.html -USING: arrays accessors generalizations io io.files io.files.temp +USING: arrays accessors generalizations io.files io.files.temp io.encodings.binary kernel math math.constants math.functions -math.vectors math.vectors.simd math.vectors.simd.cords -math.parser make sequences words combinators ; +math.vectors math.vectors.simd.cords math.parser make sequences +words combinators ; IN: benchmark.raytracer-simd << SYNTAX: no-compile last-word t "no-compile" set-word-prop ; >> diff --git a/extra/benchmark/regexp/regexp.factor b/extra/benchmark/regexp/regexp.factor index 823c4899b9..2489317b92 100644 --- a/extra/benchmark/regexp/regexp.factor +++ b/extra/benchmark/regexp/regexp.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license. -USING: arrays fry kernel math math.parser regexp sequences -strings ; +USING: kernel math math.parser regexp sequences strings ; IN: benchmark.regexp : regexp-benchmark ( -- ) diff --git a/extra/benchmark/reverse-complement/reverse-complement.factor b/extra/benchmark/reverse-complement/reverse-complement.factor index b6bddd3060..6b1e5bd194 100644 --- a/extra/benchmark/reverse-complement/reverse-complement.factor +++ b/extra/benchmark/reverse-complement/reverse-complement.factor @@ -1,9 +1,7 @@ ! Copyright (C) 2006, 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: io io.files io.files.temp io.streams.duplex kernel -sequences sequences.private strings vectors words memoize -splitting grouping hints tr continuations io.encodings.ascii -ascii ; +USING: ascii grouping hints io io.encodings.ascii io.files +io.files.temp kernel sequences strings tr vectors ; IN: benchmark.reverse-complement TR: trans-map ch>upper "ACGTUMRYKVHDB" "TGCAAKYRMBDHV" ; diff --git a/extra/brainfuck/brainfuck.factor b/extra/brainfuck/brainfuck.factor index 865a02b185..045cf03c12 100644 --- a/extra/brainfuck/brainfuck.factor +++ b/extra/brainfuck/brainfuck.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors assocs command-line fry io io.encodings.binary +USING: accessors assocs command-line io io.encodings.binary io.files io.streams.string kernel macros math namespaces peg.ebnf prettyprint sequences multiline ; diff --git a/extra/calendar/holidays/holidays.factor b/extra/calendar/holidays/holidays.factor index f0b7ed7743..dc92086f29 100644 --- a/extra/calendar/holidays/holidays.factor +++ b/extra/calendar/holidays/holidays.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs calendar fry hashtables kernel locals +USING: accessors assocs calendar hashtables kernel parser sequences vocabs words ; IN: calendar.holidays diff --git a/extra/changer/changer.factor b/extra/changer/changer.factor index 48a8ea9dff..3d007797cc 100644 --- a/extra/changer/changer.factor +++ b/extra/changer/changer.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2015 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel lexer macros quotations sequences words ; +USING: kernel lexer quotations sequences words ; IN: changer MACRO: inline-changer ( name -- quot' ) diff --git a/extra/checksums/multi/multi-docs.factor b/extra/checksums/multi/multi-docs.factor index d0ee53ec57..58629d9868 100644 --- a/extra/checksums/multi/multi-docs.factor +++ b/extra/checksums/multi/multi-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. USING: checksums checksums.common checksums.md5 checksums.sha -destructors help.markup help.syntax kernel sequences ; +destructors help.markup help.syntax sequences ; IN: checksums.multi ABOUT: "checksums.multi" diff --git a/extra/checksums/multi/multi.factor b/extra/checksums/multi/multi.factor index 6a89098db9..0b3579a547 100644 --- a/extra/checksums/multi/multi.factor +++ b/extra/checksums/multi/multi.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors checksums checksums.common destructors fry +USING: accessors checksums checksums.common destructors kernel sequences ; IN: checksums.multi diff --git a/extra/checksums/process/process-docs.factor b/extra/checksums/process/process-docs.factor index 422165a753..ef03fd18a9 100644 --- a/extra/checksums/process/process-docs.factor +++ b/extra/checksums/process/process-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2016 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. USING: ascii checksums checksums.common destructors help.markup -help.syntax kernel strings ; +help.syntax ; IN: checksums.process ABOUT: "checksums.process" diff --git a/extra/ci/docker/docker.factor b/extra/ci/docker/docker.factor index d66eb6e5de..b72b6bd4e9 100644 --- a/extra/ci/docker/docker.factor +++ b/extra/ci/docker/docker.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2018 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: io.files.links io.launcher io.standard-paths json.reader +USING: io.launcher io.standard-paths json.reader kernel literals namespaces sequences strings system ; IN: ci.docker diff --git a/extra/classes/struct/vectored/vectored.factor b/extra/classes/struct/vectored/vectored.factor index 1926040f55..01b624254f 100644 --- a/extra/classes/struct/vectored/vectored.factor +++ b/extra/classes/struct/vectored/vectored.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors classes.struct classes.tuple combinators fry -functors kernel locals macros math parser quotations sequences +USING: accessors classes.struct classes.tuple combinators +functors kernel math parser quotations sequences sequences.private slots specialized-arrays words ; IN: classes.struct.vectored diff --git a/extra/classes/tuple/change-tracking/change-tracking.factor b/extra/classes/tuple/change-tracking/change-tracking.factor index 0123bb84ae..953c762b59 100644 --- a/extra/classes/tuple/change-tracking/change-tracking.factor +++ b/extra/classes/tuple/change-tracking/change-tracking.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors classes classes.tuple fry kernel sequences slots ; +USING: accessors classes classes.tuple kernel sequences slots ; IN: classes.tuple.change-tracking TUPLE: change-tracking-tuple diff --git a/extra/cli/git/git.factor b/extra/cli/git/git.factor index 9513b44051..44cb671e43 100644 --- a/extra/cli/git/git.factor +++ b/extra/cli/git/git.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2017 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays concurrency.combinators -concurrency.semaphores fry io io.directories io.encodings.utf8 +concurrency.semaphores io io.directories io.encodings.utf8 io.files.info io.launcher io.pathnames kernel math namespaces sequences splitting system-info unicode ; IN: cli.git diff --git a/extra/codebook/codebook.factor b/extra/codebook/codebook.factor index 01f365f4a5..b632fa20df 100644 --- a/extra/codebook/codebook.factor +++ b/extra/codebook/codebook.factor @@ -1,13 +1,12 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs calendar calendar.format -combinators combinators.short-circuit fry io io.backend -io.directories io.encodings.binary io.encodings.detect -io.encodings.utf8 io.files io.files.info io.files.temp -io.files.types io.files.unique io.launcher io.pathnames kernel -locals math math.parser namespaces sequences sorting strings -system unicode xml.syntax xml.writer xmode.catalog xmode.marker -xmode.tokens ; +USING: accessors arrays calendar calendar.format combinators +combinators.short-circuit io io.backend io.directories +io.encodings.binary io.encodings.detect io.encodings.utf8 +io.files io.files.info io.files.temp io.files.unique io.launcher +io.pathnames kernel math math.parser namespaces sequences +sorting strings unicode xml.syntax xml.writer xmode.catalog +xmode.marker xmode.tokens ; IN: codebook ! Usage: "my/source/tree" codebook diff --git a/extra/colors/distances/distances.factor b/extra/colors/distances/distances.factor index 0813bf46d2..8c54e9d85c 100644 --- a/extra/colors/distances/distances.factor +++ b/extra/colors/distances/distances.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors colors colors.lab colors.lch kernel locals math +USING: accessors colors colors.lab colors.lch kernel math math.functions math.libm math.order math.trig ; IN: colors.distances diff --git a/extra/colors/flex-hex/flex-hex.factor b/extra/colors/flex-hex/flex-hex.factor index d1f6a5db01..356ad4aac9 100644 --- a/extra/colors/flex-hex/flex-hex.factor +++ b/extra/colors/flex-hex/flex-hex.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2013 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: colors colors.private grouping kernel lexer math -math.parser regexp.classes sequences splitting ; +USING: colors.private grouping kernel lexer math regexp.classes +sequences splitting ; IN: colors.flex-hex diff --git a/extra/compiler/cfg/gvn/alien/alien.factor b/extra/compiler/cfg/gvn/alien/alien.factor index e8db481583..51c6442092 100644 --- a/extra/compiler/cfg/gvn/alien/alien.factor +++ b/extra/compiler/cfg/gvn/alien/alien.factor @@ -1,16 +1,10 @@ ! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators combinators.short-circuit fry -kernel make math namespaces sequences -cpu.architecture -compiler.cfg.hats -compiler.cfg.utilities -compiler.cfg.registers -compiler.cfg.instructions -compiler.cfg.gvn.math -compiler.cfg.gvn.graph -compiler.cfg.gvn.avail -compiler.cfg.gvn.rewrite ; +USING: accessors combinators combinators.short-circuit +compiler.cfg.gvn.avail compiler.cfg.gvn.graph +compiler.cfg.gvn.math compiler.cfg.gvn.rewrite compiler.cfg.hats +compiler.cfg.instructions compiler.cfg.utilities +cpu.architecture kernel make math namespaces sequences ; IN: compiler.cfg.gvn.alien M: ##box-displaced-alien rewrite diff --git a/extra/compiler/cfg/gvn/avail/avail.factor b/extra/compiler/cfg/gvn/avail/avail.factor index 768850df8b..c72cbc51d7 100644 --- a/extra/compiler/cfg/gvn/avail/avail.factor +++ b/extra/compiler/cfg/gvn/avail/avail.factor @@ -1,15 +1,9 @@ ! Copyright (C) 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs hashtables kernel namespaces sequences -sets -compiler.cfg -compiler.cfg.dataflow-analysis -compiler.cfg.def-use -compiler.cfg.gvn.graph -compiler.cfg.predecessors -compiler.cfg.renaming.functor -compiler.cfg.rpo -compiler.utilities ; +USING: accessors assocs compiler.cfg +compiler.cfg.dataflow-analysis compiler.cfg.def-use +compiler.cfg.gvn.graph compiler.cfg.renaming.functor +compiler.utilities hashtables kernel namespaces sequences ; IN: compiler.cfg.gvn.avail : defined ( bb -- vregs ) diff --git a/extra/compiler/cfg/gvn/expressions/expressions.factor b/extra/compiler/cfg/gvn/expressions/expressions.factor index 0cb6682cd6..b2985cdc7d 100644 --- a/extra/compiler/cfg/gvn/expressions/expressions.factor +++ b/extra/compiler/cfg/gvn/expressions/expressions.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. -USING: assocs accessors arrays classes classes.algebra -combinators fry generic.parser kernel math namespaces +USING: assocs accessors arrays classes.algebra +combinators generic.parser kernel math namespaces quotations sequences slots words make sets compiler.cfg compiler.cfg.instructions diff --git a/extra/compiler/cfg/gvn/graph/graph.factor b/extra/compiler/cfg/gvn/graph/graph.factor index ca59011b1b..8d552431ae 100644 --- a/extra/compiler/cfg/gvn/graph/graph.factor +++ b/extra/compiler/cfg/gvn/graph/graph.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel math namespaces assocs ; +USING: assocs kernel namespaces ; IN: compiler.cfg.gvn.graph SYMBOL: input-expr-counter diff --git a/extra/compiler/cfg/gvn/gvn.factor b/extra/compiler/cfg/gvn/gvn.factor index 668c1737a7..a1c77878a9 100644 --- a/extra/compiler/cfg/gvn/gvn.factor +++ b/extra/compiler/cfg/gvn/gvn.factor @@ -1,25 +1,11 @@ ! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak ! See http://factorcode.org/license.txt for BSD license. -USING: namespaces arrays assocs hashtables kernel accessors fry -grouping sorting sets sequences locals -cpu.architecture -sequences.deep -combinators -compiler.cfg -compiler.cfg.rpo -compiler.cfg.def-use -compiler.cfg.utilities -compiler.cfg.instructions -compiler.cfg.predecessors -compiler.cfg.gvn.alien -compiler.cfg.gvn.avail -compiler.cfg.gvn.comparisons -compiler.cfg.gvn.graph -compiler.cfg.gvn.math -compiler.cfg.gvn.rewrite -compiler.cfg.gvn.slots -compiler.cfg.gvn.misc -compiler.cfg.gvn.expressions ; +USING: accessors arrays assocs compiler.cfg compiler.cfg.def-use +compiler.cfg.gvn.avail compiler.cfg.gvn.expressions +compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite +compiler.cfg.instructions compiler.cfg.predecessors +compiler.cfg.rpo compiler.cfg.utilities grouping kernel +namespaces sequences sequences.deep ; IN: compiler.cfg.gvn GENERIC: simplify ( insn -- insn' ) diff --git a/extra/compiler/cfg/gvn/math/math.factor b/extra/compiler/cfg/gvn/math/math.factor index d6ef1f1fcb..3fb84223f8 100644 --- a/extra/compiler/cfg/gvn/math/math.factor +++ b/extra/compiler/cfg/gvn/math/math.factor @@ -1,15 +1,11 @@ ! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. USING: accessors combinators combinators.short-circuit -cpu.architecture fry kernel layouts locals make math namespaces -sequences -compiler.cfg.instructions -compiler.cfg.registers -compiler.cfg.utilities -compiler.cfg.gvn.folding -compiler.cfg.gvn.graph -compiler.cfg.gvn.avail -compiler.cfg.gvn.rewrite ; +compiler.cfg.gvn.avail compiler.cfg.gvn.folding +compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite +compiler.cfg.instructions compiler.cfg.registers +compiler.cfg.utilities cpu.architecture kernel layouts make math +namespaces ; IN: compiler.cfg.gvn.math : f-insn? ( insn -- ? ) diff --git a/extra/compiler/cfg/gvn/misc/misc.factor b/extra/compiler/cfg/gvn/misc/misc.factor index 66f1dd2d52..584ab27508 100644 --- a/extra/compiler/cfg/gvn/misc/misc.factor +++ b/extra/compiler/cfg/gvn/misc/misc.factor @@ -1,10 +1,7 @@ ! Copyright (C) 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors cpu.architecture kernel -compiler.cfg.instructions -compiler.cfg.utilities -compiler.cfg.gvn.graph -compiler.cfg.gvn.rewrite ; +USING: accessors compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite +compiler.cfg.instructions cpu.architecture kernel ; IN: compiler.cfg.gvn.misc M: ##replace rewrite diff --git a/extra/compiler/cfg/gvn/simd/simd.factor b/extra/compiler/cfg/gvn/simd/simd.factor index 04cfd571b7..808f9989cb 100644 --- a/extra/compiler/cfg/gvn/simd/simd.factor +++ b/extra/compiler/cfg/gvn/simd/simd.factor @@ -1,19 +1,11 @@ ! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators combinators.short-circuit arrays -fry kernel layouts math namespaces sequences cpu.architecture -math.bitwise math.order classes endian generalizations -locals make alien.c-types grouping -math.vectors.simd.intrinsics -compiler.cfg -compiler.cfg.registers -compiler.cfg.utilities -compiler.cfg.comparisons -compiler.cfg.instructions -compiler.cfg.gvn.math -compiler.cfg.gvn.graph -compiler.cfg.gvn.avail -compiler.cfg.gvn.rewrite ; +USING: accessors alien.c-types combinators +combinators.short-circuit compiler.cfg.gvn.avail +compiler.cfg.gvn.graph compiler.cfg.gvn.math +compiler.cfg.gvn.rewrite compiler.cfg.instructions +compiler.cfg.utilities cpu.architecture endian generalizations +grouping kernel make math sequences ; IN: compiler.cfg.gvn.simd ! Some lame constant folding for SIMD intrinsics. Eventually this diff --git a/extra/compiler/cfg/gvn/slots/slots.factor b/extra/compiler/cfg/gvn/slots/slots.factor index afd2ab89e5..b61f531a17 100644 --- a/extra/compiler/cfg/gvn/slots/slots.factor +++ b/extra/compiler/cfg/gvn/slots/slots.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators.short-circuit cpu.architecture fry -kernel math +USING: accessors cpu.architecture kernel math compiler.cfg.instructions compiler.cfg.gvn.graph compiler.cfg.gvn.avail diff --git a/extra/cpu/8080/8080.factor b/extra/cpu/8080/8080.factor index dd02babce9..5d024939e9 100644 --- a/extra/cpu/8080/8080.factor +++ b/extra/cpu/8080/8080.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2006 Chris Double. ! See http://factorcode.org/license.txt for BSD license. ! -USING: cpu.8080.emulator tools.time ; +USING: cpu.8080.emulator ; IN: cpu.8080 INSTRUCTION: NOP ; opcode: 00 cycles: 04 diff --git a/extra/crontab/crontab.factor b/extra/crontab/crontab.factor index c2e34d9b7d..402ec1073b 100644 --- a/extra/crontab/crontab.factor +++ b/extra/crontab/crontab.factor @@ -3,8 +3,7 @@ USING: accessors arrays ascii assocs calendar calendar.english calendar.private combinators combinators.short-circuit io kernel -literals locals math math.order math.parser ranges -sequences splitting ; +literals math math.order math.parser ranges sequences splitting ; IN: crontab diff --git a/extra/crypto/aes/utils/utils.factor b/extra/crypto/aes/utils/utils.factor index 06787bae88..0c701ec16f 100644 --- a/extra/crypto/aes/utils/utils.factor +++ b/extra/crypto/aes/utils/utils.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2013 Fred Alger ! See http://factorcode.org/license.txt for BSD license. -USING: arrays columns combinators generalizations grouping -kernel locals math math.bitwise prettyprint sequences +USING: combinators grouping kernel math math.bitwise +prettyprint sequences sequences.private ; IN: crypto.aes.utils : gb0 ( a -- a0 ) 0xff bitand ; inline diff --git a/extra/crypto/passwd-md5/passwd-md5-docs.factor b/extra/crypto/passwd-md5/passwd-md5-docs.factor index 3b4c7df6df..ff7d9155e5 100644 --- a/extra/crypto/passwd-md5/passwd-md5-docs.factor +++ b/extra/crypto/passwd-md5/passwd-md5-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax io.streams.string kernel -strings ; +USING: help.markup help.syntax kernel strings ; IN: crypto.passwd-md5 HELP: authenticate-password diff --git a/extra/crypto/passwd-md5/passwd-md5.factor b/extra/crypto/passwd-md5/passwd-md5.factor index d256311a0a..3d5b53aa84 100644 --- a/extra/crypto/passwd-md5/passwd-md5.factor +++ b/extra/crypto/passwd-md5/passwd-md5.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel base64 checksums.md5 sequences checksums -locals prettyprint math math.bits grouping io combinators -fry make combinators.short-circuit math.functions splitting ; +USING: checksums checksums.md5 combinators grouping kernel math +math.bits math.functions sequences splitting ; IN: crypto.passwd-md5 set ; IN: euler.b-rep diff --git a/extra/fftw/ffi/ffi.factor b/extra/fftw/ffi/ffi.factor index 5bf73206ea..4f365e68a2 100644 --- a/extra/fftw/ffi/ffi.factor +++ b/extra/fftw/ffi/ffi.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.destructors alien.libraries -alien.libraries.finder alien.syntax combinators kernel system ; +alien.syntax combinators system ; IN: fftw.ffi diff --git a/extra/fftw/fftw.factor b/extra/fftw/fftw.factor index d1d271f0ec..a3bbdbf4bd 100644 --- a/extra/fftw/fftw.factor +++ b/extra/fftw/fftw.factor @@ -1,9 +1,8 @@ ! Copyright (c) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license. -USING: alien.c-types destructors fftw.ffi fry kernel locals math -math.functions math.vectors sequences sequences.private -specialized-arrays ; +USING: alien.c-types destructors fftw.ffi kernel math +math.vectors sequences sequences.private specialized-arrays ; SPECIALIZED-ARRAY: double SPECIALIZED-ARRAY: fftw_complex diff --git a/extra/file-monitor/file-monitor.factor b/extra/file-monitor/file-monitor.factor index eebf1a7fed..770f012d56 100644 --- a/extra/file-monitor/file-monitor.factor +++ b/extra/file-monitor/file-monitor.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license USING: accessors command-line formatting io io.monitors -io.pathnames kernel namespaces sequences ; +kernel namespaces sequences ; IN: file-monitor diff --git a/extra/fjsc/fjsc.factor b/extra/fjsc/fjsc.factor index 0269dce3f6..48ee7711d6 100644 --- a/extra/fjsc/fjsc.factor +++ b/extra/fjsc/fjsc.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2006 Chris Double. All Rights Reserved. ! See http://factorcode.org/license.txt for BSD license. USING: accessors kernel peg strings sequences math math.parser -namespaces make words quotations arrays hashtables io +make words quotations arrays hashtables io io.streams.string assocs ascii peg.parsers words.symbol combinators.short-circuit ; IN: fjsc diff --git a/extra/fluids/fluids.factor b/extra/fluids/fluids.factor index 26f6494da4..b7875ab0de 100644 --- a/extra/fluids/fluids.factor +++ b/extra/fluids/fluids.factor @@ -1,12 +1,10 @@ ! Copyright (C) 2010 Erik Charlebois. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays classes.struct destructors game.loop -game.worlds gpu gpu.buffers gpu.effects.blur gpu.framebuffers -gpu.render gpu.shaders gpu.state gpu.textures gpu.util images -images.loader kernel literals locals make math math.rectangles -math.vectors namespaces opengl.gl sequences specialized-arrays -ui.gadgets.worlds ui.gestures ui.pixel-formats gpu.effects.step -images.pgm images.ppm alien.data ; +USING: accessors alien.data classes.struct destructors game.loop +game.worlds gpu gpu.effects.blur gpu.effects.step gpu.state +gpu.textures gpu.util images.loader kernel literals make math +math.vectors namespaces sequences specialized-arrays +ui.gadgets.worlds ui.gestures ui.pixel-formats ; FROM: alien.c-types => float ; SPECIALIZED-ARRAY: float IN: fluids diff --git a/extra/game/loop/loop-docs.factor b/extra/game/loop/loop-docs.factor index af436e3583..303ddd4811 100644 --- a/extra/game/loop/loop-docs.factor +++ b/extra/game/loop/loop-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel math ui.gadgets.worlds ; +USING: help.markup help.syntax math ui.gadgets.worlds ; IN: game.loop HELP: fps diff --git a/extra/game/loop/prettyprint/prettyprint.factor b/extra/game/loop/prettyprint/prettyprint.factor index 2be2ba9dec..3550444a78 100644 --- a/extra/game/loop/prettyprint/prettyprint.factor +++ b/extra/game/loop/prettyprint/prettyprint.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. USING: accessors debugger game.loop io ; +IN: game.loop.prettyprint M: game-loop-error-state error. "An error occurred inside a game loop." print diff --git a/extra/game/worlds/worlds-docs.factor b/extra/game/worlds/worlds-docs.factor index 79c9366f8a..a65ed0ef8c 100644 --- a/extra/game/worlds/worlds-docs.factor +++ b/extra/game/worlds/worlds-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: audio.engine game.loop help.markup help.syntax kernel math method-chains -ui ui.gadgets.worlds words ; +USING: audio.engine game.loop help.markup help.syntax +ui.gadgets.worlds ; IN: game.worlds HELP: game-attributes diff --git a/extra/game/worlds/worlds.factor b/extra/game/worlds/worlds.factor index ca08dec689..5fdc110783 100644 --- a/extra/game/worlds/worlds.factor +++ b/extra/game/worlds/worlds.factor @@ -2,7 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors audio.engine combinators concurrency.promises destructors game.input game.loop kernel math parser sequences -threads ui ui.gadgets ui.gadgets.worlds vocabs.parser words.constant ; +threads ui ui.gadgets ui.gadgets.worlds vocabs.parser +words.constant ; IN: game.worlds TUPLE: game-world < world diff --git a/extra/gpu/buffers/buffers-docs.factor b/extra/gpu/buffers/buffers-docs.factor index dcdc10f155..ecb98751fa 100644 --- a/extra/gpu/buffers/buffers-docs.factor +++ b/extra/gpu/buffers/buffers-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.data byte-arrays destructors help.markup help.syntax -kernel math quotations ; +USING: alien byte-arrays destructors help.markup help.syntax +math ; IN: gpu.buffers HELP: diff --git a/extra/gpu/buffers/buffers.factor b/extra/gpu/buffers/buffers.factor index c03dcea011..7e2268dbba 100644 --- a/extra/gpu/buffers/buffers.factor +++ b/extra/gpu/buffers/buffers.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.c-types alien.data arrays byte-arrays -combinators destructors gpu kernel locals math opengl opengl.gl +combinators destructors gpu kernel math opengl opengl.gl typed ui.gadgets.worlds variants ; IN: gpu.buffers diff --git a/extra/gpu/shaders/prettyprint/prettyprint.factor b/extra/gpu/shaders/prettyprint/prettyprint.factor index 20bc8b9f51..10afe4bee1 100644 --- a/extra/gpu/shaders/prettyprint/prettyprint.factor +++ b/extra/gpu/shaders/prettyprint/prettyprint.factor @@ -1,4 +1,5 @@ USING: accessors debugger gpu.shaders io kernel prettyprint ; +IN: gpu.shaders.prettyprint M: compile-shader-error error. "The GLSL shader " write diff --git a/extra/gpu/shaders/shaders.factor b/extra/gpu/shaders/shaders.factor index fb48ed0897..33b62f5078 100644 --- a/extra/gpu/shaders/shaders.factor +++ b/extra/gpu/shaders/shaders.factor @@ -2,14 +2,14 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien alien.c-types alien.data alien.strings arrays assocs byte-arrays classes.mixin classes.parser -classes.singleton classes.struct combinators combinators.short-circuit -definitions destructors fry generic.parser gpu gpu.buffers gpu.private -gpu.state hashtables images io.encodings.ascii io.files io.pathnames -kernel lexer literals locals math math.parser memoize multiline namespaces +classes.singleton classes.struct combinators +combinators.short-circuit definitions destructors generic.parser +gpu gpu.buffers gpu.private gpu.state hashtables images +io.encodings.ascii io.files io.pathnames kernel lexer literals +math math.floats.half math.parser memoize multiline namespaces opengl opengl.gl opengl.shaders parser quotations sequences -specialized-arrays splitting strings tr ui.gadgets.worlds -variants vectors vocabs vocabs.loader vocabs.parser words -words.constant math.floats.half typed ; +specialized-arrays splitting strings tr typed ui.gadgets.worlds +variants vocabs.loader words words.constant ; QUALIFIED-WITH: alien.c-types c SPECIALIZED-ARRAY: int SPECIALIZED-ARRAY: void* diff --git a/extra/gpu/textures/textures.factor b/extra/gpu/textures/textures.factor index 26f14b1600..6f72e2138e 100644 --- a/extra/gpu/textures/textures.factor +++ b/extra/gpu/textures/textures.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types arrays byte-arrays combinators -destructors fry gpu gpu.buffers images kernel locals math -opengl opengl.gl opengl.textures sequences +destructors gpu gpu.buffers images kernel math +opengl.gl opengl.textures sequences specialized-arrays typed ui.gadgets.worlds variants ; FROM: alien.c-types => float ; SPECIALIZED-ARRAY: float diff --git a/extra/html/elements/elements.factor b/extra/html/elements/elements.factor index b30a993776..176e9c564d 100644 --- a/extra/html/elements/elements.factor +++ b/extra/html/elements/elements.factor @@ -1,9 +1,6 @@ ! Copyright (C) 2004, 2009 Chris Double, Daniel Ehrenberg. ! See http://factorcode.org/license.txt for BSD license. -USING: io io.styles kernel namespaces prettyprint quotations -sequences strings words xml.entities compiler.units effects -xml.data urls math math.parser combinators -present fry io.streams.string xml.writer html ; +USING: io.styles kernel present sequences words xml.entities ; IN: html.elements SYMBOL: html diff --git a/extra/html/parser/analyzer/analyzer.factor b/extra/html/parser/analyzer/analyzer.factor index 1e004c09ec..43b859d618 100644 --- a/extra/html/parser/analyzer/analyzer.factor +++ b/extra/html/parser/analyzer/analyzer.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs assocs.extras combinators -combinators.short-circuit fry html.parser http.client io kernel -locals math math.statistics sequences sets shuffle splitting -unicode urls urls.encoding ; +combinators.short-circuit html.parser http.client io kernel math +math.statistics sequences sets splitting unicode urls +urls.encoding ; IN: html.parser.analyzer : scrape-html ( url -- response vector ) diff --git a/extra/html/parser/parser.factor b/extra/html/parser/parser.factor index f9bb72d434..3b6db6aab3 100644 --- a/extra/html/parser/parser.factor +++ b/extra/html/parser/parser.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays hashtables sequences.parser -html.parser.utils kernel namespaces sequences make math -unicode combinators.short-circuit quoting fry ; +USING: accessors combinators.short-circuit html.parser.utils +kernel make math namespaces quoting sequences sequences.parser +unicode ; IN: html.parser TUPLE: tag name attributes text closing? ; diff --git a/extra/http2/hpack/hpack-docs.factor b/extra/http2/hpack/hpack-docs.factor index f381726b87..b409e2bc6e 100644 --- a/extra/http2/hpack/hpack-docs.factor +++ b/extra/http2/hpack/hpack-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2021 Your name. ! See http://factorcode.org/license.txt for BSD license. -USING: byte-arrays help.markup help.syntax kernel sequences strings ; +USING: byte-arrays help.markup help.syntax sequences strings ; IN: http2.hpack HELP: hpack-context diff --git a/extra/http2/hpack/hpack.factor b/extra/http2/hpack/hpack.factor index 5fbfad5e61..b5c87fd889 100644 --- a/extra/http2/hpack/hpack.factor +++ b/extra/http2/hpack/hpack.factor @@ -1,6 +1,6 @@ -USING: accessors arrays byte-arrays byte-vectors combinators fry -http2.hpack.huffman io.encodings.string io.encodings.utf8 locals -kernel math math.functions math.bitwise multiline sequences ; +USING: accessors arrays byte-arrays byte-vectors combinators +http2.hpack.huffman io.encodings.string io.encodings.utf8 kernel +math math.bitwise multiline sequences ; IN: http2.hpack diff --git a/extra/http2/server/server.factor b/extra/http2/server/server.factor index f066e96d0d..3d5c1349e9 100644 --- a/extra/http2/server/server.factor +++ b/extra/http2/server/server.factor @@ -1,6 +1,6 @@ -USING: accessors continuations http http.server http.server.requests -io io.encodings.ascii io.servers io.sockets io.streams.peek -io.streams.limited kernel namespaces openssl.libssl ; +USING: accessors continuations http http.server +http.server.requests io.encodings.ascii io.servers io.sockets +io.streams.limited kernel namespaces ; IN: http2.server diff --git a/extra/icfp/2006/2006.factor b/extra/icfp/2006/2006.factor index 7e14378c4e..26176916b5 100644 --- a/extra/icfp/2006/2006.factor +++ b/extra/icfp/2006/2006.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2007 Gavin Harrison ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math sequences kernel.private namespaces arrays io -io.files splitting grouping math.functions vectors endian -quotations combinators io.encodings.binary ; +USING: arrays combinators endian grouping io io.encodings.binary +io.files kernel math math.functions namespaces sequences vectors ; IN: icfp.2006 SYMBOL: regs diff --git a/extra/id3/id3.factor b/extra/id3/id3.factor index 7d1f68af13..4e24860e14 100644 --- a/extra/id3/id3.factor +++ b/extra/id3/id3.factor @@ -1,12 +1,10 @@ ! Copyright (C) 2009 Tim Wawrzynczak, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: sequences io io.encodings.binary io.files io.pathnames -strings kernel math io.mmap accessors combinators ranges -unicode byte-arrays io.encodings.string -io.encodings.utf16 assocs math.parser combinators.short-circuit -fry namespaces combinators.smart splitting io.encodings.ascii -arrays io.files.info io.directories literals -math.functions continuations ; +USING: accessors arrays assocs byte-arrays +combinators combinators.short-circuit combinators.smart +continuations io.directories io.encodings.ascii +io.encodings.string io.encodings.utf16 io.mmap kernel math +math.functions math.parser sequences splitting unicode ; FROM: alien.c-types => uchar ; IN: id3 diff --git a/extra/images/atlas/atlas.factor b/extra/images/atlas/atlas.factor index 84e9b90f3c..721490d170 100644 --- a/extra/images/atlas/atlas.factor +++ b/extra/images/atlas/atlas.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs byte-arrays fry images kernel -locals math math.functions math.order math.vectors namespaces -sequences sorting ; +USING: accessors arrays assocs byte-arrays images kernel math +math.functions math.order math.vectors sequences sorting ; IN: images.atlas ! sort rects by height/width/whatever diff --git a/extra/images/gif/gif-docs.factor b/extra/images/gif/gif-docs.factor index 935e8f6beb..a1d2a01ad0 100644 --- a/extra/images/gif/gif-docs.factor +++ b/extra/images/gif/gif-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Keith Lazuka. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel sequences ; +USING: help.markup help.syntax ; IN: images.gif ARTICLE: "images.gif" "GIF Image Loader" diff --git a/extra/images/gif/gif.factor b/extra/images/gif/gif.factor index 0fd010675d..079efdbb5c 100644 --- a/extra/images/gif/gif.factor +++ b/extra/images/gif/gif.factor @@ -1,9 +1,8 @@ ! Copyrigt (C) 2009 Doug Coleman, Keith Lazuka ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators compression.lzw -constructors destructors endian grouping images images.loader -io io.buffers io.encodings.string io.encodings.utf8 -kernel make math math.bitwise namespaces sequences ; +USING: accessors arrays combinators compression.lzw constructors +endian grouping images images.loader io io.encodings.string +io.encodings.utf8 kernel make math math.bitwise sequences ; IN: images.gif SINGLETON: gif-image diff --git a/extra/images/tiff/tiff.factor b/extra/images/tiff/tiff.factor index 7bdbf34327..ba57b00c85 100644 --- a/extra/images/tiff/tiff.factor +++ b/extra/images/tiff/tiff.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs byte-arrays combinators -combinators.short-circuit compression.lzw endian fry grouping +combinators.short-circuit compression.lzw endian grouping images images.loader io io.encodings.ascii io.encodings.string io.encodings.utf8 io.streams.throwing kernel math math.bitwise math.vectors pack sequences ; diff --git a/extra/images/viewer/viewer.factor b/extra/images/viewer/viewer.factor index f738a646e6..28471b37f0 100644 --- a/extra/images/viewer/viewer.factor +++ b/extra/images/viewer/viewer.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007, 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays combinators.short-circuit continuations -destructors images images.loader io.pathnames kernel locals math +destructors images images.loader io.pathnames kernel math models opengl.gl opengl.textures opengl.textures.private sequences strings ui ui.gadgets ui.gadgets.panes ui.gadgets.worlds ui.render ; diff --git a/extra/io/encodings/detect/detect.factor b/extra/io/encodings/detect/detect.factor index 2f1ab0572f..a111c2109f 100644 --- a/extra/io/encodings/detect/detect.factor +++ b/extra/io/encodings/detect/detect.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: byte-arrays combinators continuations fry io io.encodings +USING: byte-arrays combinators continuations io io.encodings io.encodings.ascii io.encodings.binary io.encodings.iana io.encodings.latin1 io.encodings.string io.encodings.utf16 io.encodings.utf32 io.encodings.utf8 io.files kernel literals diff --git a/extra/irc/client/client-docs.factor b/extra/irc/client/client-docs.factor index dd00e76840..698762dc6a 100644 --- a/extra/irc/client/client-docs.factor +++ b/extra/irc/client/client-docs.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax quotations kernel -irc.messages irc.messages.base irc.messages.parser irc.client.chats ; +USING: help.markup help.syntax irc.client.chats irc.messages +irc.messages.base ; IN: irc.client HELP: connect-irc "Connecting to an irc server" diff --git a/extra/irc/client/client.factor b/extra/irc/client/client.factor index 3f1dba353c..0ae648e995 100644 --- a/extra/irc/client/client.factor +++ b/extra/irc/client/client.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008 Bruno Deferrari, Doug Coleman, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors concurrency.mailboxes destructors -irc.client.base irc.client.chats irc.client.internals kernel -namespaces sequences ; +USING: accessors concurrency.mailboxes irc.client.base +irc.client.internals kernel ; IN: irc.client : connect-irc ( irc-client -- ) diff --git a/extra/irc/client/internals/internals.factor b/extra/irc/client/internals/internals.factor index 2cf2975a93..03632f41f5 100644 --- a/extra/irc/client/internals/internals.factor +++ b/extra/irc/client/internals/internals.factor @@ -1,9 +1,10 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs arrays concurrency.mailboxes continuations destructors -hashtables io irc.client.base irc.client.chats irc.messages kernel namespaces -strings words.symbol irc.messages.base irc.client.participants fry threads -combinators irc.messages.parser math sequences ; +USING: accessors arrays assocs combinators concurrency.mailboxes +continuations destructors io irc.client.base irc.client.chats +irc.client.participants irc.messages irc.messages.base +irc.messages.parser kernel math sequences strings threads +words.symbol ; IN: irc.client.internals : do-connect ( server port quot: ( host port -- stream ) attempts -- stream/f ) diff --git a/extra/irc/messages/parser/parser.factor b/extra/irc/messages/parser/parser.factor index 991813f4d3..64abb07c3b 100644 --- a/extra/irc/messages/parser/parser.factor +++ b/extra/irc/messages/parser/parser.factor @@ -1,8 +1,6 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: kernel fry splitting ascii accessors combinators - arrays classes.tuple math.order words assocs - irc.messages.base sequences ; +USING: accessors irc.messages.base kernel sequences splitting ; IN: irc.messages.parser distance ; FROM: alien.c-types => float ; SPECIALIZED-ARRAY: float diff --git a/extra/macho/macho.factor b/extra/macho/macho.factor index 472ceb76b7..26a5036e17 100644 --- a/extra/macho/macho.factor +++ b/extra/macho/macho.factor @@ -4,7 +4,7 @@ USING: accessors alien alien.c-types alien.data alien.strings alien.syntax classes classes.struct combinators combinators.short-circuit io.encodings.ascii io.encodings.string kernel literals make math sequences specialized-arrays typed -fry io.mmap formatting locals splitting endian arrays ; +io.mmap formatting splitting endian ; FROM: alien.c-types => short ; IN: macho diff --git a/extra/math/blas/matrices/matrices.factor b/extra/math/blas/matrices/matrices.factor index 250d127d09..10f8c49db8 100644 --- a/extra/math/blas/matrices/matrices.factor +++ b/extra/math/blas/matrices/matrices.factor @@ -1,11 +1,8 @@ -USING: accessors alien alien.c-types alien.complex -alien.data arrays byte-arrays combinators -combinators.short-circuit fry kernel locals macros math -math.blas.ffi math.blas.vectors math.blas.vectors.private -math.complex math.functions math.order functors words -sequences sequences.merged sequences.private shuffle -parser prettyprint.backend prettyprint.custom ascii -specialized-arrays ; +USING: accessors alien alien.c-types alien.complex alien.data +ascii byte-arrays combinators combinators.short-circuit functors +kernel math math.blas.ffi math.blas.vectors +math.blas.vectors.private parser prettyprint.custom sequences +sequences.merged sequences.private specialized-arrays ; FROM: alien.c-types => float ; SPECIALIZED-ARRAY: float SPECIALIZED-ARRAY: double diff --git a/extra/math/combinatorics/bits/bits.factor b/extra/math/combinatorics/bits/bits.factor index 23c62c9bda..e3dc51adbc 100644 --- a/extra/math/combinatorics/bits/bits.factor +++ b/extra/math/combinatorics/bits/bits.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2013 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: fry kernel math math.bitwise sequences ; +USING: kernel math math.bitwise sequences ; IN: math.combinatorics.bits : next-permutation-bits ( v -- w ) diff --git a/extra/math/dual/dual-docs.factor b/extra/math/dual/dual-docs.factor index 7768d55133..261e99e9dd 100644 --- a/extra/math/dual/dual-docs.factor +++ b/extra/math/dual/dual-docs.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2009 Jason W. Merrill. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel words math math.functions math.derivatives.syntax ; +USING: help.markup help.syntax kernel math +math.derivatives.syntax words ; IN: math.dual HELP: diff --git a/extra/math/dual/dual.factor b/extra/math/dual/dual.factor index 2f716dfd5e..b125861c83 100644 --- a/extra/math/dual/dual.factor +++ b/extra/math/dual/dual.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2009 Jason W. Merrill. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.functions math.derivatives accessors - macros generic compiler.units words effects vocabs - sequences arrays assocs generalizations fry make - combinators.smart help help.markup ; +USING: accessors arrays assocs combinators.smart compiler.units +effects generalizations help help.markup kernel make math +sequences vocabs words ; IN: math.dual diff --git a/extra/math/extras/extras-docs.factor b/extra/math/extras/extras-docs.factor index 0d9ce14515..bf599371d2 100644 --- a/extra/math/extras/extras-docs.factor +++ b/extra/math/extras/extras-docs.factor @@ -1,7 +1,8 @@ ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: help.markup help.syntax kernel math math.functions sequences ; +USING: help.markup help.syntax kernel math math.functions +sequences ; IN: math.extras diff --git a/extra/math/extras/extras.factor b/extra/math/extras/extras.factor index 97c0ce096b..434d09aa37 100644 --- a/extra/math/extras/extras.factor +++ b/extra/math/extras/extras.factor @@ -1,13 +1,12 @@ ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors arrays assocs assocs.extras byte-arrays -combinators combinators.short-circuit compression.zlib fry -grouping kernel locals math math.bitwise math.combinatorics -math.constants math.functions math.order math.primes -math.primes.factors ranges ranges.private -math.statistics math.vectors memoize parser random sequences -sequences.extras sequences.private sets sorting sorting.extras ; +USING: accessors arrays assocs byte-arrays combinators +combinators.short-circuit compression.zlib grouping kernel math +math.bitwise math.combinatorics math.constants math.functions +math.order math.primes math.primes.factors math.statistics +math.vectors random ranges ranges.private sequences +sequences.extras sets sorting sorting.extras ; IN: math.extras diff --git a/extra/math/factorials/factorials.factor b/extra/math/factorials/factorials.factor index c97194af80..06d3eac028 100644 --- a/extra/math/factorials/factorials.factor +++ b/extra/math/factorials/factorials.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2013 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: combinators combinators.short-circuit fry inverse kernel -math math.functions math.primes ranges memoize sequences ; +USING: combinators combinators.short-circuit inverse kernel +math math.functions math.primes ranges sequences ; IN: math.factorials diff --git a/extra/math/finance/finance.factor b/extra/math/finance/finance.factor index 90efa15df5..e1566f6027 100644 --- a/extra/math/finance/finance.factor +++ b/extra/math/finance/finance.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 John Benediktsson, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: fry grouping kernel math math.statistics math.vectors +USING: grouping kernel math math.statistics math.vectors sequences ; IN: math.finance diff --git a/extra/math/function-tools/function-tools.factor b/extra/math/function-tools/function-tools.factor index 78c726d370..5481ef8809 100644 --- a/extra/math/function-tools/function-tools.factor +++ b/extra/math/function-tools/function-tools.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Reginald Keith Ford II. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math arrays sequences ; +USING: kernel math arrays ; IN: math.function-tools ! Tools for quickly comparing, transforming, and evaluating mathematical functions diff --git a/extra/math/matrices/elimination/elimination-docs.factor b/extra/math/matrices/elimination/elimination-docs.factor index 6994632734..facf167e74 100644 --- a/extra/math/matrices/elimination/elimination-docs.factor +++ b/extra/math/matrices/elimination/elimination-docs.factor @@ -1,4 +1,4 @@ -USING: help.markup help.syntax math sequences ; +USING: help.markup help.syntax sequences ; IN: math.matrices.elimination diff --git a/extra/math/matrices/elimination/elimination.factor b/extra/math/matrices/elimination/elimination.factor index 19af0a4965..970e316f63 100644 --- a/extra/math/matrices/elimination/elimination.factor +++ b/extra/math/matrices/elimination/elimination.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2006, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel locals math math.vectors math.matrices -namespaces sequences fry sorting ; +USING: kernel math math.matrices math.vectors namespaces +sequences ; IN: math.matrices.elimination SYMBOL: matrix diff --git a/extra/math/matrices/extras/extras.factor b/extra/math/matrices/extras/extras.factor index 856971185c..f142f489b2 100644 --- a/extra/math/matrices/extras/extras.factor +++ b/extra/math/matrices/extras/extras.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2005, 2010, 2018 Slava Pestov, Joe Groff, and Cat Stevens. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators formatting fry kernel locals -math math.bits math.functions math.matrices -math.matrices.private math.order math.statistics math.text.english -math.vectors random sequences sequences.deep summary ; +USING: accessors arrays combinators formatting kernel math +math.bits math.functions math.matrices math.order +math.statistics math.text.english math.vectors random sequences +sequences.deep summary ; IN: math.matrices.extras ! this is a questionable implementation diff --git a/extra/math/matrices/laplace/laplace.factor b/extra/math/matrices/laplace/laplace.factor index 932c5b2897..306895e7d4 100644 --- a/extra/math/matrices/laplace/laplace.factor +++ b/extra/math/matrices/laplace/laplace.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2013 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays classes fry kernel locals math -math.matrices math.vectors sequences sequences.private ; +USING: accessors classes kernel math math.matrices math.vectors +sequences sequences.private ; IN: math.matrices.laplace nth-unsafe ; diff --git a/extra/math/primes/solovay-strassen/solovay-strassen.factor b/extra/math/primes/solovay-strassen/solovay-strassen.factor index 167baa6a45..4313d349b6 100644 --- a/extra/math/primes/solovay-strassen/solovay-strassen.factor +++ b/extra/math/primes/solovay-strassen/solovay-strassen.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: combinators kernel locals math math.extras -math.extras.private math.functions ranges random sequences ; +USING: combinators kernel math math.extras math.extras.private +math.functions ranges random sequences ; IN: math.primes.solovay-strassen diff --git a/extra/math/quadratic/quadratic.factor b/extra/math/quadratic/quadratic.factor index 892b846e9e..9281e4ba71 100644 --- a/extra/math/quadratic/quadratic.factor +++ b/extra/math/quadratic/quadratic.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2007 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel locals math math.functions ; +USING: kernel math math.functions ; IN: math.quadratic : monic ( c b a -- c' b' ) [ / ] curry bi@ ; diff --git a/extra/math/runge-kutta/examples/examples.factor b/extra/math/runge-kutta/examples/examples.factor index 715263e306..9bc329cfef 100644 --- a/extra/math/runge-kutta/examples/examples.factor +++ b/extra/math/runge-kutta/examples/examples.factor @@ -1,5 +1,6 @@ -USING: kernel io accessors arrays math.runge-kutta sequences math math.matrices - ui.gadgets ui.gadgets.charts ui.gadgets.panes ui.gadgets.charts.lines ui.theme ; +USING: accessors arrays kernel math math.matrices +math.runge-kutta sequences ui.gadgets ui.gadgets.charts +ui.gadgets.charts.lines ui.gadgets.panes ui.theme ; IN: math.runge-kutta.examples : lorenz-dx/dt ( tx..n -- dx ) diff --git a/extra/math/runge-kutta/runge-kutta.factor b/extra/math/runge-kutta/runge-kutta.factor index 75b08b12a9..8ed6c25777 100755 --- a/extra/math/runge-kutta/runge-kutta.factor +++ b/extra/math/runge-kutta/runge-kutta.factor @@ -1,5 +1,5 @@ -USING: kernel accessors fry combinators sequences sequences.generalizations - arrays math math.vectors math.functions ; +USING: kernel accessors combinators sequences sequences.generalizations +arrays math math.vectors ; IN: math.runge-kutta : runge-kutta-2-transform ( rk1 tx..n delta -- tx..n' delta ) diff --git a/extra/math/secant-method/secant-method.factor b/extra/math/secant-method/secant-method.factor index 0d32562241..ae4f524ffe 100644 --- a/extra/math/secant-method/secant-method.factor +++ b/extra/math/secant-method/secant-method.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Reginald Keith Ford II. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.function-tools math.points math.vectors ; +USING: kernel math math.function-tools math.points ; IN: math.secant-method ! Secant method of approximating roots diff --git a/extra/math/splines/splines.factor b/extra/math/splines/splines.factor index 1352b34322..9005c2d0c3 100644 --- a/extra/math/splines/splines.factor +++ b/extra/math/splines/splines.factor @@ -1,9 +1,7 @@ ! Copyright (C) 2010 Erik Charlebois ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators kernel locals math math.combinatorics -math.polynomials opengl.gl sequences ui.gadgets ui.gadgets.panes -ui.render arrays grouping math.vectors assocs -ui.gestures ; +USING: arrays combinators grouping kernel math +math.combinatorics math.polynomials math.vectors sequences ; IN: math.splines find ; FROM: memory => gc ; - IN: mongodb.benchmark SYMBOL: collection diff --git a/extra/mongodb/mongodb-docs.factor b/extra/mongodb/mongodb-docs.factor index 17258e4026..10e8496728 100644 --- a/extra/mongodb/mongodb-docs.factor +++ b/extra/mongodb/mongodb-docs.factor @@ -1,4 +1,4 @@ -USING: assocs help.markup help.syntax kernel quotations ; +USING: help.markup help.syntax ; IN: mongodb ARTICLE: "mongodb" "MongoDB factor integration" diff --git a/extra/mongodb/tuple/state/state.factor b/extra/mongodb/tuple/state/state.factor index d5f7f7ec95..8a569d19f8 100644 --- a/extra/mongodb/tuple/state/state.factor +++ b/extra/mongodb/tuple/state/state.factor @@ -1,6 +1,4 @@ -USING: classes kernel accessors sequences fry assocs mongodb.tuple.collection -words classes.tuple slots generic ; - +USING: accessors assocs classes kernel sequences ; IN: mongodb.tuple.state csv) ( xml -- table ) diff --git a/extra/nehe/3/3.factor b/extra/nehe/3/3.factor index 1a3181dfba..d6dbe4b438 100644 --- a/extra/nehe/3/3.factor +++ b/extra/nehe/3/3.factor @@ -1,5 +1,5 @@ -USING: arrays kernel math opengl opengl.gl opengl.glu -opengl.demo-support ui ui.gadgets ui.render literals accessors ; +USING: accessors kernel literals math opengl.demo-support +opengl.gl opengl.glu ui ui.gadgets ui.render ; IN: nehe.3 TUPLE: nehe3-gadget < gadget ; diff --git a/extra/nehe/4/4.factor b/extra/nehe/4/4.factor index 377f1f2a00..0eecd2bc1a 100644 --- a/extra/nehe/4/4.factor +++ b/extra/nehe/4/4.factor @@ -1,6 +1,6 @@ -USING: arrays kernel math opengl opengl.gl opengl.glu -opengl.demo-support ui ui.gadgets ui.render ui.pixel-formats -threads accessors calendar literals ; +USING: accessors calendar kernel literals math +opengl.demo-support opengl.gl opengl.glu threads ui ui.gadgets +ui.pixel-formats ui.render ; IN: nehe.4 TUPLE: nehe4-gadget < gadget rtri rquad thread quit? ; diff --git a/extra/nehe/5/5.factor b/extra/nehe/5/5.factor index 021a9837b9..190312f4d1 100644 --- a/extra/nehe/5/5.factor +++ b/extra/nehe/5/5.factor @@ -1,6 +1,6 @@ -USING: arrays kernel math opengl opengl.gl opengl.glu -opengl.demo-support ui ui.gadgets ui.render ui.pixel-formats -threads accessors calendar literals ; +USING: accessors calendar kernel literals math +opengl.demo-support opengl.gl opengl.glu threads ui ui.gadgets +ui.pixel-formats ui.render ; IN: nehe.5 TUPLE: nehe5-gadget < gadget rtri rquad thread quit? ; diff --git a/extra/openal/alut/alut.factor b/extra/openal/alut/alut.factor index 97bedc4c47..be97a64743 100644 --- a/extra/openal/alut/alut.factor +++ b/extra/openal/alut/alut.factor @@ -1,11 +1,10 @@ ! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel accessors arrays alien system combinators -alien.syntax namespaces alien.c-types sequences vocabs -shuffle openal openal.alut.backend alien.libraries generalizations -specialized-arrays alien.destructors ; -FROM: alien.c-types => float short ; +USING: alien alien.c-types alien.libraries alien.syntax +combinators kernel namespaces openal openal.alut.backend +specialized-arrays system vocabs ; SPECIALIZED-ARRAY: uint +FROM: alien.c-types => float short ; IN: openal.alut << "alut" { diff --git a/extra/openal/alut/backend/backend.factor b/extra/openal/alut/backend/backend.factor index fc50d3d15e..dc8db486ed 100644 --- a/extra/openal/alut/backend/backend.factor +++ b/extra/openal/alut/backend/backend.factor @@ -1,4 +1,4 @@ -USING: namespaces system ; +USING: system ; IN: openal.alut.backend HOOK: load-wav-file os ( filename -- format data size frequency ) diff --git a/extra/openal/alut/other/other.factor b/extra/openal/alut/other/other.factor index 874dce17b9..da133d9692 100644 --- a/extra/openal/alut/other/other.factor +++ b/extra/openal/alut/other/other.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.data alien.syntax combinators -generalizations kernel openal openal.alut.backend ; +kernel openal openal.alut.backend ; IN: openal.alut.other LIBRARY: alut diff --git a/extra/openal/openal.factor b/extra/openal/openal.factor index 67bb49e16a..39ddaf7e4c 100644 --- a/extra/openal/openal.factor +++ b/extra/openal/openal.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2007 Chris Double. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel accessors arrays alien system combinators -alien.syntax namespaces sequences vocabs.loader -shuffle alien.libraries generalizations -specialized-arrays alien.destructors alien.data ; +USING: alien alien.data alien.destructors alien.libraries +alien.syntax arrays combinators kernel sequences +specialized-arrays system ; FROM: alien.c-types => char double float int short uchar uint ushort void ; SPECIALIZED-ARRAY: uint diff --git a/extra/opencl/ffi/ffi.factor b/extra/opencl/ffi/ffi.factor index d82a4825e9..515c5644e1 100644 --- a/extra/opencl/ffi/ffi.factor +++ b/extra/opencl/ffi/ffi.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2010 Erik Charlebois. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.data alien.libraries alien.syntax -classes.struct combinators system alien.accessors byte-arrays -kernel ; +USING: alien alien.c-types alien.libraries alien.syntax +classes.struct combinators system ; IN: opencl.ffi << "opencl" { diff --git a/extra/opengl/demo-support/demo-support.factor b/extra/opengl/demo-support/demo-support.factor index a433bfacab..5c639e5020 100644 --- a/extra/opengl/demo-support/demo-support.factor +++ b/extra/opengl/demo-support/demo-support.factor @@ -1,6 +1,6 @@ -USING: arrays kernel math math.functions math.order math.vectors -namespaces opengl opengl.gl sequences ui ui.gadgets ui.gestures -ui.gadgets.worlds ui.render accessors combinators literals ; +USING: accessors combinators kernel literals math math.functions +math.order math.vectors namespaces opengl opengl.gl sequences +ui.gadgets ui.gadgets.worlds ui.gestures ; IN: opengl.demo-support CONSTANT: FOV $[ 2.0 sqrt 1 + ] diff --git a/extra/pdf/values/values.factor b/extra/pdf/values/values.factor index effc913b94..1ad24f9a80 100644 --- a/extra/pdf/values/values.factor +++ b/extra/pdf/values/values.factor @@ -1,10 +1,9 @@ ! Copyright (C) 2011-2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors arrays assocs calendar colors colors.gray -combinators combinators.short-circuit fonts formatting -hashtables io kernel make math math.parser sequences splitting -strings xml.entities ; +USING: accessors assocs calendar colors combinators fonts +formatting hashtables io kernel make math math.parser sequences +splitting strings xml.entities ; IN: pdf.values diff --git a/extra/project-euler/023/023.factor b/extra/project-euler/023/023.factor index f1f5c66eed..7d8961ec6d 100644 --- a/extra/project-euler/023/023.factor +++ b/extra/project-euler/023/023.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel math ranges project-euler.common +USING: kernel math ranges project-euler.common sequences sets ; IN: project-euler.023 diff --git a/extra/project-euler/035/035.factor b/extra/project-euler/035/035.factor index 0824151ffa..30a4f6d09b 100644 --- a/extra/project-euler/035/035.factor +++ b/extra/project-euler/035/035.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.combinatorics math.parser math.primes - project-euler.common sequences ; +USING: kernel math math.primes project-euler.common sequences ; IN: project-euler.035 ! http://projecteuler.net/index.php?section=problems&id=35 diff --git a/extra/project-euler/038/038.factor b/extra/project-euler/038/038.factor index 0fee4c89d7..dadde963ec 100644 --- a/extra/project-euler/038/038.factor +++ b/extra/project-euler/038/038.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math ranges project-euler.common sequences - strings ; +USING: kernel math ranges project-euler.common sequences ; IN: project-euler.038 ! http://projecteuler.net/index.php?section=problems&id=38 diff --git a/extra/project-euler/040/040.factor b/extra/project-euler/040/040.factor index 99859a9422..acbd983f6f 100644 --- a/extra/project-euler/040/040.factor +++ b/extra/project-euler/040/040.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.parser sequences strings project-euler.common ; +USING: kernel math math.parser sequences project-euler.common ; IN: project-euler.040 ! http://projecteuler.net/index.php?section=problems&id=40 diff --git a/extra/project-euler/041/041.factor b/extra/project-euler/041/041.factor index 5bf7075208..6247036def 100644 --- a/extra/project-euler/041/041.factor +++ b/extra/project-euler/041/041.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math.combinatorics math.parser math.primes sequences project-euler.common ; +USING: kernel math.combinatorics math.primes sequences project-euler.common ; IN: project-euler.041 ! http://projecteuler.net/index.php?section=problems&id=41 diff --git a/extra/project-euler/042/042.factor b/extra/project-euler/042/042.factor index e531ba848f..224a47c4ec 100644 --- a/extra/project-euler/042/042.factor +++ b/extra/project-euler/042/042.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. USING: ascii io.encodings.ascii io.files kernel make math math.functions - namespaces project-euler.common sequences splitting ; +project-euler.common sequences splitting ; IN: project-euler.042 ! http://projecteuler.net/index.php?section=problems&id=42 diff --git a/extra/project-euler/044/044.factor b/extra/project-euler/044/044.factor index 25ead5e1c1..747e058eb5 100644 --- a/extra/project-euler/044/044.factor +++ b/extra/project-euler/044/044.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.functions ranges math.order -project-euler.common sequences layouts ; +USING: kernel math ranges math.order project-euler.common +sequences layouts ; IN: project-euler.044 ! http://projecteuler.net/index.php?section=problems&id=44 diff --git a/extra/project-euler/046/046.factor b/extra/project-euler/046/046.factor index 72e117f381..611a348bf3 100644 --- a/extra/project-euler/046/046.factor +++ b/extra/project-euler/046/046.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. USING: kernel math math.functions math.primes ranges -sequences project-euler.common math.bitwise ; +sequences project-euler.common ; IN: project-euler.046 ! http://projecteuler.net/index.php?section=problems&id=46 diff --git a/extra/project-euler/049/049.factor b/extra/project-euler/049/049.factor index dac34da9ff..0594b8b039 100644 --- a/extra/project-euler/049/049.factor +++ b/extra/project-euler/049/049.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2009 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays byte-arrays fry kernel math math.combinatorics math.functions - math.parser math.primes project-euler.common sequences sets ; +USING: arrays kernel math math.primes project-euler.common +sequences sets ; FROM: project-euler.common => permutations? ; IN: project-euler.049 diff --git a/extra/project-euler/050/050.factor b/extra/project-euler/050/050.factor index 6a4f6ee80e..a86a1966e7 100644 --- a/extra/project-euler/050/050.factor +++ b/extra/project-euler/050/050.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays kernel locals math math.order math.primes +USING: arrays kernel math math.order math.primes project-euler.common sequences ; IN: project-euler.050 diff --git a/extra/project-euler/051/051.factor b/extra/project-euler/051/051.factor index 514b9ca831..73b6325b2c 100644 --- a/extra/project-euler/051/051.factor +++ b/extra/project-euler/051/051.factor @@ -26,7 +26,7 @@ ! for each prime number, count the families it belongs to. When one reaches count of 8, stop, and get the smallest number by replacing * with ones. -USING: assocs fry kernel math math.combinatorics math.functions +USING: assocs kernel math math.combinatorics math.functions math.order math.parser math.primes ranges namespaces project-euler.common sequences sets ; IN: project-euler.051 diff --git a/extra/project-euler/055/055.factor b/extra/project-euler/055/055.factor index 598fad9bce..f82494b4df 100644 --- a/extra/project-euler/055/055.factor +++ b/extra/project-euler/055/055.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math ranges project-euler.common sequences ; +USING: kernel math project-euler.common sequences ; IN: project-euler.055 ! http://projecteuler.net/index.php?section=problems&id=55 diff --git a/extra/project-euler/057/057.factor b/extra/project-euler/057/057.factor index 42e2edc6f5..03b6d09f2e 100644 --- a/extra/project-euler/057/057.factor +++ b/extra/project-euler/057/057.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2008 Samuel Tardieu ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.functions math.parser ranges project-euler.common - sequences ; +USING: kernel math math.parser project-euler.common sequences ; IN: project-euler.057 ! http://projecteuler.net/index.php?section=problems&id=57 diff --git a/extra/project-euler/058/058.factor b/extra/project-euler/058/058.factor index e28ce2968f..a498c73839 100644 --- a/extra/project-euler/058/058.factor +++ b/extra/project-euler/058/058.factor @@ -1,6 +1,7 @@ ! Copyright (c) 2009 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel math math.primes ranges project-euler.common sequences ; +USING: kernel math math.primes project-euler.common ranges +sequences ; IN: project-euler.058 ! http://projecteuler.net/index.php?section=problems&id=58 diff --git a/extra/project-euler/059/059.factor b/extra/project-euler/059/059.factor index 306746b601..96323d7715 100644 --- a/extra/project-euler/059/059.factor +++ b/extra/project-euler/059/059.factor @@ -1,8 +1,8 @@ ! Copyright (c) 2008 Aaron Schaefer, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays ascii assocs hashtables io.encodings.ascii io.files kernel math - math.parser namespaces make sequences sequences.private sorting - splitting grouping strings sets accessors project-euler.common ; +USING: accessors arrays ascii assocs grouping io.encodings.ascii +io.files kernel make math math.parser project-euler.common +sequences sequences.private sets sorting splitting ; IN: project-euler.059 ! http://projecteuler.net/index.php?section=problems&id=59 diff --git a/extra/project-euler/060/060.factor b/extra/project-euler/060/060.factor index 95311bb650..fbfba4c1c9 100644 --- a/extra/project-euler/060/060.factor +++ b/extra/project-euler/060/060.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license USING: backtrack backtrack.private combinators.short-circuit -kernel locals math math.functions math.primes +kernel math math.functions math.primes project-euler.common sequences ; IN: project-euler.060 diff --git a/extra/project-euler/064/064.factor b/extra/project-euler/064/064.factor index 7c0a377909..0f3b9702af 100644 --- a/extra/project-euler/064/064.factor +++ b/extra/project-euler/064/064.factor @@ -1,6 +1,5 @@ -USING: accessors arrays classes.tuple io kernel locals math -math.functions ranges prettyprint project-euler.common -sequences ; +USING: accessors classes.tuple kernel math math.functions +project-euler.common ranges sequences ; IN: project-euler.064 ! http://projecteuler.net/index.php?section=problems&id=64 diff --git a/extra/project-euler/067/067.factor b/extra/project-euler/067/067.factor index 78dc45a961..b4fb69a9f0 100644 --- a/extra/project-euler/067/067.factor +++ b/extra/project-euler/067/067.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2007 Samuel Tardieu, Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: io.files math.parser namespaces project-euler.common +USING: io.files math.parser project-euler.common io.encodings.ascii sequences splitting ; IN: project-euler.067 diff --git a/extra/project-euler/069/069.factor b/extra/project-euler/069/069.factor index f3b0b830fc..c3ad069abf 100644 --- a/extra/project-euler/069/069.factor +++ b/extra/project-euler/069/069.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2009 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators fry kernel math math.primes math.primes.factors +USING: combinators kernel math math.primes math.primes.factors ranges project-euler.common sequences sequences.extras ; IN: project-euler.069 diff --git a/extra/project-euler/072/072.factor b/extra/project-euler/072/072.factor index c030484769..efb1b93447 100644 --- a/extra/project-euler/072/072.factor +++ b/extra/project-euler/072/072.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2009 Guillaume Nargeot. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.primes.factors ranges -project-euler.common sequences ; +USING: math.primes.factors project-euler.common ranges sequences ; IN: project-euler.072 ! http://projecteuler.net/index.php?section=problems&id=072 diff --git a/extra/project-euler/073/073.factor b/extra/project-euler/073/073.factor index b63a71946e..658b141cb9 100644 --- a/extra/project-euler/073/073.factor +++ b/extra/project-euler/073/073.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel locals math project-euler.common sequences ; +USING: kernel math project-euler.common ; IN: project-euler.073 ! http://projecteuler.net/index.php?section=problems&id=73 diff --git a/extra/project-euler/076/076.factor b/extra/project-euler/076/076.factor index 435258b62f..23ceb6fe44 100644 --- a/extra/project-euler/076/076.factor +++ b/extra/project-euler/076/076.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays assocs kernel locals math math.order ranges sequences project-euler.common ; +USING: arrays assocs kernel math math.order ranges sequences project-euler.common ; IN: project-euler.076 ! http://projecteuler.net/index.php?section=problems&id=76 diff --git a/extra/project-euler/081/081.factor b/extra/project-euler/081/081.factor index 3721a47f4c..5482f516ee 100644 --- a/extra/project-euler/081/081.factor +++ b/extra/project-euler/081/081.factor @@ -1,8 +1,7 @@ ! Copyright (c) 2009 Guillaume Nargeot. ! See http://factorcode.org/license.txt for BSD license. -USING: fry io.encodings.ascii io.files locals kernel math -math.order math.parser ranges sequences splitting -project-euler.common ; +USING: io.encodings.ascii io.files kernel math math.order +math.parser project-euler.common sequences splitting ; IN: project-euler.081 ! http://projecteuler.net/index.php?section=problems&id=081 diff --git a/extra/project-euler/085/085.factor b/extra/project-euler/085/085.factor index b0785aa294..3c04724c57 100644 --- a/extra/project-euler/085/085.factor +++ b/extra/project-euler/085/085.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2009 Guillaume Nargeot. ! See http://factorcode.org/license.txt for BSD license. USING: accessors kernel math ranges project-euler.common -sequences locals ; +sequences ; IN: project-euler.085 ! http://projecteuler.net/index.php?section=problems&id=85 diff --git a/extra/project-euler/087/087.factor b/extra/project-euler/087/087.factor index 0367e7a5a3..cd331d5674 100644 --- a/extra/project-euler/087/087.factor +++ b/extra/project-euler/087/087.factor @@ -1,4 +1,4 @@ -USING: locals math math.functions math.primes +USING: math math.functions math.primes project-euler.common sequences sets ; IN: project-euler.087 diff --git a/extra/project-euler/100/100.factor b/extra/project-euler/100/100.factor index 55a108aa68..dd71ed62b1 100644 --- a/extra/project-euler/100/100.factor +++ b/extra/project-euler/100/100.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.functions sequences project-euler.common ; +USING: kernel math math.functions project-euler.common ; IN: project-euler.100 ! http://projecteuler.net/index.php?section=problems&id=100 diff --git a/extra/project-euler/112/112.factor b/extra/project-euler/112/112.factor index d64168f1af..bd31b41338 100644 --- a/extra/project-euler/112/112.factor +++ b/extra/project-euler/112/112.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2009 Guillaume Nargeot. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays kernel math project-euler.common sequences sorting ; +USING: kernel math project-euler.common sequences sorting ; IN: project-euler.112 ! http://projecteuler.net/index.php?section=problems&id=112 diff --git a/extra/project-euler/117/117.factor b/extra/project-euler/117/117.factor index 60daa7224e..049a9cad5b 100644 --- a/extra/project-euler/117/117.factor +++ b/extra/project-euler/117/117.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.order sequences splitting project-euler.common ; +USING: kernel math project-euler.common sequences ; IN: project-euler.117 ! http://projecteuler.net/index.php?section=problems&id=117 diff --git a/extra/project-euler/134/134.factor b/extra/project-euler/134/134.factor index 503746b78c..36e45b989c 100644 --- a/extra/project-euler/134/134.factor +++ b/extra/project-euler/134/134.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2007 Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays kernel lists lists.lazy math.algebra math math.functions - math.order math.primes.lists ranges project-euler.common sequences ; +USING: arrays kernel lists lists.lazy math math.algebra +math.functions math.primes.lists project-euler.common ; IN: project-euler.134 ! http://projecteuler.net/index.php?section=problems&id=134 diff --git a/extra/project-euler/150/150.factor b/extra/project-euler/150/150.factor index 9399fe63d3..8891fe6216 100644 --- a/extra/project-euler/150/150.factor +++ b/extra/project-euler/150/150.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel locals math math.order ranges math.statistics +USING: kernel math math.order ranges math.statistics project-euler.common sequences sequences.private ; IN: project-euler.150 diff --git a/extra/project-euler/169/169.factor b/extra/project-euler/169/169.factor index efd1c8ee60..174fef12a2 100644 --- a/extra/project-euler/169/169.factor +++ b/extra/project-euler/169/169.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2007 Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. IN: project-euler.169 -USING: combinators kernel math math.functions memoize project-euler.common ; +USING: combinators kernel math math.functions project-euler.common ; ! http://projecteuler.net/index.php?section=problems&id=169 diff --git a/extra/project-euler/175/175.factor b/extra/project-euler/175/175.factor index b1bb6e3b89..9f47c343d5 100644 --- a/extra/project-euler/175/175.factor +++ b/extra/project-euler/175/175.factor @@ -1,6 +1,7 @@ ! Copyright (c) 2007 Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators kernel math math.parser ranges sequences vectors project-euler.common ; +USING: combinators kernel math math.parser project-euler.common +sequences ; IN: project-euler.175 ! http://projecteuler.net/index.php?section=problems&id=175 diff --git a/extra/project-euler/190/190.factor b/extra/project-euler/190/190.factor index 4f1437fd76..69f9a024b8 100644 --- a/extra/project-euler/190/190.factor +++ b/extra/project-euler/190/190.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel sequences math math.functions ranges locals project-euler.common ; +USING: kernel sequences math math.functions ranges project-euler.common ; IN: project-euler.190 ! http://projecteuler.net/index.php?section=problems&id=190 diff --git a/extra/project-euler/203/203.factor b/extra/project-euler/203/203.factor index c4fe0a7b8c..a3e011fee0 100644 --- a/extra/project-euler/203/203.factor +++ b/extra/project-euler/203/203.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: fry kernel math math.primes.factors math.vectors sequences sets +USING: kernel math math.primes.factors math.vectors sequences sets project-euler.common ; IN: project-euler.203 diff --git a/extra/project-euler/206/206.factor b/extra/project-euler/206/206.factor index 13f4369cbf..34bf3a088e 100644 --- a/extra/project-euler/206/206.factor +++ b/extra/project-euler/206/206.factor @@ -1,8 +1,8 @@ ! Copyright (c) 2010 Aaron Schaefer. All rights reserved. ! The contents of this file are licensed under the Simplified BSD License ! A copy of the license is available at http://factorcode.org/license.txt -USING: grouping kernel math ranges project-euler.common -sequences sequences.cords assocs ; +USING: grouping kernel math project-euler.common ranges +sequences sequences.cords ; IN: project-euler.206 ! http://projecteuler.net/index.php?section=problems&id=206 diff --git a/extra/project-euler/215/215.factor b/extra/project-euler/215/215.factor index c1e26a71ec..5ae262ff9a 100644 --- a/extra/project-euler/215/215.factor +++ b/extra/project-euler/215/215.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2008 Eric Mertens. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel locals math project-euler.common ; +USING: accessors kernel math project-euler.common ; IN: project-euler.215 ! http://projecteuler.net/index.php?section=problems&id=215 diff --git a/extra/project-euler/255/255.factor b/extra/project-euler/255/255.factor index 25974746ce..cc66e443b8 100644 --- a/extra/project-euler/255/255.factor +++ b/extra/project-euler/255/255.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2009 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays io kernel locals math math.functions math.parser ranges - namespaces prettyprint project-euler.common sequences threads ; +USING: kernel math math.functions project-euler.common ; IN: project-euler.255 ! http://projecteuler.net/index.php?section=problems&id=255 diff --git a/extra/project-euler/ave-time/ave-time-docs.factor b/extra/project-euler/ave-time/ave-time-docs.factor index 1fb41b61c0..168047fc5b 100644 --- a/extra/project-euler/ave-time/ave-time-docs.factor +++ b/extra/project-euler/ave-time/ave-time-docs.factor @@ -1,5 +1,4 @@ -USING: arrays help.markup help.syntax math math.parser memory quotations - sequences system tools.time ; +USING: help.markup help.syntax math quotations sequences ; IN: project-euler.ave-time HELP: collect-benchmarks diff --git a/extra/project-euler/ave-time/ave-time.factor b/extra/project-euler/ave-time/ave-time.factor index 9927486eb7..340c85d2af 100644 --- a/extra/project-euler/ave-time/ave-time.factor +++ b/extra/project-euler/ave-time/ave-time.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2007, 2008 Aaron Schaefer. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators.smart formatting fry io kernel macros math math.functions +USING: combinators.smart formatting io kernel math math.functions math.statistics memory sequences tools.time ; IN: project-euler.ave-time diff --git a/extra/project-euler/common/common.factor b/extra/project-euler/common/common.factor index 54ca443191..00f3f95cc0 100644 --- a/extra/project-euler/common/common.factor +++ b/extra/project-euler/common/common.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2007-2010 Aaron Schaefer. ! The contents of this file are licensed under the Simplified BSD License ! A copy of the license is available at http://factorcode.org/license.txt -USING: accessors arrays byte-arrays fry hints kernel lists make +USING: accessors arrays byte-arrays hints kernel lists make math math.functions math.matrices math.order math.parser math.primes.factors math.primes.lists ranges math.ratios math.vectors parser prettyprint sequences sorting strings diff --git a/extra/protocols/tftp/tftp.factor b/extra/protocols/tftp/tftp.factor index ae9a8eb639..38c4eaeaf7 100644 --- a/extra/protocols/tftp/tftp.factor +++ b/extra/protocols/tftp/tftp.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2019 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs combinators -combinators.short-circuit continuations destructors endian fry +combinators.short-circuit continuations destructors endian io io.directories io.encodings.binary io.encodings.latin1 io.encodings.string io.encodings.utf8 io.files io.files.info io.sockets kernel math math.parser namespaces pack prettyprint diff --git a/extra/punycode/punycode.factor b/extra/punycode/punycode.factor index bd3069060e..50fe310111 100644 --- a/extra/punycode/punycode.factor +++ b/extra/punycode/punycode.factor @@ -1,14 +1,9 @@ ! Copyright (C) 2020 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors arrays ascii assocs byte-arrays combinators -io.encodings.string io.encodings.utf8 kernel lexer linked-assocs -literals locals make math math.order math.parser multiline -namespaces peg.ebnf present prettyprint.backend -prettyprint.custom prettyprint.sections regexp sbufs sequences -sequences.extras sequences.generalizations sets sorting -splitting strings strings.parser urls urls.encoding -urls.encoding.private urls.private ; +USING: accessors ascii byte-arrays combinators kernel literals +math math.order sbufs sequences sequences.extras sets sorting +splitting urls ; IN: punycode diff --git a/extra/python/ffi/ffi.factor b/extra/python/ffi/ffi.factor index cf5e8f720e..2895c2bdf1 100644 --- a/extra/python/ffi/ffi.factor +++ b/extra/python/ffi/ffi.factor @@ -1,6 +1,5 @@ USING: alien alien.c-types alien.destructors alien.libraries -alien.libraries.finder alien.syntax assocs classes.struct kernel sequences -system ; +alien.libraries.finder alien.syntax classes.struct ; IN: python.ffi << "python" diff --git a/extra/quadtrees/quadtrees.factor b/extra/quadtrees/quadtrees.factor index b29af13f12..2d23015f23 100644 --- a/extra/quadtrees/quadtrees.factor +++ b/extra/quadtrees/quadtrees.factor @@ -1,6 +1,6 @@ ! (c) 2009 Joe Groff, see BSD license -USING: assocs kernel math.rectangles combinators accessors locals -math.vectors vectors sequences math combinators.short-circuit arrays fry ; +USING: assocs kernel math.rectangles combinators accessors +math.vectors vectors sequences math combinators.short-circuit arrays ; IN: quadtrees TUPLE: quadtree { bounds rect } point value ll lr ul ur leaf? ; diff --git a/extra/qw/qw-docs.factor b/extra/qw/qw-docs.factor index 63a5112cd7..8ae8f4f7e9 100644 --- a/extra/qw/qw-docs.factor +++ b/extra/qw/qw-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax multiline ; +USING: help.markup help.syntax ; IN: qw HELP: qw{ diff --git a/extra/qw/qw.factor b/extra/qw/qw.factor index d00b21f85d..3e88eb3773 100644 --- a/extra/qw/qw.factor +++ b/extra/qw/qw.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: lexer sequences parser ; +USING: lexer sequences ; IN: qw SYNTAX: qw{ "}" parse-tokens suffix! ; diff --git a/extra/random/blum-blum-shub/blum-blum-shub.factor b/extra/random/blum-blum-shub/blum-blum-shub.factor index dca24e7a3a..b86acd7ddd 100644 --- a/extra/random/blum-blum-shub/blum-blum-shub.factor +++ b/extra/random/blum-blum-shub/blum-blum-shub.factor @@ -1,5 +1,4 @@ -USING: kernel math sequences namespaces math.primes -math.functions accessors random ; +USING: accessors kernel math math.functions math.primes random ; IN: random.blum-blum-shub ! Blum Blum Shub, n = pq, x_i+1 = x_i ^ 2 mod n diff --git a/extra/random/cmwc/cmwc.factor b/extra/random/cmwc/cmwc.factor index 0f7103f9d9..8478af0c40 100644 --- a/extra/random/cmwc/cmwc.factor +++ b/extra/random/cmwc/cmwc.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types alien.data arrays fry kernel -locals math math.bitwise random sequences sequences.private +USING: accessors alien.c-types alien.data kernel +math math.bitwise random sequences sequences.private specialized-arrays ; SPECIALIZED-ARRAY: uint IN: random.cmwc diff --git a/extra/random/lagged-fibonacci/lagged-fibonacci.factor b/extra/random/lagged-fibonacci/lagged-fibonacci.factor index 0cfcbe5680..df60ee023c 100644 --- a/extra/random/lagged-fibonacci/lagged-fibonacci.factor +++ b/extra/random/lagged-fibonacci/lagged-fibonacci.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types alien.data fry kernel literals -locals math random sequences specialized-arrays namespaces -sequences.private ; +USING: accessors alien.c-types alien.data kernel math namespaces +random sequences sequences.private specialized-arrays ; SPECIALIZED-ARRAY: double IN: random.lagged-fibonacci diff --git a/extra/raylib/demo/demo.factor b/extra/raylib/demo/demo.factor index 52a6dd7088..726f9a0bf6 100644 --- a/extra/raylib/demo/demo.factor +++ b/extra/raylib/demo/demo.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2019 Jack Lucas ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.enums classes.struct combinators kernel -math namespaces raylib ; +USING: accessors combinators kernel math namespaces raylib ; IN: raylib.demo : say-hello ( -- ) diff --git a/extra/raylib/demo/gui/gui.factor b/extra/raylib/demo/gui/gui.factor index 32bb6fd698..72bd13c8cf 100644 --- a/extra/raylib/demo/gui/gui.factor +++ b/extra/raylib/demo/gui/gui.factor @@ -1,9 +1,7 @@ ! Copyright (C) 2019 Jack Lucas ! See http://factorcode.org/license.txt for BSD license. -USING: raylib kernel ranges sequences locals random -combinators.random math threads calendar namespaces accessors -classes.struct combinators alien.enums ; +USING: alien.enums kernel raylib ; IN: raylib.demo.gui diff --git a/extra/raylib/demo/mesh-picking/mesh-picking.factor b/extra/raylib/demo/mesh-picking/mesh-picking.factor index dec8196f73..2d9b98ad4d 100644 --- a/extra/raylib/demo/mesh-picking/mesh-picking.factor +++ b/extra/raylib/demo/mesh-picking/mesh-picking.factor @@ -1,8 +1,8 @@ ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.enums arrays classes.struct combinators.short-circuit -continuations destructors formatting grouping io.backend io.pathnames kernel math -math.functions.private math.vectors namespaces raylib sequences threads -vocabs.metadata ; +USING: accessors alien.enums arrays combinators.short-circuit +continuations destructors formatting grouping io.backend io.pathnames +kernel math math.functions.private math.vectors namespaces raylib +sequences vocabs.metadata ; IN: raylib.demo.mesh-picking diff --git a/extra/redis/assoc/assoc.factor b/extra/redis/assoc/assoc.factor index 868cf53b5d..6a2a0b0ce5 100644 --- a/extra/redis/assoc/assoc.factor +++ b/extra/redis/assoc/assoc.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: assocs kernel redis sequences ; +USING: assocs kernel redis ; IN: redis.assoc INSTANCE: redis assoc diff --git a/extra/reports/noise/noise.factor b/extra/reports/noise/noise.factor index c6a735564f..00b452694e 100644 --- a/extra/reports/noise/noise.factor +++ b/extra/reports/noise/noise.factor @@ -3,8 +3,7 @@ USING: accessors assocs math kernel shuffle generalizations words quotations arrays combinators sequences math.vectors io.styles prettyprint vocabs sorting io generic -math.statistics math.order locals.types -locals.definitions ; +math.order locals.types locals.definitions ; IN: reports.noise : badness ( word -- n ) diff --git a/extra/robots/robots.factor b/extra/robots/robots.factor index 3df4f14ad4..6e61420d43 100644 --- a/extra/robots/robots.factor +++ b/extra/robots/robots.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs calendar.parser combinators -combinators.short-circuit fry globs http.client kernel math.parser +combinators.short-circuit globs http.client kernel math.parser namespaces present regexp regexp.combinators sequences splitting splitting.monotonic unicode urls ; IN: robots diff --git a/extra/rocksdb/rocksdb.factor b/extra/rocksdb/rocksdb.factor index 0e45326b74..de7b1675ef 100644 --- a/extra/rocksdb/rocksdb.factor +++ b/extra/rocksdb/rocksdb.factor @@ -1,5 +1,3 @@ ! Copyright (C) 2020 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators system rocksdb.lib ; IN: rocksdb diff --git a/extra/roles/roles-docs.factor b/extra/roles/roles-docs.factor index 05f1e88028..d746c490a9 100644 --- a/extra/roles/roles-docs.factor +++ b/extra/roles/roles-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: classes.mixin help.markup help.syntax kernel multiline roles ; +USING: classes.mixin help.markup help.syntax kernel roles ; IN: roles HELP: ROLE: diff --git a/extra/roles/roles.factor b/extra/roles/roles.factor index 0da408ba61..5a6e9d5346 100644 --- a/extra/roles/roles.factor +++ b/extra/roles/roles.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2009 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays classes classes.mixin classes.parser -classes.tuple classes.tuple.parser combinators -combinators.short-circuit kernel lexer make parser sequences -sets strings words ; +USING: accessors arrays classes.mixin classes.parser +classes.tuple classes.tuple.parser combinators kernel lexer make +parser sequences sets strings words ; IN: roles ERROR: role-slot-overlap class slots ; diff --git a/extra/roms/space-invaders/space-invaders.factor b/extra/roms/space-invaders/space-invaders.factor index 614e5c7007..1064308a32 100644 --- a/extra/roms/space-invaders/space-invaders.factor +++ b/extra/roms/space-invaders/space-invaders.factor @@ -4,7 +4,7 @@ ! Space Invaders: http://www.emuparadise.me/M.A.M.E._-_Multiple_Arcade_Machine_Emulator_ROMs/Space_Invaders_--_Space_Invaders_M/13774 USING: accessors alien.c-types alien.data arrays combinators cpu.8080 cpu.8080.emulator io.pathnames kernel -locals math math.order openal openal.alut opengl.gl sequences +math math.order openal openal.alut opengl.gl sequences specialized-arrays ui ui.gadgets ui.gestures ui.render ; QUALIFIED: threads QUALIFIED: system diff --git a/extra/rosetta-code/active-object/active-object.factor b/extra/rosetta-code/active-object/active-object.factor index ccda709ccc..f59aa1591e 100644 --- a/extra/rosetta-code/active-object/active-object.factor +++ b/extra/rosetta-code/active-object/active-object.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: accessors calendar combinators kernel locals math -math.constants math.functions prettyprint system threads timers ; +USING: accessors calendar kernel math math.constants +math.functions prettyprint system threads timers ; IN: rosetta-code.active-object ! http://rosettacode.org/wiki/Active_object diff --git a/extra/rosetta-code/align-columns/align-columns.factor b/extra/rosetta-code/align-columns/align-columns.factor index 84c70190ff..ea44667ca8 100644 --- a/extra/rosetta-code/align-columns/align-columns.factor +++ b/extra/rosetta-code/align-columns/align-columns.factor @@ -1,7 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: fry io kernel math math.functions math.order sequences -splitting strings ; +USING: io kernel math math.functions sequences splitting strings ; IN: rosetta.align-columns ! http://rosettacode.org/wiki/Align_columns diff --git a/extra/rosetta-code/balanced-brackets/balanced-brackets.factor b/extra/rosetta-code/balanced-brackets/balanced-brackets.factor index aa174fe148..f8ae4ba196 100644 --- a/extra/rosetta-code/balanced-brackets/balanced-brackets.factor +++ b/extra/rosetta-code/balanced-brackets/balanced-brackets.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: combinators kernel locals math sequences ; +USING: combinators kernel math sequences ; IN: rosetta-code.balanced-brackets ! http://rosettacode.org/wiki/Balanced_brackets diff --git a/extra/rosetta-code/bitmap-bezier/bitmap-bezier.factor b/extra/rosetta-code/bitmap-bezier/bitmap-bezier.factor index 96114a8a22..7a0c5bccee 100644 --- a/extra/rosetta-code/bitmap-bezier/bitmap-bezier.factor +++ b/extra/rosetta-code/bitmap-bezier/bitmap-bezier.factor @@ -1,8 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: arrays assocs kernel locals math math.functions -math.vectors rosetta-code.bitmap rosetta-code.bitmap-line -sequences ; +USING: assocs kernel math math.functions math.vectors +rosetta-code.bitmap-line sequences ; IN: rosetta-code.bitmap-bezier ! http://rosettacode.org/wiki/Bitmap/Bézier_curves/Cubic diff --git a/extra/rosetta-code/bitmap-line/bitmap-line.factor b/extra/rosetta-code/bitmap-line/bitmap-line.factor index 0b4062222d..5153ec1365 100644 --- a/extra/rosetta-code/bitmap-line/bitmap-line.factor +++ b/extra/rosetta-code/bitmap-line/bitmap-line.factor @@ -1,8 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays kernel locals math math.functions -ranges math.vectors rosetta-code.bitmap sequences -ui.gadgets ; +USING: arrays kernel math ranges rosetta-code.bitmap sequences ; IN: rosetta-code.bitmap-line ! http://rosettacode.org/wiki/Bitmap/Bresenham%27s_line_algorithm diff --git a/extra/rosetta-code/bitmap/bitmap.factor b/extra/rosetta-code/bitmap/bitmap.factor index 54b1456b89..305485a723 100644 --- a/extra/rosetta-code/bitmap/bitmap.factor +++ b/extra/rosetta-code/bitmap/bitmap.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: arrays fry kernel math.matrices sequences ; +USING: arrays kernel math.matrices sequences ; IN: rosetta-code.bitmap ! http://rosettacode.org/wiki/Basic_bitmap_storage diff --git a/extra/rosetta-code/bulls-and-cows/bulls-and-cows.factor b/extra/rosetta-code/bulls-and-cows/bulls-and-cows.factor index d30907fe05..3e84fa2e9e 100644 --- a/extra/rosetta-code/bulls-and-cows/bulls-and-cows.factor +++ b/extra/rosetta-code/bulls-and-cows/bulls-and-cows.factor @@ -1,8 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs combinators fry grouping hashtables -kernel locals math math.parser ranges random sequences -strings io ascii ; +USING: accessors ascii assocs combinators io kernel math +math.parser random ranges sequences ; IN: rosetta-code.bulls-and-cows ! http://rosettacode.org/wiki/Bulls_and_cows diff --git a/extra/rosetta-code/equilibrium-index/equilibrium-index.factor b/extra/rosetta-code/equilibrium-index/equilibrium-index.factor index a3ad1f6d2c..5af58e120d 100644 --- a/extra/rosetta-code/equilibrium-index/equilibrium-index.factor +++ b/extra/rosetta-code/equilibrium-index/equilibrium-index.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.statistics math.vectors sequences ; +USING: kernel math.statistics math.vectors sequences ; IN: rosetta-code.equilibrium-index ! http://rosettacode.org/wiki/Equilibrium_index diff --git a/extra/rosetta-code/happy-numbers/happy-numbers.factor b/extra/rosetta-code/happy-numbers/happy-numbers.factor index 1eab929fe7..aeb96209c1 100644 --- a/extra/rosetta-code/happy-numbers/happy-numbers.factor +++ b/extra/rosetta-code/happy-numbers/happy-numbers.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: combinators kernel make math sequences ; +USING: combinators kernel make math ; IN: rosetta-code.happy-numbers ! http://rosettacode.org/wiki/Happy_numbers#Factor diff --git a/extra/rosetta-code/image-noise/image-noise.factor b/extra/rosetta-code/image-noise/image-noise.factor index f39cacf6db..b6830e5f30 100644 --- a/extra/rosetta-code/image-noise/image-noise.factor +++ b/extra/rosetta-code/image-noise/image-noise.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2012 Anonymous. ! See http://factorcode.org/license.txt for BSD license. USING: accessors calendar images images.viewer kernel math -math.parser models models.arrow random sequences threads timers -ui ui.gadgets ui.gadgets.labels ui.gadgets.packs +math.parser models random sequences timers ui ui.gadgets ui.gadgets.status-bar ui.gadgets.worlds ; IN: rosetta-code.image-noise diff --git a/extra/rosetta-code/luhn-test/luhn-test.factor b/extra/rosetta-code/luhn-test/luhn-test.factor index 6e707dfe8d..738be9e137 100644 --- a/extra/rosetta-code/luhn-test/luhn-test.factor +++ b/extra/rosetta-code/luhn-test/luhn-test.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math math.parser math.order ranges sequences ; +USING: kernel math sequences ; IN: rosetta-code.luhn-test ! http://rosettacode.org/wiki/Luhn_test_of_credit_card_numbers diff --git a/extra/rosetta-code/multisplit/multisplit.factor b/extra/rosetta-code/multisplit/multisplit.factor index cfe5583bc3..430077f110 100644 --- a/extra/rosetta-code/multisplit/multisplit.factor +++ b/extra/rosetta-code/multisplit/multisplit.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2020 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays fry kernel make sequences ; +USING: arrays kernel make sequences ; IN: rosetta-code.multisplit diff --git a/extra/rosetta-code/n-queens/n-queens.factor b/extra/rosetta-code/n-queens/n-queens.factor index 1fcc647991..f55981122e 100644 --- a/extra/rosetta-code/n-queens/n-queens.factor +++ b/extra/rosetta-code/n-queens/n-queens.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: kernel sequences math math.combinatorics formatting io locals ; +USING: kernel sequences math math.combinatorics formatting io ; IN: rosetta-code.n-queens ! http://rosettacode.org/wiki/N-queens_problem diff --git a/extra/rosetta-code/odd-word/odd-word.factor b/extra/rosetta-code/odd-word/odd-word.factor index 9ca3c3bd3a..667fd3e532 100644 --- a/extra/rosetta-code/odd-word/odd-word.factor +++ b/extra/rosetta-code/odd-word/odd-word.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: continuations kernel io io.streams.string locals unicode ; +USING: continuations kernel io io.streams.string unicode ; IN: rosetta-code.odd-word ! http://rosettacode.org/wiki/Odd_word_problem diff --git a/extra/rosetta-code/one-d-cellular/one-d-cellular.factor b/extra/rosetta-code/one-d-cellular/one-d-cellular.factor index ed61fb912c..56567f4ba2 100644 --- a/extra/rosetta-code/one-d-cellular/one-d-cellular.factor +++ b/extra/rosetta-code/one-d-cellular/one-d-cellular.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: bit-arrays io kernel locals math sequences ; +USING: bit-arrays io kernel math sequences ; IN: rosetta-code.one-d-cellular ! http://rosettacode.org/wiki/One-dimensional_cellular_automata diff --git a/extra/rosetta-code/ordered-words/ordered-words.factor b/extra/rosetta-code/ordered-words/ordered-words.factor index 2886d5190e..4f8fa616f5 100644 --- a/extra/rosetta-code/ordered-words/ordered-words.factor +++ b/extra/rosetta-code/ordered-words/ordered-words.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. USING: grouping http.client io io.encodings.utf8 io.files -io.files.temp kernel math memoize sequences sequences.extras +io.files.temp kernel math sequences sequences.extras unicode urls ; IN: rosetta-code.ordered-words diff --git a/extra/rosetta-code/pascals-triangle/pascals-triangle.factor b/extra/rosetta-code/pascals-triangle/pascals-triangle.factor index e7ca957296..3fdffbff65 100644 --- a/extra/rosetta-code/pascals-triangle/pascals-triangle.factor +++ b/extra/rosetta-code/pascals-triangle/pascals-triangle.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: grouping kernel locals math ranges sequences ; +USING: grouping kernel math ranges sequences ; IN: rosetta-code.pascals-triangle ! http://rosettacode.org/wiki/Pascal%27s_triangle diff --git a/extra/rosetta-code/probabilistic-choice/probabilistic-choice.factor b/extra/rosetta-code/probabilistic-choice/probabilistic-choice.factor index de7b176ab9..88c44ef874 100644 --- a/extra/rosetta-code/probabilistic-choice/probabilistic-choice.factor +++ b/extra/rosetta-code/probabilistic-choice/probabilistic-choice.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: arrays assocs combinators.random formatting fry kernel -macros math quotations sequences ; +USING: arrays assocs combinators.random formatting kernel +math quotations sequences ; IN: rosettacode.probabilistic-choice ! http://rosettacode.org/wiki/Probabilistic_choice diff --git a/extra/rosetta-code/raycasting/raycasting.factor b/extra/rosetta-code/raycasting/raycasting.factor index 546e53195d..f59a26e9a5 100644 --- a/extra/rosetta-code/raycasting/raycasting.factor +++ b/extra/rosetta-code/raycasting/raycasting.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: kernel prettyprint sequences arrays math math.vectors ; +USING: kernel math math.vectors sequences ; IN: rosetta-code.raycasting diff --git a/extra/rosetta-code/text-processing/max-licenses/max-licenses.factor b/extra/rosetta-code/text-processing/max-licenses/max-licenses.factor index 2722ea61d3..602d44e7b9 100644 --- a/extra/rosetta-code/text-processing/max-licenses/max-licenses.factor +++ b/extra/rosetta-code/text-processing/max-licenses/max-licenses.factor @@ -1,7 +1,7 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. USING: accessors http.client io io.encodings.ascii io.files -io.files.temp kernel math math.parser memoize sequences +io.files.temp kernel math math.parser sequences splitting urls ; IN: rosetta-code.text-processing.max-licenses diff --git a/extra/rosetta-code/towers-of-hanoi/towers-of-hanoi.factor b/extra/rosetta-code/towers-of-hanoi/towers-of-hanoi.factor index 2e7919e900..af2df716c1 100644 --- a/extra/rosetta-code/towers-of-hanoi/towers-of-hanoi.factor +++ b/extra/rosetta-code/towers-of-hanoi/towers-of-hanoi.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: formatting kernel locals math ; +USING: formatting kernel math ; IN: rosetta-code.towers-of-hanoi ! http://rosettacode.org/wiki/Towers_of_Hanoi diff --git a/extra/rosetta-code/tree-traversal/tree-traversal.factor b/extra/rosetta-code/tree-traversal/tree-traversal.factor index cd26da86cb..cb507ab672 100644 --- a/extra/rosetta-code/tree-traversal/tree-traversal.factor +++ b/extra/rosetta-code/tree-traversal/tree-traversal.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: accessors combinators deques dlists fry io kernel +USING: accessors combinators deques dlists io kernel math.parser ; IN: rosetta-code.tree-traversal diff --git a/extra/rosetta-code/y-combinator/y-combinator.factor b/extra/rosetta-code/y-combinator/y-combinator.factor index 0eb68c6aae..5e75afa7eb 100644 --- a/extra/rosetta-code/y-combinator/y-combinator.factor +++ b/extra/rosetta-code/y-combinator/y-combinator.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See http://factorcode.org/license.txt for BSD license. -USING: combinators fry kernel locals math ; +USING: combinators kernel math ; IN: rosetta-code.y-combinator ! http://rosettacode.org/wiki/Y_combinator diff --git a/extra/rot13/rot13.factor b/extra/rot13/rot13.factor index c8f08bcf30..b364f4530d 100644 --- a/extra/rot13/rot13.factor +++ b/extra/rot13/rot13.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2006 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. -USING: kernel math sequences strings io combinators ascii ; +USING: kernel math sequences io combinators ascii ; IN: rot13 : rotate ( ch base -- ch ) [ - 13 + 26 mod ] [ + ] bi ; diff --git a/extra/ryu/ryu-docs.factor b/extra/ryu/ryu-docs.factor index bf085994bf..60b4788780 100644 --- a/extra/ryu/ryu-docs.factor +++ b/extra/ryu/ryu-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax kernel math strings ; +USING: help.markup help.syntax math strings ; IN: ryu ABOUT: "ryu" diff --git a/extra/ryu/ryu.factor b/extra/ryu/ryu.factor index 899e7b03da..caff6bb8aa 100644 --- a/extra/ryu/ryu.factor +++ b/extra/ryu/ryu.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2018 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators.smart kernel locals math math.bitwise +USING: combinators.smart kernel math math.bitwise math.functions math.order math.parser ryu.data sequences sequences.private ; diff --git a/extra/s3/s3.factor b/extra/s3/s3.factor index 54fed8ba29..943ae30deb 100644 --- a/extra/s3/s3.factor +++ b/extra/s3/s3.factor @@ -3,7 +3,7 @@ USING: accessors assocs base64 calendar calendar.format calendar.parser checksums.hmac checksums.sha combinators http http.client kernel make math.order namespaces sequences -sequences.extras sorting sorting.slots strings xml xml.traversal ; +sorting sorting.slots strings xml xml.traversal ; IN: s3 SYMBOL: key-id diff --git a/extra/semantic-versioning/semantic-versioning-docs.factor b/extra/semantic-versioning/semantic-versioning-docs.factor index ab6814b9b0..4ffef03895 100644 --- a/extra/semantic-versioning/semantic-versioning-docs.factor +++ b/extra/semantic-versioning/semantic-versioning-docs.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Maximilian Lupke. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays help.markup help.syntax kernel strings ; +USING: help.markup help.syntax kernel strings ; IN: semantic-versioning HELP: version< diff --git a/extra/semver/semver.factor b/extra/semver/semver.factor index 9cbad4817d..6826136065 100644 --- a/extra/semver/semver.factor +++ b/extra/semver/semver.factor @@ -1,10 +1,8 @@ ! Copyright (C) 2020 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs combinators -combinators.short-circuit combinators.smart kernel math -math.order math.parser multiline peg.ebnf sequences -sequences.deep sequences.extras sequences.private sorting.human -splitting strings ; +USING: accessors arrays assocs combinators combinators.smart +kernel math math.order math.parser multiline peg.ebnf sequences +sequences.deep sequences.extras splitting strings ; IN: semver ! caret - up to next major versions, aka only major version needs to match as long as minor/patch are >= diff --git a/extra/sequences/inserters/inserters.factor b/extra/sequences/inserters/inserters.factor index 9f46af1a4d..725922f2d2 100644 --- a/extra/sequences/inserters/inserters.factor +++ b/extra/sequences/inserters/inserters.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors fry growable kernel locals math sequences ; +USING: accessors kernel math sequences ; IN: sequences.inserters TUPLE: offset-growable { underlying read-only } { offset read-only } ; diff --git a/extra/sequences/modified/modified.factor b/extra/sequences/modified/modified.factor index 813bdb6420..3084d93a57 100644 --- a/extra/sequences/modified/modified.factor +++ b/extra/sequences/modified/modified.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays kernel locals math sequences -sequences.private ; +USING: accessors arrays kernel math sequences sequences.private ; IN: sequences.modified TUPLE: modified ; diff --git a/extra/sequences/n-based/n-based-docs.factor b/extra/sequences/n-based/n-based-docs.factor index 6fbbcef5b3..cdd917c49e 100644 --- a/extra/sequences/n-based/n-based-docs.factor +++ b/extra/sequences/n-based/n-based-docs.factor @@ -1,5 +1,5 @@ ! (c)2008 Joe Groff, see BSD license etc. -USING: help.markup help.syntax kernel math sequences ; +USING: help.markup help.syntax math sequences ; IN: sequences.n-based HELP: diff --git a/extra/sequences/padded/padded.factor b/extra/sequences/padded/padded.factor index fbf19d82ee..b7a6fb119a 100644 --- a/extra/sequences/padded/padded.factor +++ b/extra/sequences/padded/padded.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2020 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors arrays kernel math math.order sequences -sequences.private ; +USING: accessors kernel math math.order sequences sequences.private ; IN: sequences.padded TUPLE: padded diff --git a/extra/sequences/repeating/repeating.factor b/extra/sequences/repeating/repeating.factor index b087a5ea0f..9c624e700e 100644 --- a/extra/sequences/repeating/repeating.factor +++ b/extra/sequences/repeating/repeating.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2008 Alex Chapman ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors circular kernel math sequences sequences.private ; +USING: accessors circular kernel math sequences ; IN: sequences.repeating TUPLE: cycles diff --git a/extra/sequences/squish/squish.factor b/extra/sequences/squish/squish.factor index 214c6895e2..34f0e3aec8 100644 --- a/extra/sequences/squish/squish.factor +++ b/extra/sequences/squish/squish.factor @@ -1,5 +1,5 @@ ! (c)2009 Slava Pestov & Joe Groff, see BSD license -USING: combinators.short-circuit fry make math kernel sequences ; +USING: combinators.short-circuit make math kernel sequences ; IN: sequences.squish : (squish) ( seq quot: ( obj -- ? ) -- ) diff --git a/extra/sequences/zipped/zipped.factor b/extra/sequences/zipped/zipped.factor index beddefba9a..aed0356dc6 100644 --- a/extra/sequences/zipped/zipped.factor +++ b/extra/sequences/zipped/zipped.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors arrays kernel math sequences -sequences.private ; +USING: accessors arrays kernel sequences sequences.private ; IN: sequences.zipped TUPLE: zipped diff --git a/extra/sets/extras/extras.factor b/extra/sets/extras/extras.factor index 542b5962a6..a6ca1f9740 100644 --- a/extra/sets/extras/extras.factor +++ b/extra/sets/extras/extras.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2013 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: assocs fry hash-sets kernel locals sequences -sequences.extras sets ; +USING: assocs hash-sets kernel sequences sequences.extras +sets ; IN: sets.extras : setwise-xor ( seq1 seq2 -- set ) diff --git a/extra/shapefiles/shapefiles.factor b/extra/shapefiles/shapefiles.factor index 9cf2a43c03..b500099ed3 100644 --- a/extra/shapefiles/shapefiles.factor +++ b/extra/shapefiles/shapefiles.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license USING: accessors byte-arrays classes combinators endian io -io.encodings.binary io.files io.streams.byte-array kernel locals +io.encodings.binary io.files io.streams.byte-array kernel math math.order math.statistics sequences sequences.extras sets ; diff --git a/extra/site-watcher/db/db.factor b/extra/site-watcher/db/db.factor index 47b8fac9b9..120f64b3fb 100644 --- a/extra/site-watcher/db/db.factor +++ b/extra/site-watcher/db/db.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors continuations db db.sqlite db.tuples db.types -io.directories io.files.temp kernel io.streams.string calendar -debugger combinators.smart sequences arrays ; +USING: accessors calendar combinators.smart db db.sqlite +db.tuples db.types debugger io.files.temp io.streams.string +kernel sequences ; IN: site-watcher.db TUPLE: account account-name email twitter sms ; diff --git a/extra/site-watcher/email/email.factor b/extra/site-watcher/email/email.factor index 1b37e0013c..24b6f405f0 100644 --- a/extra/site-watcher/email/email.factor +++ b/extra/site-watcher/email/email.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: smtp namespaces accessors kernel arrays site-watcher.db ; +USING: accessors arrays kernel namespaces smtp ; IN: site-watcher.email SYMBOL: site-watcher-from diff --git a/extra/site-watcher/site-watcher.factor b/extra/site-watcher/site-watcher.factor index 49e90bff03..16deccc8ee 100644 --- a/extra/site-watcher/site-watcher.factor +++ b/extra/site-watcher/site-watcher.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors timers arrays calendar combinators -combinators.smart continuations debugger http.client fry -init io.streams.string kernel locals math math.parser db -namespaces sequences site-watcher.db site-watcher.email ; +USING: accessors calendar continuations db http.client init +kernel math math.parser namespaces sequences site-watcher.db +site-watcher.email timers ; IN: site-watcher SYMBOL: site-watcher-frequency diff --git a/extra/slides/slides.factor b/extra/slides/slides.factor index 3eaa12e5eb..e11c208cfb 100644 --- a/extra/slides/slides.factor +++ b/extra/slides/slides.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2007, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays colors fonts fry help.markup help.stylesheet -io.styles kernel literals math ranges models namespaces parser -sequences system ui ui.gadgets ui.gadgets.books ui.gadgets.panes -ui.gestures ui.pens.gradient ui.pens.solid ; +USING: accessors arrays colors fonts help.markup help.stylesheet +io.styles kernel literals math models namespaces parser ranges +sequences ui ui.gadgets ui.gadgets.books ui.gadgets.panes +ui.gestures ui.pens.gradient ; IN: slides CONSTANT: stylesheet diff --git a/extra/slots/macros/macros.factor b/extra/slots/macros/macros.factor index 3d36dcf7f5..6a8edc90f5 100644 --- a/extra/slots/macros/macros.factor +++ b/extra/slots/macros/macros.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2011 Joe Groff. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators compiler.units fry generalizations kernel -locals macros math quotations sequences sequences.generalizations -slots vectors ; +USING: combinators compiler.units generalizations kernel math +quotations sequences sequences.generalizations slots vectors ; IN: slots.macros ! Fundamental accessors diff --git a/extra/smalltalk/ast/ast.factor b/extra/smalltalk/ast/ast.factor index c4b1d6b8b7..77ead89c18 100644 --- a/extra/smalltalk/ast/ast.factor +++ b/extra/smalltalk/ast/ast.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators kernel memoize sequences -strings ; +USING: accessors arrays combinators kernel sequences strings ; IN: smalltalk.ast SINGLETONS: nil self super ; diff --git a/extra/smalltalk/compiler/compiler.factor b/extra/smalltalk/compiler/compiler.factor index 0acf1e1bfa..88e0f8a119 100644 --- a/extra/smalltalk/compiler/compiler.factor +++ b/extra/smalltalk/compiler/compiler.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs combinators continuations fry -generic kernel locals locals.types math quotations sequences +USING: accessors arrays assocs combinators continuations +generic kernel locals.types math quotations sequences sequences.generalizations sets smalltalk.ast smalltalk.classes smalltalk.compiler.assignment smalltalk.compiler.lexenv smalltalk.compiler.return smalltalk.selectors splitting words ; diff --git a/extra/smalltalk/compiler/return/return.factor b/extra/smalltalk/compiler/return/return.factor index 673628ae6d..1cb783047e 100644 --- a/extra/smalltalk/compiler/return/return.factor +++ b/extra/smalltalk/compiler/return/return.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays combinators.short-circuit continuations -fry generalizations kernel locals locals.types locals.rewrite -namespaces make sequences smalltalk.ast ; +generalizations kernel locals.rewrite locals.types sequences +smalltalk.ast ; IN: smalltalk.compiler.return SYMBOL: return-continuation diff --git a/extra/smalltalk/library/library.factor b/extra/smalltalk/library/library.factor index 653600118d..6958b915d6 100644 --- a/extra/smalltalk/library/library.factor +++ b/extra/smalltalk/library/library.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: kernel present io math sequences assocs ranges -math.order fry tools.time locals smalltalk.selectors -smalltalk.ast smalltalk.classes ; +math.order tools.time smalltalk.selectors smalltalk.ast ; IN: smalltalk.library SELECTOR: print diff --git a/extra/smalltalk/listener/listener.factor b/extra/smalltalk/listener/listener.factor index d5a191a197..afbe30fb3f 100644 --- a/extra/smalltalk/listener/listener.factor +++ b/extra/smalltalk/listener/listener.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel prettyprint io io.styles colors compiler.units -fry debugger sequences locals.rewrite smalltalk.ast -smalltalk.eval smalltalk.printer smalltalk.listener splitting ; +USING: colors debugger io io.styles kernel smalltalk.ast +smalltalk.eval smalltalk.printer ; IN: smalltalk.listener : eval-interactively ( string -- ) diff --git a/extra/smalltalk/selectors/selectors.factor b/extra/smalltalk/selectors/selectors.factor index b4828bdbb4..c10a7e2b01 100644 --- a/extra/smalltalk/selectors/selectors.factor +++ b/extra/smalltalk/selectors/selectors.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays combinators effects generic generic.standard +USING: arrays combinators effects generic.standard kernel sequences words lexer ; IN: smalltalk.selectors diff --git a/extra/snake-game/game/game.factor b/extra/snake-game/game/game.factor index f181157f0d..e70950edaa 100644 --- a/extra/snake-game/game/game.factor +++ b/extra/snake-game/game/game.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2015 Sankaranarayanan Viswanathan. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs combinators fry kernel make math +USING: accessors arrays assocs combinators kernel make math math.vectors random sequences sets sorting ; IN: snake-game.game diff --git a/extra/snake-game/sprites/sprites.factor b/extra/snake-game/sprites/sprites.factor index c494575244..0ffb4e3cb4 100644 --- a/extra/snake-game/sprites/sprites.factor +++ b/extra/snake-game/sprites/sprites.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2015 Sankaranarayanan Viswanathan. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs byte-vectors formatting fry -images images.loader kernel locals make math math.vectors +USING: accessors arrays assocs byte-vectors formatting +images images.loader kernel make math math.vectors opengl.textures sequences ; IN: snake-game.sprites diff --git a/extra/snake-game/ui/ui.factor b/extra/snake-game/ui/ui.factor index fe06ee82cd..41d94016e9 100644 --- a/extra/snake-game/ui/ui.factor +++ b/extra/snake-game/ui/ui.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2015 Sankaranarayanan Viswanathan. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs calendar combinators -combinators.short-circuit destructors formatting fry kernel math +combinators.short-circuit destructors formatting kernel math math.vectors namespaces opengl opengl.textures sequences sets snake-game.game snake-game.sprites timers ui ui.gadgets ui.gadgets.worlds ui.gestures ui.render ; diff --git a/extra/sorting/bubble/bubble.factor b/extra/sorting/bubble/bubble.factor index e87a0c2afc..445b0ebf50 100644 --- a/extra/sorting/bubble/bubble.factor +++ b/extra/sorting/bubble/bubble.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: kernel locals math math.order ranges sequences +USING: kernel math math.order ranges sequences sequences.private ; IN: sorting.bubble diff --git a/extra/sorting/extras/extras.factor b/extra/sorting/extras/extras.factor index 949c54885b..9dcb43aa39 100644 --- a/extra/sorting/extras/extras.factor +++ b/extra/sorting/extras/extras.factor @@ -1,5 +1,5 @@ -USING: arrays assocs kernel kernel.private locals math -math.order sequences sequences.extras sequences.private sorting ; +USING: arrays assocs kernel kernel.private math math.order +sequences sequences.extras sequences.private sorting ; IN: sorting.extras : argsort ( seq quot: ( obj1 obj2 -- <=> ) -- sortedseq ) diff --git a/extra/sorting/heap/heap.factor b/extra/sorting/heap/heap.factor index 8cd42e587a..ff33682358 100644 --- a/extra/sorting/heap/heap.factor +++ b/extra/sorting/heap/heap.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: assocs fry heaps kernel sequences vectors ; +USING: heaps kernel sequences vectors ; IN: sorting.heap diff --git a/extra/sorting/quick/quick.factor b/extra/sorting/quick/quick.factor index 406bb2e391..f7b5ed51a2 100644 --- a/extra/sorting/quick/quick.factor +++ b/extra/sorting/quick/quick.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: arrays combinators kernel locals math math.order -math.private sequences sequences.private strings vectors ; +USING: arrays kernel math math.order math.private sequences +sequences.private strings vectors ; IN: sorting.quick diff --git a/extra/spelling/spelling.factor b/extra/spelling/spelling.factor index ec8de5570b..66b0a38fdd 100644 --- a/extra/spelling/spelling.factor +++ b/extra/spelling/spelling.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2010 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: arrays ascii assocs combinators combinators.smart fry +USING: arrays ascii assocs combinators combinators.smart http.client io.encodings.ascii io.files io.files.temp kernel -locals math ranges math.statistics memoize sequences -sequences.private sorting splitting urls ; +math math.statistics ranges sequences sequences.private sorting +splitting urls ; IN: spelling ! http://norvig.com/spell-correct.html diff --git a/extra/spheres/spheres.factor b/extra/spheres/spheres.factor index 2b5d1db416..107bb6863a 100644 --- a/extra/spheres/spheres.factor +++ b/extra/spheres/spheres.factor @@ -1,8 +1,7 @@ -USING: kernel opengl opengl.demo-support opengl.gl opengl.textures -opengl.shaders opengl.framebuffers opengl.capabilities multiline -ui.gadgets accessors sequences ui.render ui math locals arrays -generalizations combinators ui.gadgets.worlds -literals ui.pixel-formats ; +USING: accessors arrays combinators kernel literals multiline +opengl opengl.capabilities opengl.demo-support +opengl.framebuffers opengl.gl opengl.shaders opengl.textures +sequences ui ui.gadgets.worlds ui.pixel-formats ; IN: spheres STRING: plane-vertex-shader diff --git a/extra/spider/report/report.factor b/extra/spider/report/report.factor index 7779b233f9..e49b16ff01 100644 --- a/extra/spider/report/report.factor +++ b/extra/spider/report/report.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs combinators kernel math -math.statistics namespaces sequences sorting xml.syntax -spider urls html ; +USING: accessors arrays assocs combinators html kernel math +math.statistics namespaces sequences sorting urls xml.syntax ; IN: spider.report SYMBOL: network-failures diff --git a/extra/spider/spider-docs.factor b/extra/spider/spider-docs.factor index b85d31e27f..4e0aef8089 100644 --- a/extra/spider/spider-docs.factor +++ b/extra/spider/spider-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: help.markup help.syntax io.streams.string urls -multiline spider.private quotations ; +USING: help.markup help.syntax ; IN: spider HELP: diff --git a/extra/spider/spider.factor b/extra/spider/spider.factor index cb30fb6a29..4669525e5a 100644 --- a/extra/spider/spider.factor +++ b/extra/spider/spider.factor @@ -1,12 +1,10 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors fry html.parser html.parser.analyzer -http.client kernel tools.time sets assocs sequences -concurrency.combinators io threads namespaces math multiline -math.parser inspector urls logging combinators.short-circuit -continuations calendar prettyprint dlists deques locals -spider.unique-deque combinators concurrency.semaphores -io.pathnames ; +USING: accessors assocs calendar combinators.short-circuit +concurrency.semaphores deques html.parser html.parser.analyzer +http.client inspector io io.pathnames kernel logging math +math.parser prettyprint sequences sets spider.unique-deque +threads tools.time urls ; IN: spider TUPLE: spider diff --git a/extra/spider/unique-deque/unique-deque.factor b/extra/spider/unique-deque/unique-deque.factor index f660674b63..f099da6aac 100644 --- a/extra/spider/unique-deque/unique-deque.factor +++ b/extra/spider/unique-deque/unique-deque.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs deques dlists kernel locals ; +USING: accessors assocs deques dlists kernel ; IN: spider.unique-deque TUPLE: todo-url url depth ; diff --git a/extra/successor/successor.factor b/extra/successor/successor.factor index 9f6f9f9c45..eff93e9a79 100644 --- a/extra/successor/successor.factor +++ b/extra/successor/successor.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2011 John Benediktsson. ! See http://factorcode.org/license.txt for BSD license. -USING: ascii combinators combinators.short-circuit fry kernel +USING: ascii combinators combinators.short-circuit kernel math sequences ; IN: successor diff --git a/extra/svg/svg.factor b/extra/svg/svg.factor index f162709a7c..3dfbc243e1 100644 --- a/extra/svg/svg.factor +++ b/extra/svg/svg.factor @@ -1,6 +1,6 @@ ! (c)2009 Joe Groff, see BSD license -USING: accessors arrays assocs fry kernel math +USING: accessors arrays assocs kernel math math.affine-transforms math.functions math.parser math.trig peg.ebnf sequences sequences.squish splitting strings xml.data xml.syntax multiline ; diff --git a/extra/synth/example/example.factor b/extra/synth/example/example.factor index e09d903afb..a8d0c8d986 100644 --- a/extra/synth/example/example.factor +++ b/extra/synth/example/example.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays kernel namespaces make openal openal.alut sequences +USING: accessors arrays kernel make openal openal.alut sequences synth synth.buffers ; IN: synth.example diff --git a/extra/synth/synth.factor b/extra/synth/synth.factor index da591bc314..acf668f3fe 100644 --- a/extra/synth/synth.factor +++ b/extra/synth/synth.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel locals math math.constants math.functions memoize openal openal.alut synth.buffers sequences sequences.modified sequences.repeating ; +USING: accessors kernel math math.constants math.functions +sequences sequences.modified sequences.repeating ; IN: synth MEMO: single-sine-wave ( samples/wave -- seq ) diff --git a/extra/syslog/syslog.factor b/extra/syslog/syslog.factor index 548e9c7ccd..8fb54fb3d3 100644 --- a/extra/syslog/syslog.factor +++ b/extra/syslog/syslog.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license USING: accessors calendar calendar.format io io.encodings.utf8 -io.sockets io.streams.byte-array io.streams.string literals math -math.parser namespaces sequences ; +io.sockets io.streams.byte-array literals math math.parser +namespaces sequences ; IN: syslog diff --git a/extra/tar/tar.factor b/extra/tar/tar.factor index 4e9faf1ac5..45570dcabd 100644 --- a/extra/tar/tar.factor +++ b/extra/tar/tar.factor @@ -3,8 +3,7 @@ USING: accessors byte-arrays combinators io io.backend io.directories io.encodings.binary io.files io.files.links io.pathnames io.streams.byte-array io.streams.string kernel -math math.parser namespaces sequences strings summary -typed ; +math math.parser namespaces sequences summary typed ; IN: tar CONSTANT: zero-checksum 256 diff --git a/extra/taxes/usa/federal/federal.factor b/extra/taxes/usa/federal/federal.factor index 66387a2882..908cfee63a 100644 --- a/extra/taxes/usa/federal/federal.factor +++ b/extra/taxes/usa/federal/federal.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs kernel math math.intervals -namespaces sequences money math.order taxes.usa.fica -taxes.usa.medicare taxes.usa taxes.usa.w4 ; +USING: accessors kernel math money taxes.usa taxes.usa.fica +taxes.usa.medicare taxes.usa.w4 ; IN: taxes.usa.federal ! http://www.irs.gov/pub/irs-pdf/p15.pdf diff --git a/extra/taxes/usa/futa/futa.factor b/extra/taxes/usa/futa/futa.factor index 9b862a8960..25945071fe 100644 --- a/extra/taxes/usa/futa/futa.factor +++ b/extra/taxes/usa/futa/futa.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs kernel math math.intervals -namespaces sequences money math.order ; +USING: kernel math math.order money ; IN: taxes.usa.futa ! Employer tax only, not withheld diff --git a/extra/taxes/usa/mn/mn.factor b/extra/taxes/usa/mn/mn.factor index 8bb629efcd..cf7c1421ce 100644 --- a/extra/taxes/usa/mn/mn.factor +++ b/extra/taxes/usa/mn/mn.factor @@ -1,8 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs kernel math math.intervals -namespaces sequences money math.order usa-cities -taxes.usa taxes.usa.w4 ; +USING: kernel math money taxes.usa taxes.usa.w4 usa-cities ; IN: taxes.usa.mn ! Minnesota diff --git a/extra/taxes/usa/usa.factor b/extra/taxes/usa/usa.factor index bbfc332868..ba77a55964 100644 --- a/extra/taxes/usa/usa.factor +++ b/extra/taxes/usa/usa.factor @@ -1,8 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs kernel math math.intervals -namespaces sequences money math.order taxes.usa.w4 -taxes.usa.futa math.finance ; +USING: accessors kernel math math.order sequences ; IN: taxes.usa ! Withhold: FICA, Medicare, Federal (FICA is social security) diff --git a/extra/taxes/usa/w4/w4.factor b/extra/taxes/usa/w4/w4.factor index 668d38cebd..628135dbaa 100644 --- a/extra/taxes/usa/w4/w4.factor +++ b/extra/taxes/usa/w4/w4.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors kernel math ; +USING: accessors math ; IN: taxes.usa.w4 ! Each employee fills out a w4 diff --git a/extra/tensors/demos/demos.factor b/extra/tensors/demos/demos.factor index 6d1ad9b5fb..00cebc095a 100644 --- a/extra/tensors/demos/demos.factor +++ b/extra/tensors/demos/demos.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. ! Code based on https://towardsdatascience.com/linear-regression-from-scratch-with-numpy-implementation-finally-8e617d8e274c -USING: arrays accessors csv io io.encodings.utf8 kernel locals math math.parser +USING: arrays accessors csv io io.encodings.utf8 kernel math math.parser ranges math.statistics prettyprint sequences tensors ; IN: tensors.demos diff --git a/extra/tensors/tensor-slice/tensor-slice.factor b/extra/tensors/tensor-slice/tensor-slice.factor index 275d62600e..a4f8ec5053 100644 --- a/extra/tensors/tensor-slice/tensor-slice.factor +++ b/extra/tensors/tensor-slice/tensor-slice.factor @@ -1,4 +1,4 @@ -USING: accessors kernel locals math math.order sequences ; +USING: accessors kernel math math.order sequences ; IN: tensors.tensor-slice TUPLE: step-slice diff --git a/extra/tensors/tensors.factor b/extra/tensors/tensors.factor index 142c1f8290..578bcd2e8e 100644 --- a/extra/tensors/tensors.factor +++ b/extra/tensors/tensors.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2019 HMC Clinic. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.c-types alien.data arrays byte-arrays combinators -grouping kernel locals kernel.private math math.functions ranges math.vectors +USING: accessors alien alien.c-types alien.data arrays combinators +grouping kernel math math.functions ranges math.vectors math.vectors.simd multi-methods parser prettyprint.custom sequences sequences.extras sequences.private specialized-arrays typed ; diff --git a/extra/terminal/windows/windows.factor b/extra/terminal/windows/windows.factor index f30eef9981..b7f7866722 100644 --- a/extra/terminal/windows/windows.factor +++ b/extra/terminal/windows/windows.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2012 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors classes.struct kernel math system terminal -windows.kernel32 ; +USING: accessors kernel math system terminal windows.kernel32 ; IN: terminal.windows diff --git a/extra/terrain/terrain.factor b/extra/terrain/terrain.factor index 1b2f8c984b..ac29da0707 100644 --- a/extra/terrain/terrain.factor +++ b/extra/terrain/terrain.factor @@ -1,15 +1,13 @@ ! Copyright (C) 2009 Joe Groff, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators game.input game.loop -game.input.scancodes grouping kernel literals locals -math math.constants math.functions math.order math.trig -math.vectors opengl opengl.capabilities opengl.gl -opengl.shaders opengl.textures opengl.textures.private -sequences sequences.product specialized-arrays -terrain.generation terrain.shaders typed ui ui.gadgets -ui.gadgets.worlds ui.pixel-formats game.worlds -math.matrices.simd noise ui.gestures combinators.short-circuit -destructors grid-meshes math.vectors.simd ; +USING: accessors arrays combinators combinators.short-circuit +destructors game.input game.input.scancodes game.loop +game.worlds grid-meshes grouping kernel literals math +math.functions math.matrices.simd math.order math.trig +math.vectors math.vectors.simd noise opengl +opengl.capabilities opengl.gl opengl.shaders opengl.textures +sequences specialized-arrays terrain.generation terrain.shaders +typed ui ui.gadgets.worlds ui.gestures ui.pixel-formats ; QUALIFIED-WITH: alien.c-types c SPECIALIZED-ARRAY: c:float IN: terrain diff --git a/extra/tetris/board/board.factor b/extra/tetris/board/board.factor index 2340e2091c..9acb53d8b3 100644 --- a/extra/tetris/board/board.factor +++ b/extra/tetris/board/board.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2006, 2007, 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays combinators.short-circuit fry kernel +USING: accessors arrays combinators.short-circuit kernel math sequences tetris.piece ; IN: tetris.board diff --git a/extra/tetris/game/game.factor b/extra/tetris/game/game.factor index b2d3cc8833..b6e2539bca 100644 --- a/extra/tetris/game/game.factor +++ b/extra/tetris/game/game.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors combinators kernel lists math math.functions -sequences system tetris.board tetris.piece tetris.tetromino ; +sequences system tetris.board tetris.piece ; IN: tetris.game diff --git a/extra/tetris/tetris.factor b/extra/tetris/tetris.factor index 255144d4ec..3837612415 100644 --- a/extra/tetris/tetris.factor +++ b/extra/tetris/tetris.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2006, 2007, 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: accessors timers arrays calendar kernel make math math.rectangles -math.parser namespaces sequences system tetris.game tetris.gl ui.gadgets -ui.gadgets.labels ui.gadgets.worlds ui.gadgets.status-bar ui.gestures -ui.render ui ; +USING: accessors calendar kernel make math.parser sequences +tetris.game tetris.gl timers ui ui.gadgets ui.gadgets.status-bar +ui.gadgets.worlds ui.gestures ui.render ; IN: tetris TUPLE: tetris-gadget < gadget { tetris tetris } { timer } ; diff --git a/extra/tetris/tetromino/tetromino.factor b/extra/tetris/tetromino/tetromino.factor index f948e2e5b5..9b38eb2963 100644 --- a/extra/tetris/tetromino/tetromino.factor +++ b/extra/tetris/tetromino/tetromino.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2006, 2007, 2008 Alex Chapman ! See http://factorcode.org/license.txt for BSD license. -USING: kernel arrays namespaces sequences math math.order -math.vectors colors random ; +USING: colors math namespaces random sequences ; IN: tetris.tetromino diff --git a/extra/text-analysis/text-analysis.factor b/extra/text-analysis/text-analysis.factor index 88f537953a..c1e3020026 100644 --- a/extra/text-analysis/text-analysis.factor +++ b/extra/text-analysis/text-analysis.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2014 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: accessors combinators formatting fry io.encodings.ascii +USING: accessors combinators formatting io.encodings.ascii io.files kernel literals math math.functions math.order multiline regexp sequences sequences.extras sets splitting unicode ; diff --git a/extra/text-to-pdf/text-to-pdf.factor b/extra/text-to-pdf/text-to-pdf.factor index 76c1ee0299..9d7cff2858 100644 --- a/extra/text-to-pdf/text-to-pdf.factor +++ b/extra/text-to-pdf/text-to-pdf.factor @@ -1,9 +1,8 @@ ! Copyright (C) 2010 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: assocs calendar combinators environment formatting -grouping io io.files kernel make math ranges sequences -splitting xml.entities ; +USING: assocs calendar environment formatting grouping io.files +kernel make math ranges sequences splitting xml.entities ; IN: text-to-pdf diff --git a/extra/text-to-speech/linux/linux.factor b/extra/text-to-speech/linux/linux.factor index a23f3f29e1..9788c80609 100644 --- a/extra/text-to-speech/linux/linux.factor +++ b/extra/text-to-speech/linux/linux.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2013 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: formatting io io.encodings.utf8 io.launcher system -text-to-speech ; +USING: io io.encodings.utf8 io.launcher system text-to-speech ; IN: text-to-speech.linux diff --git a/extra/time-server/time-server.factor b/extra/time-server/time-server.factor index 1b2f14650a..6a43c59e18 100644 --- a/extra/time-server/time-server.factor +++ b/extra/time-server/time-server.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors calendar calendar.format command-line io io.encodings.ascii io.servers kernel math.parser namespaces -sequences threads ; +sequences ; IN: time-server : handle-time-client ( -- ) diff --git a/extra/time/time.factor b/extra/time/time.factor index 15750a2dcd..cd076e50d9 100644 --- a/extra/time/time.factor +++ b/extra/time/time.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: combinators kernel system vocabs ; +USING: combinators system vocabs ; IN: time HOOK: set-system-time os ( timestamp -- ) diff --git a/extra/time/windows/windows.factor b/extra/time/windows/windows.factor index 6d6b4e7073..7bfbbfc5f2 100644 --- a/extra/time/windows/windows.factor +++ b/extra/time/windows/windows.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: calendar.windows system time windows.errors -windows.kernel32 kernel classes.struct calendar ; +USING: calendar calendar.windows system time windows.errors +windows.kernel32 ; IN: time.windows M: windows set-system-time diff --git a/extra/tokyo/alien/tcadb/tcadb.factor b/extra/tokyo/alien/tcadb/tcadb.factor index 119705ad3a..be8c0beca2 100644 --- a/extra/tokyo/alien/tcadb/tcadb.factor +++ b/extra/tokyo/alien/tcadb/tcadb.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil -tokyo.alien.tcbdb tokyo.alien.tcfdb tokyo.alien.tctdb ; +USING: alien.c-types alien.syntax tokyo.alien.tcbdb +tokyo.alien.tcutil ; IN: tokyo.alien.tcadb LIBRARY: tokyocabinet diff --git a/extra/tokyo/alien/tcbdb/tcbdb.factor b/extra/tokyo/alien/tcbdb/tcbdb.factor index 573594af05..e5c172153c 100644 --- a/extra/tokyo/alien/tcbdb/tcbdb.factor +++ b/extra/tokyo/alien/tcbdb/tcbdb.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil ; +USING: alien.c-types alien.syntax tokyo.alien.tchdb +tokyo.alien.tcutil ; IN: tokyo.alien.tcbdb LIBRARY: tokyocabinet diff --git a/extra/tokyo/alien/tcfdb/tcfdb.factor b/extra/tokyo/alien/tcfdb/tcfdb.factor index be1d4111fc..c1b4f38b24 100644 --- a/extra/tokyo/alien/tcfdb/tcfdb.factor +++ b/extra/tokyo/alien/tcfdb/tcfdb.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel tokyo.alien.tcutil ; -IN: tokyo.alien.tcfdb +USING: alien.c-types alien.syntax tokyo.alien.tchdb +tokyo.alien.tcutil ; +IN: tokyo.alien.tctdb TYPEDEF: void* TCFDB diff --git a/extra/tokyo/alien/tchdb/tchdb.factor b/extra/tokyo/alien/tchdb/tchdb.factor index 3ad080d647..c4baa605d4 100644 --- a/extra/tokyo/alien/tchdb/tchdb.factor +++ b/extra/tokyo/alien/tchdb/tchdb.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel tokyo.alien.tcutil ; +USING: alien.c-types alien.syntax tokyo.alien.tcutil ; IN: tokyo.alien.tchdb LIBRARY: tokyocabinet diff --git a/extra/tokyo/alien/tcrdb/tcrdb.factor b/extra/tokyo/alien/tcrdb/tcrdb.factor index 168e5bfd43..fce11ac660 100644 --- a/extra/tokyo/alien/tcrdb/tcrdb.factor +++ b/extra/tokyo/alien/tcrdb/tcrdb.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel system tokyo.alien.tchdb tokyo.alien.tcutil -tokyo.alien.tctdb classes.struct ; +combinators system tokyo.alien.tcutil tokyo.alien.tctdb ; IN: tokyo.alien.tcrdb << "tokyotyrant" { diff --git a/extra/tokyo/alien/tctdb/tctdb.factor b/extra/tokyo/alien/tctdb/tctdb.factor index d93b265691..bf7491b976 100644 --- a/extra/tokyo/alien/tctdb/tctdb.factor +++ b/extra/tokyo/alien/tctdb/tctdb.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil ; +USING: alien.c-types alien.syntax tokyo.alien.tchdb +tokyo.alien.tcutil ; IN: tokyo.alien.tctdb LIBRARY: tokyocabinet diff --git a/extra/tokyo/alien/tcutil/tcutil.factor b/extra/tokyo/alien/tcutil/tcutil.factor index e12c4c9ed4..39e9b48d67 100644 --- a/extra/tokyo/alien/tcutil/tcutil.factor +++ b/extra/tokyo/alien/tcutil/tcutil.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.libraries alien.syntax -combinators kernel system ; +combinators system ; IN: tokyo.alien.tcutil << "tokyocabinet" { diff --git a/extra/tokyo/assoc-functor/assoc-functor.factor b/extra/tokyo/assoc-functor/assoc-functor.factor index d9b9392b08..96bc5a6316 100644 --- a/extra/tokyo/assoc-functor/assoc-functor.factor +++ b/extra/tokyo/assoc-functor/assoc-functor.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.data arrays assocs -destructors fry functors kernel locals sequences serialize +destructors functors kernel sequences serialize tokyo.alien.tcutil tokyo.utils vectors ; IN: tokyo.assoc-functor diff --git a/extra/tokyo/utils/utils.factor b/extra/tokyo/utils/utils.factor index d18039ec72..95be3f7b59 100644 --- a/extra/tokyo/utils/utils.factor +++ b/extra/tokyo/utils/utils.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Bruno Deferrari ! See http://factorcode.org/license.txt for BSD license. -USING: io io.streams.memory serialize kernel ; +USING: io.streams.memory serialize ; IN: tokyo.utils : memory>object ( memory -- object ) diff --git a/extra/tools/cat/cat.factor b/extra/tools/cat/cat.factor index bd0ab86733..093872bec8 100644 --- a/extra/tools/cat/cat.factor +++ b/extra/tools/cat/cat.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2010 John Benediktsson ! See http://factorcode.org/license.txt for BSD license -USING: command-line formatting fry io io.encodings +USING: command-line formatting io io.encodings io.encodings.binary io.files kernel namespaces sequences ; IN: tools.cat diff --git a/extra/tools/directory-to-file/directory-to-file.factor b/extra/tools/directory-to-file/directory-to-file.factor index 012aaeafdb..5ab3e91f8f 100644 --- a/extra/tools/directory-to-file/directory-to-file.factor +++ b/extra/tools/directory-to-file/directory-to-file.factor @@ -1,9 +1,9 @@ ! Copyright (C) 2018 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: base91 combinators command-line escape-strings fry -io.backend io.directories io.encodings.binary io.encodings.utf8 -io.files io.files.info io.pathnames kernel locals math -namespaces sequences sequences.extras splitting ; +USING: base91 combinators command-line escape-strings io.backend +io.directories io.encodings.binary io.encodings.utf8 io.files +io.files.info io.pathnames kernel math namespaces sequences +splitting ; IN: tools.directory-to-file : file-is-text? ( path -- ? ) diff --git a/extra/tools/time/struct/struct.factor b/extra/tools/time/struct/struct.factor index a350d5f2d7..338d2dbf1a 100644 --- a/extra/tools/time/struct/struct.factor +++ b/extra/tools/time/struct/struct.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types classes.struct kernel memory +USING: accessors alien.c-types classes.struct kernel tools.memory system vm ; IN: tools.time.struct diff --git a/extra/ui/gadgets/charts/lines/lines.factor b/extra/ui/gadgets/charts/lines/lines.factor index 354218d632..519588b51a 100644 --- a/extra/ui/gadgets/charts/lines/lines.factor +++ b/extra/ui/gadgets/charts/lines/lines.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2016-2017 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs binary-search colors -combinators combinators.short-circuit fry kernel locals make +combinators combinators.short-circuit kernel make math math.order math.statistics math.vectors opengl opengl.gl sequences specialized-arrays splitting.monotonic ui.gadgets ui.gadgets.charts ui.gadgets.charts.utils ui.render ; diff --git a/extra/usa-cities/usa-cities.factor b/extra/usa-cities/usa-cities.factor index 111ea99159..e688921e2c 100644 --- a/extra/usa-cities/usa-cities.factor +++ b/extra/usa-cities/usa-cities.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: io.files io.encodings.ascii sequences generalizations -math.parser combinators kernel memoize csv summary -words accessors math.order binary-search combinators.smart ; +USING: accessors binary-search combinators combinators.smart csv +io.encodings.ascii kernel math.order math.parser sequences +summary ; IN: usa-cities SINGLETONS: AK AL AR AS AZ CA CO CT DC DE FL GA HI IA ID IL IN diff --git a/extra/web-services/github/github.factor b/extra/web-services/github/github.factor index c94c95841c..9061ab5dad 100644 --- a/extra/web-services/github/github.factor +++ b/extra/web-services/github/github.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2017 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: assocs cli.git formatting http.client io.pathnames -json.reader kernel locals math namespaces sequences ; +json.reader kernel math namespaces sequences ; IN: web-services.github SYMBOL: github-username diff --git a/extra/windows/comdlg32/comdlg32.factor b/extra/windows/comdlg32/comdlg32.factor index 4b1ba1bcec..b1371938f2 100644 --- a/extra/windows/comdlg32/comdlg32.factor +++ b/extra/windows/comdlg32/comdlg32.factor @@ -1,8 +1,7 @@ ! Copyright (C) 2017 Alexander Ilin. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien alien.c-types alien.libraries -alien.syntax classes.struct destructors kernel libc math -sequences strings windows windows.types ; +USING: alien alien.libraries alien.syntax classes.struct +windows.types ; IN: windows.comdlg32 diff --git a/extra/zealot/factor/factor.factor b/extra/zealot/factor/factor.factor index 5d5327c022..bec454bbb7 100644 --- a/extra/zealot/factor/factor.factor +++ b/extra/zealot/factor/factor.factor @@ -1,13 +1,13 @@ ! Copyright (C) 2017 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs bootstrap.image -bootstrap.image.upload calendar cli.git combinators -concurrency.combinators environment formatting fry http.client -io io.directories io.launcher io.pathnames kernel math.parser -memory modern.paths namespaces parser.notes prettyprint -sequences sequences.extras sets splitting system system-info -threads tools.test tools.test.private vocabs vocabs.hierarchy -vocabs.hierarchy.private vocabs.loader vocabs.metadata zealot ; +USING: accessors arrays assocs bootstrap.image calendar cli.git +combinators concurrency.combinators environment formatting +http.client io io.directories io.launcher io.pathnames kernel +math.parser memory modern.paths namespaces parser.notes +prettyprint sequences sequences.extras sets splitting system +system-info threads tools.test tools.test.private vocabs +vocabs.hierarchy vocabs.hierarchy.private vocabs.loader +vocabs.metadata zealot ; IN: zealot.factor : download-boot-checksums ( path branch -- ) diff --git a/extra/zealot/help-lint/help-lint.factor b/extra/zealot/help-lint/help-lint.factor index 03885c7977..7e75d892fb 100644 --- a/extra/zealot/help-lint/help-lint.factor +++ b/extra/zealot/help-lint/help-lint.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2019 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: assocs command-line help.lint io kernel namespaces -prettyprint sequences system vocabs vocabs.loader ; +prettyprint sequences system vocabs ; IN: zealot.help-lint ! FIXME: help-lint sometimes lists monitors and event-streams as leaked. diff --git a/extra/zealot/zealot.factor b/extra/zealot/zealot.factor index 9fcd173768..bf270fc6a7 100644 --- a/extra/zealot/zealot.factor +++ b/extra/zealot/zealot.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2017 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: cli.git combinators fry io.directories io.files.info +USING: cli.git combinators io.directories io.files.info io.pathnames kernel sequences uuid web-services.github ; IN: zealot -- 2.34.1