From ea78f384f6da5f56500fc9c4211bd2b3007d0e18 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Mon, 3 Jan 2022 07:46:06 -0800 Subject: [PATCH] basis/extra: removing unnecessary IN: statements. --- basis/bit-arrays/prettyprint/prettyprint.factor | 1 - basis/bit-vectors/prettyprint/prettyprint.factor | 1 - basis/dlists/prettyprint/prettyprint.factor | 1 - basis/hash-sets/identity/prettyprint/prettyprint.factor | 2 -- basis/hash-sets/numbers/prettyprint/prettyprint.factor | 2 -- basis/hash-sets/sequences/prettyprint/prettyprint.factor | 2 -- basis/hash-sets/wrapped/prettyprint/prettyprint.factor | 2 -- basis/hashtables/identity/prettyprint/prettyprint.factor | 2 -- basis/hashtables/sequences/prettyprint/prettyprint.factor | 2 -- basis/hashtables/wrapped/prettyprint/prettyprint.factor | 2 -- basis/io/streams/byte-array/fast/fast.factor | 1 - basis/math/rectangles/prettyprint/prettyprint.factor | 4 ++-- basis/regexp/prettyprint/prettyprint.factor | 1 - basis/stack-checker/errors/prettyprint/prettyprint.factor | 1 - basis/ui/gadgets/prettyprint/prettyprint.factor | 1 - basis/urls/prettyprint/prettyprint.factor | 1 - basis/vlists/prettyprint/prettyprint.factor | 1 - basis/windows/com/prettyprint/prettyprint.factor | 1 - extra/game/loop/prettyprint/prettyprint.factor | 1 - extra/gpu/shaders/prettyprint/prettyprint.factor | 1 - 20 files changed, 2 insertions(+), 28 deletions(-) diff --git a/basis/bit-arrays/prettyprint/prettyprint.factor b/basis/bit-arrays/prettyprint/prettyprint.factor index 6434825d6f..838fbffe41 100644 --- a/basis/bit-arrays/prettyprint/prettyprint.factor +++ b/basis/bit-arrays/prettyprint/prettyprint.factor @@ -1,5 +1,4 @@ USING: bit-arrays kernel prettyprint.custom ; -IN: bit-arrays.prettyprint M: bit-array pprint-delims drop \ ?{ \ } ; M: bit-array >pprint-sequence ; diff --git a/basis/bit-vectors/prettyprint/prettyprint.factor b/basis/bit-vectors/prettyprint/prettyprint.factor index d40a4eafbb..74b7a391ee 100644 --- a/basis/bit-vectors/prettyprint/prettyprint.factor +++ b/basis/bit-vectors/prettyprint/prettyprint.factor @@ -1,5 +1,4 @@ USING: bit-vectors kernel prettyprint.custom ; -IN: bit-vectors.prettyprint M: bit-vector >pprint-sequence ; M: bit-vector pprint-delims drop \ ?V{ \ } ; diff --git a/basis/dlists/prettyprint/prettyprint.factor b/basis/dlists/prettyprint/prettyprint.factor index c4c8e020b9..74a16f5c74 100644 --- a/basis/dlists/prettyprint/prettyprint.factor +++ b/basis/dlists/prettyprint/prettyprint.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2011 Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: dlists kernel prettyprint.custom ; -IN: dlists.prettyprint M: dlist pprint-delims drop \ DL{ \ } ; M: dlist >pprint-sequence dlist>sequence ; diff --git a/basis/hash-sets/identity/prettyprint/prettyprint.factor b/basis/hash-sets/identity/prettyprint/prettyprint.factor index 25baec0234..c7dd3daf92 100644 --- a/basis/hash-sets/identity/prettyprint/prettyprint.factor +++ b/basis/hash-sets/identity/prettyprint/prettyprint.factor @@ -3,6 +3,4 @@ USING: hash-sets.identity kernel prettyprint.custom ; -IN: hash-sets.identity.prettyprint - M: identity-hash-set pprint-delims drop \ IHS{ \ } ; diff --git a/basis/hash-sets/numbers/prettyprint/prettyprint.factor b/basis/hash-sets/numbers/prettyprint/prettyprint.factor index 55188e1c60..04a48ba704 100644 --- a/basis/hash-sets/numbers/prettyprint/prettyprint.factor +++ b/basis/hash-sets/numbers/prettyprint/prettyprint.factor @@ -3,6 +3,4 @@ USING: hash-sets.numbers kernel prettyprint.custom ; -IN: hash-sets.numbers.prettyprint - M: number-hash-set pprint-delims drop \ NHS{ \ } ; diff --git a/basis/hash-sets/sequences/prettyprint/prettyprint.factor b/basis/hash-sets/sequences/prettyprint/prettyprint.factor index b97a9d44c7..8c1ec9c0ed 100644 --- a/basis/hash-sets/sequences/prettyprint/prettyprint.factor +++ b/basis/hash-sets/sequences/prettyprint/prettyprint.factor @@ -3,6 +3,4 @@ USING: hash-sets.sequences kernel prettyprint.custom ; -IN: hash-sets.sequences.prettyprint - M: sequence-hash-set pprint-delims drop \ SHS{ \ } ; diff --git a/basis/hash-sets/wrapped/prettyprint/prettyprint.factor b/basis/hash-sets/wrapped/prettyprint/prettyprint.factor index 810be0c91a..b59ff800d9 100644 --- a/basis/hash-sets/wrapped/prettyprint/prettyprint.factor +++ b/basis/hash-sets/wrapped/prettyprint/prettyprint.factor @@ -4,8 +4,6 @@ USING: continuations hash-sets.wrapped namespaces prettyprint.config prettyprint.custom sets ; -IN: hash-sets.wrapped.prettyprint - M: wrapped-hash-set >pprint-sequence members ; M: wrapped-hash-set pprint* diff --git a/basis/hashtables/identity/prettyprint/prettyprint.factor b/basis/hashtables/identity/prettyprint/prettyprint.factor index 4e27c5968d..83c9d7d966 100644 --- a/basis/hashtables/identity/prettyprint/prettyprint.factor +++ b/basis/hashtables/identity/prettyprint/prettyprint.factor @@ -3,6 +3,4 @@ USING: hashtables.identity kernel prettyprint.custom ; -IN: hashtables.identity.prettyprint - M: identity-hashtable pprint-delims drop \ IH{ \ } ; diff --git a/basis/hashtables/sequences/prettyprint/prettyprint.factor b/basis/hashtables/sequences/prettyprint/prettyprint.factor index 8b80399a39..23a0a66273 100644 --- a/basis/hashtables/sequences/prettyprint/prettyprint.factor +++ b/basis/hashtables/sequences/prettyprint/prettyprint.factor @@ -3,6 +3,4 @@ USING: hashtables.sequences kernel prettyprint.custom ; -IN: hashtables.sequences.prettyprint - M: sequence-hashtable pprint-delims drop \ SH{ \ } ; diff --git a/basis/hashtables/wrapped/prettyprint/prettyprint.factor b/basis/hashtables/wrapped/prettyprint/prettyprint.factor index cf4100e44d..adeb009851 100644 --- a/basis/hashtables/wrapped/prettyprint/prettyprint.factor +++ b/basis/hashtables/wrapped/prettyprint/prettyprint.factor @@ -4,8 +4,6 @@ USING: assocs continuations hashtables.wrapped namespaces prettyprint.config prettyprint.custom ; -IN: hashtables.wrapped.prettyprint - M: wrapped-hashtable >pprint-sequence >alist ; M: wrapped-hashtable pprint* diff --git a/basis/io/streams/byte-array/fast/fast.factor b/basis/io/streams/byte-array/fast/fast.factor index 9f74d0778b..26dae5f4bf 100644 --- a/basis/io/streams/byte-array/fast/fast.factor +++ b/basis/io/streams/byte-array/fast/fast.factor @@ -2,7 +2,6 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien byte-arrays byte-vectors io kernel libc math sequences ; -IN: io.streams.byte-array.fast ! This is split off from io.streams.byte-array because it uses ! memcpy, which is a non-core word that only works after the diff --git a/basis/math/rectangles/prettyprint/prettyprint.factor b/basis/math/rectangles/prettyprint/prettyprint.factor index b1fe1789f7..c6e00d2f0c 100644 --- a/basis/math/rectangles/prettyprint/prettyprint.factor +++ b/basis/math/rectangles/prettyprint/prettyprint.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009, 2010 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors math.rectangles kernel prettyprint.custom prettyprint.backend ; -IN: math.rectangles.prettyprint +USING: accessors math.rectangles kernel prettyprint.custom +prettyprint.backend ; M: rect pprint* [ diff --git a/basis/regexp/prettyprint/prettyprint.factor b/basis/regexp/prettyprint/prettyprint.factor index ae3877c7d7..fd7def208d 100644 --- a/basis/regexp/prettyprint/prettyprint.factor +++ b/basis/regexp/prettyprint/prettyprint.factor @@ -2,7 +2,6 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors kernel make prettyprint.backend prettyprint.custom regexp regexp.parser splitting ; -IN: regexp.prettyprint M: regexp pprint* [ diff --git a/basis/stack-checker/errors/prettyprint/prettyprint.factor b/basis/stack-checker/errors/prettyprint/prettyprint.factor index 40eca52c62..edc90554a6 100644 --- a/basis/stack-checker/errors/prettyprint/prettyprint.factor +++ b/basis/stack-checker/errors/prettyprint/prettyprint.factor @@ -2,7 +2,6 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors arrays debugger io kernel prettyprint sequences stack-checker.errors summary ; -IN: stack-checker.errors.prettyprint M: unknown-macro-input summary macro>> name>> "Cannot apply “" "” to an input parameter of a non-inline word" surround ; diff --git a/basis/ui/gadgets/prettyprint/prettyprint.factor b/basis/ui/gadgets/prettyprint/prettyprint.factor index 45b540994e..b77c35510a 100644 --- a/basis/ui/gadgets/prettyprint/prettyprint.factor +++ b/basis/ui/gadgets/prettyprint/prettyprint.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: ui.gadgets prettyprint.backend prettyprint.custom ; -IN: ui.gadgets.prettyprint ! Don't print gadgets with RECT: syntax M: gadget pprint* pprint-tuple ; diff --git a/basis/urls/prettyprint/prettyprint.factor b/basis/urls/prettyprint/prettyprint.factor index 35e428c8fa..c4ce8d9693 100644 --- a/basis/urls/prettyprint/prettyprint.factor +++ b/basis/urls/prettyprint/prettyprint.factor @@ -2,7 +2,6 @@ ! See http://factorcode.org/license.txt for BSD license. USING: kernel present prettyprint.custom prettyprint.sections prettyprint.backend urls ; -IN: urls.prettyprint M: url pprint* \ URL" record-vocab diff --git a/basis/vlists/prettyprint/prettyprint.factor b/basis/vlists/prettyprint/prettyprint.factor index 76e373726a..d60b51db22 100644 --- a/basis/vlists/prettyprint/prettyprint.factor +++ b/basis/vlists/prettyprint/prettyprint.factor @@ -1,5 +1,4 @@ USING: assocs kernel prettyprint.custom vlists ; -IN: vlists.prettyprint M: vlist pprint-delims drop \ VL{ \ } ; M: vlist >pprint-sequence ; diff --git a/basis/windows/com/prettyprint/prettyprint.factor b/basis/windows/com/prettyprint/prettyprint.factor index ef79a58600..e95e1f195c 100644 --- a/basis/windows/com/prettyprint/prettyprint.factor +++ b/basis/windows/com/prettyprint/prettyprint.factor @@ -2,6 +2,5 @@ ! See http://factorcode.org/license.txt for BSD license. USING: windows.kernel32 windows.ole32 prettyprint.custom prettyprint.sections sequences ; -IN: windows.com.prettyprint M: GUID pprint* guid>string "GUID: " prepend text ; diff --git a/extra/game/loop/prettyprint/prettyprint.factor b/extra/game/loop/prettyprint/prettyprint.factor index 3550444a78..2be2ba9dec 100644 --- a/extra/game/loop/prettyprint/prettyprint.factor +++ b/extra/game/loop/prettyprint/prettyprint.factor @@ -1,7 +1,6 @@ ! 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/gpu/shaders/prettyprint/prettyprint.factor b/extra/gpu/shaders/prettyprint/prettyprint.factor index 10afe4bee1..20bc8b9f51 100644 --- a/extra/gpu/shaders/prettyprint/prettyprint.factor +++ b/extra/gpu/shaders/prettyprint/prettyprint.factor @@ -1,5 +1,4 @@ USING: accessors debugger gpu.shaders io kernel prettyprint ; -IN: gpu.shaders.prettyprint M: compile-shader-error error. "The GLSL shader " write -- 2.34.1