From 3f021cfab15972036a15dc46f96bf19bcce4f65e Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 5 Sep 2022 23:35:58 -0500 Subject: [PATCH] core: trim using lists with lint.vocabs tool --- core/alien/alien.factor | 3 ++- core/alien/strings/strings.factor | 2 +- core/classes/tuple/parser/parser.factor | 4 ++-- core/compiler/units/units.factor | 2 +- core/destructors/destructors.factor | 2 +- core/io/files/files.factor | 2 +- core/source-files/errors/errors.factor | 2 +- core/vocabs/loader/loader.factor | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/core/alien/alien.factor b/core/alien/alien.factor index 385fd606ae..689053efd8 100644 --- a/core/alien/alien.factor +++ b/core/alien/alien.factor @@ -1,8 +1,9 @@ ! Copyright (C) 2004, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs byte-arrays byte-vectors continuations -continuations.private init kernel kernel.private math namespaces +continuations.private kernel kernel.private math namespaces sequences ; +USE: init ! required but does not reference words IN: alien BUILTIN: alien { underlying c-ptr read-only initial: f } expired ; diff --git a/core/alien/strings/strings.factor b/core/alien/strings/strings.factor index 4202e10f5b..a33ed2274c 100644 --- a/core/alien/strings/strings.factor +++ b/core/alien/strings/strings.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2008, 2011 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien arrays byte-arrays byte-vectors init io +USING: accessors alien arrays byte-arrays byte-vectors io io.encodings io.encodings.ascii io.encodings.utf16 io.encodings.utf8 io.streams.memory kernel kernel.private math namespaces sequences sequences.private strings strings.private diff --git a/core/classes/tuple/parser/parser.factor b/core/classes/tuple/parser/parser.factor index 1521919190..eedfe0cc0a 100644 --- a/core/classes/tuple/parser/parser.factor +++ b/core/classes/tuple/parser/parser.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2008, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs classes.parser classes.tuple -combinators kernel lexer make parser parser.notes sequences -sets slots ; +combinators kernel lexer make parser parser.notes sequences sets +slots ; IN: classes.tuple.parser : slot-names ( slots -- seq ) diff --git a/core/compiler/units/units.factor b/core/compiler/units/units.factor index 07e2e23c21..90223e19ea 100644 --- a/core/compiler/units/units.factor +++ b/core/compiler/units/units.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs classes classes.private classes.tuple.private continuations definitions generic -hash-sets init kernel kernel.private math namespaces sequences +hash-sets kernel kernel.private math namespaces sequences sets source-files.errors vocabs words ; IN: compiler.units diff --git a/core/destructors/destructors.factor b/core/destructors/destructors.factor index acd6ef922d..1ed1ce8433 100644 --- a/core/destructors/destructors.factor +++ b/core/destructors/destructors.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2007, 2010 Doug Coleman, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs continuations init kernel namespaces +USING: accessors assocs continuations kernel namespaces sequences sets ; IN: destructors diff --git a/core/io/files/files.factor b/core/io/files/files.factor index da74c316c7..9189473f74 100644 --- a/core/io/files/files.factor +++ b/core/io/files/files.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2004, 2009 Slava Pestov, Daniel Ehrenberg. ! See http://factorcode.org/license.txt for BSD license. -USING: alien.strings init io io.backend io.encodings +USING: alien.strings io io.backend io.encodings io.pathnames kernel kernel.private namespaces sequences splitting system ; IN: io.files diff --git a/core/source-files/errors/errors.factor b/core/source-files/errors/errors.factor index 4dbf64dd70..49dbf64ce9 100644 --- a/core/source-files/errors/errors.factor +++ b/core/source-files/errors/errors.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors assocs continuations definitions init io +USING: accessors assocs continuations definitions io kernel math math.parser namespaces sequences sorting ; IN: source-files.errors diff --git a/core/vocabs/loader/loader.factor b/core/vocabs/loader/loader.factor index 5814657aee..54ad712302 100644 --- a/core/vocabs/loader/loader.factor +++ b/core/vocabs/loader/loader.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2007, 2010 Eduardo Cavazos, Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays assocs combinators continuations -definitions init io io.files io.pathnames kernel make namespaces +definitions io io.files io.pathnames kernel make namespaces parser sequences sets splitting strings vocabs words ; IN: vocabs.loader -- 2.34.1