From 11d6c820b0794f3da4a11688843b7f8b34f6ff69 Mon Sep 17 00:00:00 2001 From: Jon Harper Date: Sun, 9 Mar 2014 21:14:45 +0100 Subject: [PATCH] YAML: cleanup USING: --- extra/yaml/conversion/conversion-tests.factor | 3 ++- extra/yaml/conversion/conversion.factor | 4 ++-- extra/yaml/yaml-docs.factor | 3 +-- extra/yaml/yaml.factor | 10 ++++------ 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/extra/yaml/conversion/conversion-tests.factor b/extra/yaml/conversion/conversion-tests.factor index 9d6ec0a442..65a3455be1 100644 --- a/extra/yaml/conversion/conversion-tests.factor +++ b/extra/yaml/conversion/conversion-tests.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2014 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. -USING: kernel literals sequences tools.test yaml.ffi yaml.conversion ; +USING: kernel literals sequences tools.test yaml.conversion +yaml.ffi ; IN: yaml.conversion.tests : resolve-test ( res str -- ) [ resolve-plain-scalar ] curry unit-test ; diff --git a/extra/yaml/conversion/conversion.factor b/extra/yaml/conversion/conversion.factor index 32a7af892a..9dce35b031 100644 --- a/extra/yaml/conversion/conversion.factor +++ b/extra/yaml/conversion/conversion.factor @@ -1,8 +1,8 @@ ! Copyright (C) 2014 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. USING: accessors base64 byte-arrays combinators -combinators.extras kernel locals math math.parser regexp -sequences strings yaml.ffi ; +combinators.extras kernel math math.parser regexp sequences +strings yaml.ffi ; IN: yaml.conversion ! !!!!!!!!!!!!!! diff --git a/extra/yaml/yaml-docs.factor b/extra/yaml/yaml-docs.factor index 3619f66614..03cd805380 100644 --- a/extra/yaml/yaml-docs.factor +++ b/extra/yaml/yaml-docs.factor @@ -1,7 +1,6 @@ ! Copyright (C) 2014 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. -USING: arrays assocs help.markup help.syntax kernel sequences -strings ; +USING: arrays help.markup help.syntax kernel sequences strings ; IN: yaml HELP: >yaml diff --git a/extra/yaml/yaml.factor b/extra/yaml/yaml.factor index 51d72b6e9d..dbd2a49c94 100644 --- a/extra/yaml/yaml.factor +++ b/extra/yaml/yaml.factor @@ -1,11 +1,9 @@ ! Copyright (C) 2013 Jon Harper. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors alien.c-types alien.data alien.syntax assocs -base64 byte-arrays classes.struct combinators continuations -destructors io.encodings.string io.encodings.utf8 kernel libc -locals make math math.parser namespaces prettyprint sequences -strings yaml.ffi yaml.conversion ; -FROM: math => float ; +USING: accessors alien.data assocs byte-arrays classes.struct +combinators destructors io.encodings.string io.encodings.utf8 +kernel libc locals make namespaces sequences strings yaml.ffi +yaml.conversion ; IN: yaml