From 0fb4dd6847c16a76e19751fc2428af29d60404c4 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 30 Dec 2021 14:22:33 -0600 Subject: [PATCH] core: update using lists --- core/alien/alien-docs.factor | 8 ++++---- core/alien/strings/strings-docs.factor | 4 ++-- core/alien/strings/strings-tests.factor | 6 +++--- core/arrays/arrays-docs.factor | 4 ++-- core/arrays/arrays-tests.factor | 4 ++-- core/checksums/checksums.factor | 5 ++--- core/classes/algebra/algebra.factor | 2 +- core/classes/error/error.factor | 4 ++-- core/classes/maybe/maybe.factor | 2 +- core/combinators/combinators-docs.factor | 7 +++---- core/combinators/short-circuit/short-circuit-docs.factor | 3 +-- core/combinators/short-circuit/short-circuit.factor | 3 +-- 12 files changed, 24 insertions(+), 28 deletions(-) diff --git a/core/alien/alien-docs.factor b/core/alien/alien-docs.factor index 60f95cb615..37a4efe278 100644 --- a/core/alien/alien-docs.factor +++ b/core/alien/alien-docs.factor @@ -1,7 +1,7 @@ -USING: alien.accessors alien.c-types alien.libraries alien.strings -alien.syntax byte-arrays cpu.x86 eval help.markup help.syntax io -io.backend io.encodings.utf16n io.encodings.utf8 kernel math -quotations sequences system ; +USING: alien.accessors alien.c-types alien.libraries +alien.strings alien.syntax byte-arrays cpu.x86 eval help.markup +help.syntax io io.backend io.encodings.utf16n io.encodings.utf8 +kernel math quotations sequences system ; IN: alien HELP: callee-cleanup? diff --git a/core/alien/strings/strings-docs.factor b/core/alien/strings/strings-docs.factor index 9caa02bb5b..7e3e990675 100644 --- a/core/alien/strings/strings-docs.factor +++ b/core/alien/strings/strings-docs.factor @@ -1,5 +1,5 @@ -USING: help.markup help.syntax strings byte-arrays alien libc -debugger io.encodings.string sequences ; +USING: alien byte-arrays help.markup help.syntax sequences +strings ; IN: alien.strings HELP: string>alien diff --git a/core/alien/strings/strings-tests.factor b/core/alien/strings/strings-tests.factor index 03d29738be..a288a54d93 100644 --- a/core/alien/strings/strings-tests.factor +++ b/core/alien/strings/strings-tests.factor @@ -1,6 +1,6 @@ -USING: alien.strings alien.c-types alien.data tools.test -kernel libc io.encodings.utf8 io.encodings.utf16 io.encodings.utf16n -io.encodings.ascii alien io.encodings.string io.encodings.latin1 ; +USING: alien alien.data alien.strings io.encodings.ascii +io.encodings.latin1 io.encodings.string io.encodings.utf16 +io.encodings.utf16n io.encodings.utf8 kernel libc tools.test ; { "\u0000ff" } [ "\u0000ff" latin1 string>alien latin1 alien>string ] diff --git a/core/arrays/arrays-docs.factor b/core/arrays/arrays-docs.factor index 3c778e0f43..df3daec997 100644 --- a/core/arrays/arrays-docs.factor +++ b/core/arrays/arrays-docs.factor @@ -1,5 +1,5 @@ -USING: help.markup help.syntax -kernel kernel.private prettyprint sequences.private sequences ; +USING: help.markup help.syntax kernel sequences +sequences.private ; IN: arrays ARTICLE: "arrays-unsafe" "Unsafe array operations" diff --git a/core/arrays/arrays-tests.factor b/core/arrays/arrays-tests.factor index e55c8bef2f..4626abd29d 100644 --- a/core/arrays/arrays-tests.factor +++ b/core/arrays/arrays-tests.factor @@ -1,5 +1,5 @@ -USING: accessors arrays kernel kernel.private layouts literals math -sequences tools.test vectors ; +USING: accessors arrays kernel kernel.private layouts literals +math sequences tools.test vectors ; [ -2 { "a" "b" "c" } nth ] must-fail [ 10 { "a" "b" "c" } nth ] must-fail diff --git a/core/checksums/checksums.factor b/core/checksums/checksums.factor index 4503ee05ff..848c2ca892 100644 --- a/core/checksums/checksums.factor +++ b/core/checksums/checksums.factor @@ -1,8 +1,7 @@ ! Copyright (c) 2008 Slava Pestov ! See http://factorcode.org/license.txt for BSD license. -USING: accessors byte-vectors destructors io io.backend -io.encodings.binary io.files io.streams.byte-array kernel -sequences ; +USING: accessors byte-vectors destructors io io.encodings.binary +io.files io.streams.byte-array kernel sequences ; IN: checksums MIXIN: checksum diff --git a/core/classes/algebra/algebra.factor b/core/classes/algebra/algebra.factor index a52d914e51..2edc0f253a 100644 --- a/core/classes/algebra/algebra.factor +++ b/core/classes/algebra/algebra.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs classes classes.private combinators kernel make math math.order namespaces sequences -sets sorting vectors words ; +sets sorting vectors ; IN: classes.algebra DEFER: sort-classes diff --git a/core/classes/error/error.factor b/core/classes/error/error.factor index 2c050a4c93..b0f34c2a20 100644 --- a/core/classes/error/error.factor +++ b/core/classes/error/error.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2015 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors classes.private classes.tuple -classes.tuple.private combinators kernel parser sequences words ; +USING: classes.private classes.tuple classes.tuple.private +combinators kernel words ; IN: classes.error PREDICATE: error-class < tuple-class diff --git a/core/classes/maybe/maybe.factor b/core/classes/maybe/maybe.factor index d7a6427548..a0c0a6e1d6 100644 --- a/core/classes/maybe/maybe.factor +++ b/core/classes/maybe/maybe.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays classes classes.algebra classes.algebra.private classes.private classes.union.private -kernel words ; +kernel ; IN: classes.maybe TUPLE: maybe { class classoid initial: object read-only } ; diff --git a/core/combinators/combinators-docs.factor b/core/combinators/combinators-docs.factor index b44e67408b..0f920a2555 100644 --- a/core/combinators/combinators-docs.factor +++ b/core/combinators/combinators-docs.factor @@ -1,7 +1,6 @@ -USING: arrays help.markup help.syntax strings sbufs vectors -kernel quotations generic generic.standard classes -math assocs sequences sequences.private combinators.private -effects words ; +USING: arrays assocs combinators.private effects +generic.standard help.markup help.syntax kernel quotations +sequences sequences.private words ; IN: combinators ARTICLE: "cleave-combinators" "Cleave combinators" diff --git a/core/combinators/short-circuit/short-circuit-docs.factor b/core/combinators/short-circuit/short-circuit-docs.factor index ca7c1d53c4..80183e7dbc 100644 --- a/core/combinators/short-circuit/short-circuit-docs.factor +++ b/core/combinators/short-circuit/short-circuit-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 quotations -math kernel ; +USING: help.markup help.syntax kernel math quotations ; IN: combinators.short-circuit HELP: 0&& diff --git a/core/combinators/short-circuit/short-circuit.factor b/core/combinators/short-circuit/short-circuit.factor index 73f3284018..a69eda7e76 100644 --- a/core/combinators/short-circuit/short-circuit.factor +++ b/core/combinators/short-circuit/short-circuit.factor @@ -1,5 +1,4 @@ -USING: arrays combinators generalizations kernel macros -math sequences ; +USING: arrays combinators generalizations kernel math sequences ; IN: combinators.short-circuit