diff options
Diffstat (limited to '')
1086 files changed, 2162 insertions, 2161 deletions
diff --git a/documentation/book/the_lux_programming_language/appendix_a.md b/documentation/book/the_lux_programming_language/appendix_a.md index 4002c13e9..605658385 100644 --- a/documentation/book/the_lux_programming_language/appendix_a.md +++ b/documentation/book/the_lux_programming_language/appendix_a.md @@ -5,7 +5,7 @@ You've already seen some import syntax, but now you'll see all the options avail If you recall [Chapter 1](chapter_1.md), there was this example code: ```clojure -(.using +(.require [library [lux "*" [program {"+" program:}] @@ -38,7 +38,7 @@ We also give both of those modules local aliases. That is what that `"[0]"` syntax does. -The `.using` macro recognizes that syntax for aliases and replaces the `[0]` with the import name directly to the right. +The `.require` macro recognizes that syntax for aliases and replaces the `[0]` with the import name directly to the right. That means: * `"[0]"` + `debug` = `debug` @@ -52,10 +52,10 @@ So, for example: It is also important to note that while imports can be nested for convenience, they don't have to be. -The `.using` declaration could just as easily been written like this: +The `.require` declaration could just as easily been written like this: ```clojure -(.using +(.require [library/lux "*"] [library/lux/program {"+" program:}] ["debug" library/lux/debug] @@ -68,12 +68,12 @@ Any module-path fragments included in the import syntax without such options wil --- -It is also possible to have the `.using` macro open interface implementations for you when importing the modules that contain them. +It is also possible to have the `.require` macro open interface implementations for you when importing the modules that contain them. For example: ```clojure -(.using +(.require [library [lux "*" [data @@ -105,7 +105,7 @@ The `[1]` syntax for aliasing can also be used between modules, and not just whe For example: ```clojure -(.using +(.require [library [lux "*" [data @@ -125,7 +125,7 @@ Non-aliased paths don't count as context. This means: ```clojure -(.using +(.require [library [lux "*" ["[0]" data "_" @@ -145,7 +145,7 @@ I should also note that you can **both** locally import definitions and open imp For example: ```clojure -(.using +(.require [library [lux "*" [data @@ -178,7 +178,7 @@ You can import other modules in the hierarchy like this: ```clojure ... In program/foo/baz -(.using +(.require [library [lux "*"]] ["[0]" /quux] ... program/foo/baz/quux, aliased as /quux @@ -191,7 +191,7 @@ A single forward slash (`/`) signifies _"this module"_ in the hierarchy, so anyt Two forward slashes (`//`) signify _"the module above"_, and any forward slash after that allows you to go further **up** the hierarchy. -In the case of `program`, it's enough to just specify three forward slashes (`///`) for the `.using` macro to know which module you're referring to. +In the case of `program`, it's enough to just specify three forward slashes (`///`) for the `.require` macro to know which module you're referring to. You can think about it like this: @@ -203,7 +203,7 @@ Also, this relative path syntax can be nested, like so: ```clojure ... In program/foo/baz -(.using +(.require [library [lux "*"]] [/ @@ -219,7 +219,7 @@ Or even: ```clojure ... In program/foo/baz -(.using +(.require [library [lux "*"]] [/ @@ -240,7 +240,7 @@ For the second way to do relative imports, you can see this example: ```clojure ... In program/foo/baz -(.using +(.require [library [lux "*"]] [\\test diff --git a/documentation/book/the_lux_programming_language/chapter_1.md b/documentation/book/the_lux_programming_language/chapter_1.md index 04c9df452..63059fd62 100644 --- a/documentation/book/the_lux_programming_language/chapter_1.md +++ b/documentation/book/the_lux_programming_language/chapter_1.md @@ -55,7 +55,7 @@ These are the steps: 4. Create `my_project/source/main.lux` and add this code to it: ```clojure -(.using +(.require [library [lux "*" [program {"+" program:}] diff --git a/documentation/book/the_lux_programming_language/chapter_10.md b/documentation/book/the_lux_programming_language/chapter_10.md index 6c86c9671..73fe729ea 100644 --- a/documentation/book/the_lux_programming_language/chapter_10.md +++ b/documentation/book/the_lux_programming_language/chapter_10.md @@ -36,7 +36,7 @@ Macros allow you to implement your own features in the language and to have them I mean, beyond the native syntax for writing numbers, text, variants, tuples and records, every single thing you have written so far has been macros. -`.using` import statements? _Yep, macros_. +`.require` import statements? _Yep, macros_. Definition statements? _Yep, macros_. diff --git a/documentation/book/the_lux_programming_language/chapter_11.md b/documentation/book/the_lux_programming_language/chapter_11.md index 56115b830..a069c4c9e 100644 --- a/documentation/book/the_lux_programming_language/chapter_11.md +++ b/documentation/book/the_lux_programming_language/chapter_11.md @@ -76,7 +76,7 @@ Here is an example: ```clojure ... Taken from library/lux/math/infix. -(.using +(.require [library [lux "*" [abstract diff --git a/documentation/book/the_lux_programming_language/chapter_16.md b/documentation/book/the_lux_programming_language/chapter_16.md index be5456dbf..72f9e3616 100644 --- a/documentation/book/the_lux_programming_language/chapter_16.md +++ b/documentation/book/the_lux_programming_language/chapter_16.md @@ -44,7 +44,7 @@ The `"test"` parameter specifies the name of a Lux module that serves as the ent Here is a summary of the file: ```clojure -(.using +(.require [library ["/" lux "*" [program {"+" program:}] @@ -80,7 +80,7 @@ To know how tests work, let's take a look at one of those modules. From `test/lux/data/collection/stack`. ```clojure -(.using +(.require [library [lux "*" ["_" test {"+" Test}] diff --git a/documentation/book/the_lux_programming_language/chapter_18.md b/documentation/book/the_lux_programming_language/chapter_18.md index 51f12bbbb..83a87f1ae 100644 --- a/documentation/book/the_lux_programming_language/chapter_18.md +++ b/documentation/book/the_lux_programming_language/chapter_18.md @@ -85,7 +85,7 @@ And so, Lux provides 4 different types of extensions. The first type of extension we'll see is the `Analysis` extension: ```clojure -(.using +(.require [library [lux "*" [extension {"+" [analysis: synthesis: generation:]}] diff --git a/documentation/book/the_lux_programming_language/chapter_2.md b/documentation/book/the_lux_programming_language/chapter_2.md index c4f566736..ed1a5620f 100644 --- a/documentation/book/the_lux_programming_language/chapter_2.md +++ b/documentation/book/the_lux_programming_language/chapter_2.md @@ -80,7 +80,7 @@ Directives looks similar to expressions, except that their purpose is not to pro This is a bit of a fuzzy line, since some things which also communicate stuff to the compiler are actually expressions (for example, type annotations, which we'll see in next chapter). -Examples of directives are `.using` declarations at the top of modules, and definitions of all kinds (such as program definitions). +Examples of directives are `.require` declarations at the top of modules, and definitions of all kinds (such as program definitions). ## Programs @@ -112,7 +112,7 @@ In the previous chapter we compiled and ran a Lux program, but nothing has been ```clojure ... This will be our program's main module. -(.using +(.require [library [lux "*" [program {"+" program:}] @@ -124,13 +124,13 @@ In the previous chapter we compiled and ran a Lux program, but nothing has been (io.io (debug.log! "Hello, world!"))) ``` -The first part of this program specifies which dependencies we're `using`. +The first part of this program specifies which dependencies we `require`. All Lux modules automatically import the `library/lux` module, but they don't locally import every single definition, so everything would have to be accessed by using the `library/lux.` prefix or the `.` (short-cut) prefix. To avoid that, we import the `library/lux` module in a plain way. - By the way, what I just explained about the `library/lux` module is the reason why we couldn't just use the `.using` macro as `using`. + By the way, what I just explained about the `library/lux` module is the reason why we couldn't just use the `.require` macro as `require`. Then we import the `library/lux/control/io` module. We're giving this module an alias, using that `"[0]"` syntax. The way aliasing works here is that it replaces the `[0]` with the short name of the import, and so `[0]` becomes `io`, and that is the alias given to the import. The same process happens when we import the `library/lux/debug` module. This might seems weird and sort of useless, but the aliasing syntax has some more features and flexibility, enabling you to have your own naming convention when importing modules. diff --git a/documentation/book/the_lux_programming_language/chapter_4.md b/documentation/book/the_lux_programming_language/chapter_4.md index 5dfa20328..201d0cc28 100644 --- a/documentation/book/the_lux_programming_language/chapter_4.md +++ b/documentation/book/the_lux_programming_language/chapter_4.md @@ -138,7 +138,7 @@ The reason it exists is that Lux's arithmetic functions are not polymorphic on t If you import the module for `Nat` numbers, like so: ```clojure -(.using +(.require [library [lux [math diff --git a/documentation/book/the_lux_programming_language/chapter_7.md b/documentation/book/the_lux_programming_language/chapter_7.md index 53bc97890..5c828585d 100644 --- a/documentation/book/the_lux_programming_language/chapter_7.md +++ b/documentation/book/the_lux_programming_language/chapter_7.md @@ -155,7 +155,7 @@ We've put functions and values inside our implementations. It's time to get them out and use them. -There are 2 main ways to use the stuff inside your implementations: `open:` and `#`. +There are 2 main ways to use the stuff inside your implementations: `use` and `#`. Let's check them out. @@ -170,11 +170,11 @@ Let's check them out. (def .private i::< (# library/lux/math/number/int.order <)) ``` -The `open:` macro serves as a directive that creates private/un-exported definitions in your module for every member of a particular implementation. +The `use` macro serves as a directive that creates private/un-exported definitions in your module for every member of a particular implementation. You may also give it an optional _aliasing pattern_ for the definitions, in case you want to avoid any name clash. - You might want to check out [Appendix C](appendix_c.md) to discover a pattern-matching macro version of `open:` called `^open`. + You might want to check out [Appendix C](appendix_c.md) to discover a pattern-matching macro version of `use` called `^open`. ```clojure ... Allows accessing the value of a implementation's member. diff --git a/documentation/book/the_lux_programming_language/chapter_8.md b/documentation/book/the_lux_programming_language/chapter_8.md index 8c262b355..2759ad62d 100644 --- a/documentation/book/the_lux_programming_language/chapter_8.md +++ b/documentation/book/the_lux_programming_language/chapter_8.md @@ -209,14 +209,14 @@ The thing about `Monad` is that, with it, you can use `each` functions that also Let's see that in action: ```clojure -(.using +(.require [library [lux "*" [data [collection ["[0]" list]]]]]) -(open: list.monad) +(use list.monad) (def foo (|> (list 1 2 3 4) @@ -268,7 +268,7 @@ Not really. It's just the `Monad` for `List`: {.#Item x xs'} {.#Item x (compose xs' ys)}))) -(open: "[0]" ..monoid) +(use "[0]" ..monoid) (implementation: .public monad (Monad List) @@ -300,7 +300,7 @@ Time for the VIP treatment. These macros always show up at the right time to saves us from our hurdles! ```clojure -(.using +(.require [library [lux "*" [data diff --git a/documentation/book/the_lux_programming_language/chapter_9.md b/documentation/book/the_lux_programming_language/chapter_9.md index 13d3c2462..a01740f09 100644 --- a/documentation/book/the_lux_programming_language/chapter_9.md +++ b/documentation/book/the_lux_programming_language/chapter_9.md @@ -60,7 +60,7 @@ You can actually write computations that can read and even modify (_careful with This turns out to be massively useful when implementing a variety of powerful macros. -For example, remember the `open:` and `#` macros from [chapter 7](chapter_7.md)? +For example, remember the `use` and `#` macros from [chapter 7](chapter_7.md)? They actually look up the typing information for the structures you give them to figure out the names of members and generate the code necessary to get that functionality going. diff --git a/licentia/source/program/licentia.lux b/licentia/source/program/licentia.lux index d736a5fa7..c4652b12d 100644 --- a/licentia/source/program/licentia.lux +++ b/licentia/source/program/licentia.lux @@ -11,7 +11,7 @@ ... Common Public Attribution License Version 1.0 (CPAL-1.0): https://opensource.org/licenses/CPAL-1.0 ... Eclipse Public License v2.0: https://www.eclipse.org/legal/epl-2.0/ -(.using +(.require [library [lux (.except) [ffi (.only import)] @@ -21,7 +21,7 @@ [monad (.only do)]] [control [remember (.only to_do)] - ["[0]" io (.only IO) (.open: "[1]#[0]" monad)] + ["[0]" io (.only IO) (.use "[1]#[0]" monad)] ["[0]" maybe] ["[0]" try (.only Try)] ["[0]" parser diff --git a/licentia/source/program/licentia/document.lux b/licentia/source/program/licentia/document.lux index eb35929f4..9272cbf6a 100644 --- a/licentia/source/program/licentia/document.lux +++ b/licentia/source/program/licentia/document.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except or and) [data ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]]]]) + ["[0]" list (.use "[1]#[0]" functor)]]]]]) (def .public (quote text) (-> Text Text) diff --git a/licentia/source/program/licentia/input.lux b/licentia/source/program/licentia/input.lux index aa63f81d7..11af6acf6 100644 --- a/licentia/source/program/licentia/input.lux +++ b/licentia/source/program/licentia/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/licentia/source/program/licentia/license.lux b/licentia/source/program/licentia/license.lux index a5633e0e3..b9280bd5f 100644 --- a/licentia/source/program/licentia/license.lux +++ b/licentia/source/program/licentia/license.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] ["[0]" / diff --git a/licentia/source/program/licentia/license/addendum.lux b/licentia/source/program/licentia/license/addendum.lux index ff3154c43..fb8be25b6 100644 --- a/licentia/source/program/licentia/license/addendum.lux +++ b/licentia/source/program/licentia/license/addendum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/assurance.lux b/licentia/source/program/licentia/license/assurance.lux index 71d28d670..5a8f87173 100644 --- a/licentia/source/program/licentia/license/assurance.lux +++ b/licentia/source/program/licentia/license/assurance.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/black_list.lux b/licentia/source/program/licentia/license/black_list.lux index 2c579ce2f..e87041365 100644 --- a/licentia/source/program/licentia/license/black_list.lux +++ b/licentia/source/program/licentia/license/black_list.lux @@ -1,13 +1,13 @@ -(.using +(.require [library [lux (.except) [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]]]] + ["[0]" list (.use "[1]#[0]" functor)]]]]] ["[0]" // (.only Entity Black_List) ["_" term] [// diff --git a/licentia/source/program/licentia/license/commercial.lux b/licentia/source/program/licentia/license/commercial.lux index aeab29d02..93fceef46 100644 --- a/licentia/source/program/licentia/license/commercial.lux +++ b/licentia/source/program/licentia/license/commercial.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/copyright.lux b/licentia/source/program/licentia/license/copyright.lux index 6e4bfab07..b3bbcfa9b 100644 --- a/licentia/source/program/licentia/license/copyright.lux +++ b/licentia/source/program/licentia/license/copyright.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/licentia/source/program/licentia/license/definition.lux b/licentia/source/program/licentia/license/definition.lux index 13da5bf69..d43906feb 100644 --- a/licentia/source/program/licentia/license/definition.lux +++ b/licentia/source/program/licentia/license/definition.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) [data diff --git a/licentia/source/program/licentia/license/distribution.lux b/licentia/source/program/licentia/license/distribution.lux index 1a388b664..6d64c6a42 100644 --- a/licentia/source/program/licentia/license/distribution.lux +++ b/licentia/source/program/licentia/license/distribution.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [data ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]]]] + ["[0]" list (.use "[1]#[0]" monoid)]]]]] ["[0]" // (.only Distribution) ["_" term] [// diff --git a/licentia/source/program/licentia/license/extension.lux b/licentia/source/program/licentia/license/extension.lux index cb2a3bddf..208e039a5 100644 --- a/licentia/source/program/licentia/license/extension.lux +++ b/licentia/source/program/licentia/license/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/grant.lux b/licentia/source/program/licentia/license/grant.lux index 729d9fd5c..b890faa00 100644 --- a/licentia/source/program/licentia/license/grant.lux +++ b/licentia/source/program/licentia/license/grant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/liability.lux b/licentia/source/program/licentia/license/liability.lux index 3f7c62340..87a3039b6 100644 --- a/licentia/source/program/licentia/license/liability.lux +++ b/licentia/source/program/licentia/license/liability.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/limitation.lux b/licentia/source/program/licentia/license/limitation.lux index 741ebbb61..cdb8f9fc8 100644 --- a/licentia/source/program/licentia/license/limitation.lux +++ b/licentia/source/program/licentia/license/limitation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/miscellaneous.lux b/licentia/source/program/licentia/license/miscellaneous.lux index 18041be49..c297a4019 100644 --- a/licentia/source/program/licentia/license/miscellaneous.lux +++ b/licentia/source/program/licentia/license/miscellaneous.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/notice.lux b/licentia/source/program/licentia/license/notice.lux index 67b0c3f41..3139c2d4e 100644 --- a/licentia/source/program/licentia/license/notice.lux +++ b/licentia/source/program/licentia/license/notice.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [data ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]]]] diff --git a/licentia/source/program/licentia/license/submission.lux b/licentia/source/program/licentia/license/submission.lux index 48245707e..94910d652 100644 --- a/licentia/source/program/licentia/license/submission.lux +++ b/licentia/source/program/licentia/license/submission.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/licentia/source/program/licentia/license/term.lux b/licentia/source/program/licentia/license/term.lux index c1925b02c..5ef9a9b91 100644 --- a/licentia/source/program/licentia/license/term.lux +++ b/licentia/source/program/licentia/license/term.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition)]] ["[0]" // diff --git a/licentia/source/program/licentia/license/time.lux b/licentia/source/program/licentia/license/time.lux index eb08fe651..9efebaf10 100644 --- a/licentia/source/program/licentia/license/time.lux +++ b/licentia/source/program/licentia/license/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]]) diff --git a/licentia/source/program/licentia/output.lux b/licentia/source/program/licentia/output.lux index d36a6d900..7645b2cb4 100644 --- a/licentia/source/program/licentia/output.lux +++ b/licentia/source/program/licentia/output.lux @@ -1,14 +1,14 @@ -(.using +(.require [library [lux (.except Definition) [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" bit] ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]]]] [// ["[0]" license (.only Identification Termination diff --git a/licentia/source/test/licentia.lux b/licentia/source/test/licentia.lux index c063260ae..d00497877 100644 --- a/licentia/source/test/licentia.lux +++ b/licentia/source/test/licentia.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -7,16 +7,16 @@ [monad (.only do)]] [control ["[0]" io] - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random (.only Random)] [number - ["n" nat (.open: "[1]#[0]" interval)]]]]] + ["n" nat (.use "[1]#[0]" interval)]]]]] [\\program ["[0]" output] ["[0]" license (.only Identification diff --git a/lux-cl/source/program.lux b/lux-cl/source/program.lux index 03791e037..af4540785 100644 --- a/lux-cl/source/program.lux +++ b/lux-cl/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [program (.only program:)] ["[0]" ffi] @@ -14,7 +14,7 @@ [concurrency ["[0]" promise (.only Promise)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] ["[0]" encoding]] [collection diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux index ad1f53ba3..d082291b9 100644 --- a/lux-js/source/program.lux +++ b/lux-js/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -7,7 +7,7 @@ [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)] + ["[0]" maybe (.use "[1]#[0]" monad)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] ["[0]" io (.only IO io)] diff --git a/lux-jvm/source/program.lux b/lux-jvm/source/program.lux index 32c508c59..5e4f9c5b6 100644 --- a/lux-jvm/source/program.lux +++ b/lux-jvm/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) [program (.only program:)] diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index 152d4d3e5..e043803ec 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -15,13 +15,13 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] [macro ["^" pattern] ["[0]" local] diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el index c4ebcf170..fbba53c20 100644 --- a/lux-mode/lux-mode.el +++ b/lux-mode/lux-mode.el @@ -377,10 +377,10 @@ Called by `imenu--generic-function'." (type//primitive (altRE "primitive" "abstraction" "representation" "transmutation")) (type//poly (altRE "polytypic")) (type//dynamic (altRE "dynamic" "static")) - (type//capability (altRE "capability:")) + (type//capability (altRE "capability")) ;; Data (data//record (altRE "the" "has" "revised")) - (data//interface (altRE "open:" "implementation" "with" "at")) + (data//interface (altRE "use" "implementation" "with" "at")) (data//implicit (altRE "implicitly" "a/an" "a" "an")) (data//collection (altRE "list" "sequence" "tree")) ;; Code @@ -394,7 +394,7 @@ Called by `imenu--generic-function'." (function-application (altRE "|>" "<|" "left" "right" "all")) (function-definition (altRE "function" "|>>" "<<|")) (remember (altRE "remember" "to_do" "fix_me")) - (definition (altRE "\\.using" + (definition (altRE "\\.require" "def" "inlined" "type:" "program:" "macro" "syntax" "exception:" @@ -601,6 +601,7 @@ This function also returns nil meaning don't specify the indentation." ("sharing" 'defun) ("by_example" 'defun) + ("capability" 'defun) (let 'defun) (case 'defun) diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux index a1c6db4b7..e9041321e 100644 --- a/lux-php/source/program.lux +++ b/lux-php/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [program (.only program:)] ["[0]" ffi] @@ -14,7 +14,7 @@ [concurrency ["[0]" promise (.only Promise)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 11720f39f..c33470ebf 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -10,20 +10,20 @@ [control ["[0]" pipe] ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" monad)] + ["[0]" try (.only Try) (.use "[1]#[0]" monad)] ["[0]" exception (.only exception:)] ["[0]" io (.only IO io)] ["[0]" function] [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["^" pattern] ["[0]" template] @@ -39,7 +39,7 @@ ["_" python]] [tool ["[0]" compiler - ["[0]" phase (.only Operation Phase) (.open: "[1]#[0]" monad)] + ["[0]" phase (.only Operation Phase) (.use "[1]#[0]" monad)] [reference [variable (.only Register)]] [language diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index 1a7dbe7f4..47a0b83b9 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [program (.only program:)] ["[0]" ffi] @@ -16,7 +16,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/lux-r/source/test/program.lux b/lux-r/source/test/program.lux index 0e4f480e4..f487dd0cf 100644 --- a/lux-r/source/test/program.lux +++ b/lux-r/source/test/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [control diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux index 41f03bb56..a18f86cb9 100644 --- a/lux-ruby/source/program.lux +++ b/lux-ruby/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -16,13 +16,13 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["^" pattern] ["[0]" template]] @@ -38,7 +38,7 @@ ["_" ruby]] [tool ["[0]" compiler - ["[0]" phase (.only Operation Phase) (.open: "[1]#[0]" monad)] + ["[0]" phase (.only Operation Phase) (.use "[1]#[0]" monad)] [reference [variable (.only Register)]] [language diff --git a/lux-scheme/source/program.lux b/lux-scheme/source/program.lux index 3a013afeb..857d2e3e9 100644 --- a/lux-scheme/source/program.lux +++ b/lux-scheme/source/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [program (.only program:)] ["[0]" ffi] @@ -14,7 +14,7 @@ [concurrency ["[0]" promise (.only Promise)]]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] ["[0]" encoding]] [collection diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux index e8906c6c0..0106fc515 100644 --- a/stdlib/source/documentation/lux.lux +++ b/stdlib/source/documentation/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux [program (.only program:)] @@ -550,9 +550,9 @@ (let [getter (the [#foo #bar #baz])] (getter my_record))]) - (documentation /.open: + (documentation /.use "Opens a implementation and generates a definition for each of its members (including nested members)." - [(open: "i:[0]" order) + [(use "i:[0]" order) "=>" (def i:= (at order =)) (def i:< (at order <))]) @@ -580,19 +580,19 @@ (list#each int#encoded <it>))))]) - (documentation /.using + (documentation /.require "Module-definition macro." - [(.using + [(.require [lux (.except) [control ["M" monad (.except)]] [data maybe - ["[0]" name (.open: "[1]#[0]" codec)]] + ["[0]" name (.use "[1]#[0]" codec)]] [macro code]] [// - [type (.open: "[0]" equivalence)]])]) + [type (.use "[0]" equivalence)]])]) (documentation /.# "Allows accessing the value of a implementation's member." diff --git a/stdlib/source/documentation/lux/abstract.lux b/stdlib/source/documentation/lux/abstract.lux index f970c8ea4..809448aa0 100644 --- a/stdlib/source/documentation/lux/abstract.lux +++ b/stdlib/source/documentation/lux/abstract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/apply.lux b/stdlib/source/documentation/lux/abstract/apply.lux index 80028da18..7acdd22f7 100644 --- a/stdlib/source/documentation/lux/abstract/apply.lux +++ b/stdlib/source/documentation/lux/abstract/apply.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)]]] diff --git a/stdlib/source/documentation/lux/abstract/codec.lux b/stdlib/source/documentation/lux/abstract/codec.lux index c6c97876d..d90b32b19 100644 --- a/stdlib/source/documentation/lux/abstract/codec.lux +++ b/stdlib/source/documentation/lux/abstract/codec.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)]]] diff --git a/stdlib/source/documentation/lux/abstract/comonad.lux b/stdlib/source/documentation/lux/abstract/comonad.lux index e634ad2b2..d17c0aced 100644 --- a/stdlib/source/documentation/lux/abstract/comonad.lux +++ b/stdlib/source/documentation/lux/abstract/comonad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)] diff --git a/stdlib/source/documentation/lux/abstract/comonad/cofree.lux b/stdlib/source/documentation/lux/abstract/comonad/cofree.lux index 739431ae4..b2c29f49f 100644 --- a/stdlib/source/documentation/lux/abstract/comonad/cofree.lux +++ b/stdlib/source/documentation/lux/abstract/comonad/cofree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)]]] diff --git a/stdlib/source/documentation/lux/abstract/enum.lux b/stdlib/source/documentation/lux/abstract/enum.lux index 53a1d2dd8..4a2ba511b 100644 --- a/stdlib/source/documentation/lux/abstract/enum.lux +++ b/stdlib/source/documentation/lux/abstract/enum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)]]] diff --git a/stdlib/source/documentation/lux/abstract/equivalence.lux b/stdlib/source/documentation/lux/abstract/equivalence.lux index 87be00b09..66ffdf9af 100644 --- a/stdlib/source/documentation/lux/abstract/equivalence.lux +++ b/stdlib/source/documentation/lux/abstract/equivalence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)] diff --git a/stdlib/source/documentation/lux/abstract/functor.lux b/stdlib/source/documentation/lux/abstract/functor.lux index 9c817c6a3..b0521cae1 100644 --- a/stdlib/source/documentation/lux/abstract/functor.lux +++ b/stdlib/source/documentation/lux/abstract/functor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/functor/contravariant.lux b/stdlib/source/documentation/lux/abstract/functor/contravariant.lux index 39d52f679..731af9b8e 100644 --- a/stdlib/source/documentation/lux/abstract/functor/contravariant.lux +++ b/stdlib/source/documentation/lux/abstract/functor/contravariant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation)]]] diff --git a/stdlib/source/documentation/lux/abstract/hash.lux b/stdlib/source/documentation/lux/abstract/hash.lux index 98b73f40f..04323dcc6 100644 --- a/stdlib/source/documentation/lux/abstract/hash.lux +++ b/stdlib/source/documentation/lux/abstract/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/interval.lux b/stdlib/source/documentation/lux/abstract/interval.lux index 88d50e897..a97e137aa 100644 --- a/stdlib/source/documentation/lux/abstract/interval.lux +++ b/stdlib/source/documentation/lux/abstract/interval.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/mix.lux b/stdlib/source/documentation/lux/abstract/mix.lux index da8fb5738..744a5a2ba 100644 --- a/stdlib/source/documentation/lux/abstract/mix.lux +++ b/stdlib/source/documentation/lux/abstract/mix.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/monad.lux b/stdlib/source/documentation/lux/abstract/monad.lux index f883137fa..cff2d9c20 100644 --- a/stdlib/source/documentation/lux/abstract/monad.lux +++ b/stdlib/source/documentation/lux/abstract/monad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/monad/free.lux b/stdlib/source/documentation/lux/abstract/monad/free.lux index 6174c73d3..ff1db175b 100644 --- a/stdlib/source/documentation/lux/abstract/monad/free.lux +++ b/stdlib/source/documentation/lux/abstract/monad/free.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)]]] diff --git a/stdlib/source/documentation/lux/abstract/monoid.lux b/stdlib/source/documentation/lux/abstract/monoid.lux index 804dc2d95..92a23f176 100644 --- a/stdlib/source/documentation/lux/abstract/monoid.lux +++ b/stdlib/source/documentation/lux/abstract/monoid.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/order.lux b/stdlib/source/documentation/lux/abstract/order.lux index 19271b940..53556553d 100644 --- a/stdlib/source/documentation/lux/abstract/order.lux +++ b/stdlib/source/documentation/lux/abstract/order.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/abstract/predicate.lux b/stdlib/source/documentation/lux/abstract/predicate.lux index 321df427f..8c7ad5daa 100644 --- a/stdlib/source/documentation/lux/abstract/predicate.lux +++ b/stdlib/source/documentation/lux/abstract/predicate.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control.lux b/stdlib/source/documentation/lux/control.lux index d88a8169f..e4bfc0433 100644 --- a/stdlib/source/documentation/lux/control.lux +++ b/stdlib/source/documentation/lux/control.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concatenative.lux b/stdlib/source/documentation/lux/control/concatenative.lux index 3beae22cb..a09b7681c 100644 --- a/stdlib/source/documentation/lux/control/concatenative.lux +++ b/stdlib/source/documentation/lux/control/concatenative.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop left right) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency.lux b/stdlib/source/documentation/lux/control/concurrency.lux index 5dc85c5cd..ffd314948 100644 --- a/stdlib/source/documentation/lux/control/concurrency.lux +++ b/stdlib/source/documentation/lux/control/concurrency.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/actor.lux b/stdlib/source/documentation/lux/control/concurrency/actor.lux index 4a25c2f77..27086e8b3 100644 --- a/stdlib/source/documentation/lux/control/concurrency/actor.lux +++ b/stdlib/source/documentation/lux/control/concurrency/actor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/async.lux b/stdlib/source/documentation/lux/control/concurrency/async.lux index e5aa49b2e..37f5fd09e 100644 --- a/stdlib/source/documentation/lux/control/concurrency/async.lux +++ b/stdlib/source/documentation/lux/control/concurrency/async.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/atom.lux b/stdlib/source/documentation/lux/control/concurrency/atom.lux index a18adabcf..054876501 100644 --- a/stdlib/source/documentation/lux/control/concurrency/atom.lux +++ b/stdlib/source/documentation/lux/control/concurrency/atom.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/frp.lux b/stdlib/source/documentation/lux/control/concurrency/frp.lux index 5365585a3..9c11eb6d2 100644 --- a/stdlib/source/documentation/lux/control/concurrency/frp.lux +++ b/stdlib/source/documentation/lux/control/concurrency/frp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/semaphore.lux b/stdlib/source/documentation/lux/control/concurrency/semaphore.lux index c825074c7..474144fff 100644 --- a/stdlib/source/documentation/lux/control/concurrency/semaphore.lux +++ b/stdlib/source/documentation/lux/control/concurrency/semaphore.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/stm.lux b/stdlib/source/documentation/lux/control/concurrency/stm.lux index 60c1eb06e..000afb6e0 100644 --- a/stdlib/source/documentation/lux/control/concurrency/stm.lux +++ b/stdlib/source/documentation/lux/control/concurrency/stm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/concurrency/thread.lux b/stdlib/source/documentation/lux/control/concurrency/thread.lux index e856ee64b..c4dbf2408 100644 --- a/stdlib/source/documentation/lux/control/concurrency/thread.lux +++ b/stdlib/source/documentation/lux/control/concurrency/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/continuation.lux b/stdlib/source/documentation/lux/control/continuation.lux index f7b729cd8..0c165a0d4 100644 --- a/stdlib/source/documentation/lux/control/continuation.lux +++ b/stdlib/source/documentation/lux/control/continuation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/exception.lux b/stdlib/source/documentation/lux/control/exception.lux index 240cc8267..a2ab6278c 100644 --- a/stdlib/source/documentation/lux/control/exception.lux +++ b/stdlib/source/documentation/lux/control/exception.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/function.lux b/stdlib/source/documentation/lux/control/function.lux index c681ad77a..4a0566eca 100644 --- a/stdlib/source/documentation/lux/control/function.lux +++ b/stdlib/source/documentation/lux/control/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/function/contract.lux b/stdlib/source/documentation/lux/control/function/contract.lux index f7586f66f..9545d94e2 100644 --- a/stdlib/source/documentation/lux/control/function/contract.lux +++ b/stdlib/source/documentation/lux/control/function/contract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/function/memo.lux b/stdlib/source/documentation/lux/control/function/memo.lux index 1b24efe3a..9699fccee 100644 --- a/stdlib/source/documentation/lux/control/function/memo.lux +++ b/stdlib/source/documentation/lux/control/function/memo.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except open) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/function/mixin.lux b/stdlib/source/documentation/lux/control/function/mixin.lux index 6ad2e8657..96bbb9756 100644 --- a/stdlib/source/documentation/lux/control/function/mixin.lux +++ b/stdlib/source/documentation/lux/control/function/mixin.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/function/mutual.lux b/stdlib/source/documentation/lux/control/function/mutual.lux index f8f19255e..57cf0d2f3 100644 --- a/stdlib/source/documentation/lux/control/function/mutual.lux +++ b/stdlib/source/documentation/lux/control/function/mutual.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except let def) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/io.lux b/stdlib/source/documentation/lux/control/io.lux index afd9ad60d..ff76f1396 100644 --- a/stdlib/source/documentation/lux/control/io.lux +++ b/stdlib/source/documentation/lux/control/io.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/lazy.lux b/stdlib/source/documentation/lux/control/lazy.lux index d54b67d99..2476283ff 100644 --- a/stdlib/source/documentation/lux/control/lazy.lux +++ b/stdlib/source/documentation/lux/control/lazy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/maybe.lux b/stdlib/source/documentation/lux/control/maybe.lux index f8f5754a1..7b6176f48 100644 --- a/stdlib/source/documentation/lux/control/maybe.lux +++ b/stdlib/source/documentation/lux/control/maybe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser.lux b/stdlib/source/documentation/lux/control/parser.lux index 44d3fc8f9..b20bb433f 100644 --- a/stdlib/source/documentation/lux/control/parser.lux +++ b/stdlib/source/documentation/lux/control/parser.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and not) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/analysis.lux b/stdlib/source/documentation/lux/control/parser/analysis.lux index dbabe20a9..d0f1d3012 100644 --- a/stdlib/source/documentation/lux/control/parser/analysis.lux +++ b/stdlib/source/documentation/lux/control/parser/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/binary.lux b/stdlib/source/documentation/lux/control/parser/binary.lux index b4b17d0f5..00156613d 100644 --- a/stdlib/source/documentation/lux/control/parser/binary.lux +++ b/stdlib/source/documentation/lux/control/parser/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/cli.lux b/stdlib/source/documentation/lux/control/parser/cli.lux index bb301507e..27104cf2e 100644 --- a/stdlib/source/documentation/lux/control/parser/cli.lux +++ b/stdlib/source/documentation/lux/control/parser/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except parameter) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/code.lux b/stdlib/source/documentation/lux/control/parser/code.lux index aee121e73..e4b75bce8 100644 --- a/stdlib/source/documentation/lux/control/parser/code.lux +++ b/stdlib/source/documentation/lux/control/parser/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev local not symbol) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/environment.lux b/stdlib/source/documentation/lux/control/parser/environment.lux index a7f49a386..4888b4367 100644 --- a/stdlib/source/documentation/lux/control/parser/environment.lux +++ b/stdlib/source/documentation/lux/control/parser/environment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/json.lux b/stdlib/source/documentation/lux/control/parser/json.lux index 5ef5a2a31..af4d3ed00 100644 --- a/stdlib/source/documentation/lux/control/parser/json.lux +++ b/stdlib/source/documentation/lux/control/parser/json.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/synthesis.lux b/stdlib/source/documentation/lux/control/parser/synthesis.lux index 010515394..f0187c4f7 100644 --- a/stdlib/source/documentation/lux/control/parser/synthesis.lux +++ b/stdlib/source/documentation/lux/control/parser/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64 local function loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/text.lux b/stdlib/source/documentation/lux/control/parser/text.lux index 3cd6e24de..7e13643b1 100644 --- a/stdlib/source/documentation/lux/control/parser/text.lux +++ b/stdlib/source/documentation/lux/control/parser/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and not local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/tree.lux b/stdlib/source/documentation/lux/control/parser/tree.lux index 75c2b1674..e6e13b2b5 100644 --- a/stdlib/source/documentation/lux/control/parser/tree.lux +++ b/stdlib/source/documentation/lux/control/parser/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/type.lux b/stdlib/source/documentation/lux/control/parser/type.lux index b7cb421e6..52e9a0fbb 100644 --- a/stdlib/source/documentation/lux/control/parser/type.lux +++ b/stdlib/source/documentation/lux/control/parser/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local function) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/parser/xml.lux b/stdlib/source/documentation/lux/control/parser/xml.lux index fbfa711f4..620b97dc6 100644 --- a/stdlib/source/documentation/lux/control/parser/xml.lux +++ b/stdlib/source/documentation/lux/control/parser/xml.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/pipe.lux b/stdlib/source/documentation/lux/control/pipe.lux index 3d80b5ade..e3fd4900a 100644 --- a/stdlib/source/documentation/lux/control/pipe.lux +++ b/stdlib/source/documentation/lux/control/pipe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except let cond if exec case) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/reader.lux b/stdlib/source/documentation/lux/control/reader.lux index 907fb33c2..6dec9ff36 100644 --- a/stdlib/source/documentation/lux/control/reader.lux +++ b/stdlib/source/documentation/lux/control/reader.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/region.lux b/stdlib/source/documentation/lux/control/region.lux index 9d9824fa9..dcfed365c 100644 --- a/stdlib/source/documentation/lux/control/region.lux +++ b/stdlib/source/documentation/lux/control/region.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except if loop) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/remember.lux b/stdlib/source/documentation/lux/control/remember.lux index dd71c07b7..cdc476e46 100644 --- a/stdlib/source/documentation/lux/control/remember.lux +++ b/stdlib/source/documentation/lux/control/remember.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/security.lux b/stdlib/source/documentation/lux/control/security.lux index 74a30b278..006fbfd0b 100644 --- a/stdlib/source/documentation/lux/control/security.lux +++ b/stdlib/source/documentation/lux/control/security.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/security/capability.lux b/stdlib/source/documentation/lux/control/security/capability.lux index 06d06bde3..ba9e3a80a 100644 --- a/stdlib/source/documentation/lux/control/security/capability.lux +++ b/stdlib/source/documentation/lux/control/security/capability.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/security/policy.lux b/stdlib/source/documentation/lux/control/security/policy.lux index 86ab3fced..6b1aa6f74 100644 --- a/stdlib/source/documentation/lux/control/security/policy.lux +++ b/stdlib/source/documentation/lux/control/security/policy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/state.lux b/stdlib/source/documentation/lux/control/state.lux index 564deb012..a381f42f0 100644 --- a/stdlib/source/documentation/lux/control/state.lux +++ b/stdlib/source/documentation/lux/control/state.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/thread.lux b/stdlib/source/documentation/lux/control/thread.lux index 1af1a0293..cbfdab03b 100644 --- a/stdlib/source/documentation/lux/control/thread.lux +++ b/stdlib/source/documentation/lux/control/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/try.lux b/stdlib/source/documentation/lux/control/try.lux index 9320a2d3b..31894e7d0 100644 --- a/stdlib/source/documentation/lux/control/try.lux +++ b/stdlib/source/documentation/lux/control/try.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/control/writer.lux b/stdlib/source/documentation/lux/control/writer.lux index f692d626f..e22842527 100644 --- a/stdlib/source/documentation/lux/control/writer.lux +++ b/stdlib/source/documentation/lux/control/writer.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data.lux b/stdlib/source/documentation/lux/data.lux index 965b68a5a..025efb839 100644 --- a/stdlib/source/documentation/lux/data.lux +++ b/stdlib/source/documentation/lux/data.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/binary.lux b/stdlib/source/documentation/lux/data/binary.lux index 11939678d..475d07a00 100644 --- a/stdlib/source/documentation/lux/data/binary.lux +++ b/stdlib/source/documentation/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/bit.lux b/stdlib/source/documentation/lux/data/bit.lux index d235f4dbe..8895a4803 100644 --- a/stdlib/source/documentation/lux/data/bit.lux +++ b/stdlib/source/documentation/lux/data/bit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection.lux b/stdlib/source/documentation/lux/data/collection.lux index 5c83211a1..b4ae1f294 100644 --- a/stdlib/source/documentation/lux/data/collection.lux +++ b/stdlib/source/documentation/lux/data/collection.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/array.lux b/stdlib/source/documentation/lux/data/collection/array.lux index 40ae33059..b8a5f6e8a 100644 --- a/stdlib/source/documentation/lux/data/collection/array.lux +++ b/stdlib/source/documentation/lux/data/collection/array.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/bits.lux b/stdlib/source/documentation/lux/data/collection/bits.lux index 1dadf4ad6..117f4c7d6 100644 --- a/stdlib/source/documentation/lux/data/collection/bits.lux +++ b/stdlib/source/documentation/lux/data/collection/bits.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and not) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/dictionary.lux b/stdlib/source/documentation/lux/data/collection/dictionary.lux index efa3a49ce..b7a04eda8 100644 --- a/stdlib/source/documentation/lux/data/collection/dictionary.lux +++ b/stdlib/source/documentation/lux/data/collection/dictionary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has revised) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux b/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux index 339bbb6b4..4f4e6a259 100644 --- a/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux +++ b/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has revised) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/dictionary/plist.lux b/stdlib/source/documentation/lux/data/collection/dictionary/plist.lux index 7ece01888..2edd88313 100644 --- a/stdlib/source/documentation/lux/data/collection/dictionary/plist.lux +++ b/stdlib/source/documentation/lux/data/collection/dictionary/plist.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has revised) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/list.lux b/stdlib/source/documentation/lux/data/collection/list.lux index 62b316db8..0841931de 100644 --- a/stdlib/source/documentation/lux/data/collection/list.lux +++ b/stdlib/source/documentation/lux/data/collection/list.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/queue.lux b/stdlib/source/documentation/lux/data/collection/queue.lux index 6385fb451..5e3595df8 100644 --- a/stdlib/source/documentation/lux/data/collection/queue.lux +++ b/stdlib/source/documentation/lux/data/collection/queue.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/queue/priority.lux b/stdlib/source/documentation/lux/data/collection/queue/priority.lux index 2e24d32eb..f73f16453 100644 --- a/stdlib/source/documentation/lux/data/collection/queue/priority.lux +++ b/stdlib/source/documentation/lux/data/collection/queue/priority.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/sequence.lux b/stdlib/source/documentation/lux/data/collection/sequence.lux index 66f3955af..d4694429e 100644 --- a/stdlib/source/documentation/lux/data/collection/sequence.lux +++ b/stdlib/source/documentation/lux/data/collection/sequence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list has revised) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/set.lux b/stdlib/source/documentation/lux/data/collection/set.lux index 4e64b2ec6..322ec2394 100644 --- a/stdlib/source/documentation/lux/data/collection/set.lux +++ b/stdlib/source/documentation/lux/data/collection/set.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list has) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/set/multi.lux b/stdlib/source/documentation/lux/data/collection/set/multi.lux index 20f750d8a..7137544a3 100644 --- a/stdlib/source/documentation/lux/data/collection/set/multi.lux +++ b/stdlib/source/documentation/lux/data/collection/set/multi.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list has) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/set/ordered.lux b/stdlib/source/documentation/lux/data/collection/set/ordered.lux index 47dbc2e08..7d5073699 100644 --- a/stdlib/source/documentation/lux/data/collection/set/ordered.lux +++ b/stdlib/source/documentation/lux/data/collection/set/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list has) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/stack.lux b/stdlib/source/documentation/lux/data/collection/stack.lux index ceb9b09d7..91229d086 100644 --- a/stdlib/source/documentation/lux/data/collection/stack.lux +++ b/stdlib/source/documentation/lux/data/collection/stack.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/stream.lux b/stdlib/source/documentation/lux/data/collection/stream.lux index 7623c806c..54c485d4f 100644 --- a/stdlib/source/documentation/lux/data/collection/stream.lux +++ b/stdlib/source/documentation/lux/data/collection/stream.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list pattern) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/tree.lux b/stdlib/source/documentation/lux/data/collection/tree.lux index c34d4b8e9..a29e8fff7 100644 --- a/stdlib/source/documentation/lux/data/collection/tree.lux +++ b/stdlib/source/documentation/lux/data/collection/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/tree/finger.lux b/stdlib/source/documentation/lux/data/collection/tree/finger.lux index de79adfec..32baf2a3b 100644 --- a/stdlib/source/documentation/lux/data/collection/tree/finger.lux +++ b/stdlib/source/documentation/lux/data/collection/tree/finger.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/collection/tree/zipper.lux b/stdlib/source/documentation/lux/data/collection/tree/zipper.lux index 24cdd66d6..61beb4f1e 100644 --- a/stdlib/source/documentation/lux/data/collection/tree/zipper.lux +++ b/stdlib/source/documentation/lux/data/collection/tree/zipper.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/color.lux b/stdlib/source/documentation/lux/data/color.lux index e15945e44..3846ced3e 100644 --- a/stdlib/source/documentation/lux/data/color.lux +++ b/stdlib/source/documentation/lux/data/color.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/color/named.lux b/stdlib/source/documentation/lux/data/color/named.lux index 960f00f4d..e595febb4 100644 --- a/stdlib/source/documentation/lux/data/color/named.lux +++ b/stdlib/source/documentation/lux/data/color/named.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/format.lux b/stdlib/source/documentation/lux/data/format.lux index a67936e66..d3e29fdc1 100644 --- a/stdlib/source/documentation/lux/data/format.lux +++ b/stdlib/source/documentation/lux/data/format.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/format/binary.lux b/stdlib/source/documentation/lux/data/format/binary.lux index 311dd602d..9b415289a 100644 --- a/stdlib/source/documentation/lux/data/format/binary.lux +++ b/stdlib/source/documentation/lux/data/format/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev list type or and symbol) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/format/json.lux b/stdlib/source/documentation/lux/data/format/json.lux index 8d90c1735..27ae612b5 100644 --- a/stdlib/source/documentation/lux/data/format/json.lux +++ b/stdlib/source/documentation/lux/data/format/json.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev list type or and has) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/format/tar.lux b/stdlib/source/documentation/lux/data/format/tar.lux index 6a25ed15f..5f58a2215 100644 --- a/stdlib/source/documentation/lux/data/format/tar.lux +++ b/stdlib/source/documentation/lux/data/format/tar.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/format/xml.lux b/stdlib/source/documentation/lux/data/format/xml.lux index ab00554ce..b433ceb20 100644 --- a/stdlib/source/documentation/lux/data/format/xml.lux +++ b/stdlib/source/documentation/lux/data/format/xml.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev list type or and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/identity.lux b/stdlib/source/documentation/lux/data/identity.lux index efc58cdcf..c63c92e7c 100644 --- a/stdlib/source/documentation/lux/data/identity.lux +++ b/stdlib/source/documentation/lux/data/identity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev list type or and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/product.lux b/stdlib/source/documentation/lux/data/product.lux index 33df94c59..05cb3fc80 100644 --- a/stdlib/source/documentation/lux/data/product.lux +++ b/stdlib/source/documentation/lux/data/product.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/sum.lux b/stdlib/source/documentation/lux/data/sum.lux index 9d38d8230..f937487f2 100644 --- a/stdlib/source/documentation/lux/data/sum.lux +++ b/stdlib/source/documentation/lux/data/sum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text.lux b/stdlib/source/documentation/lux/data/text.lux index a13b2839a..d8954f75d 100644 --- a/stdlib/source/documentation/lux/data/text.lux +++ b/stdlib/source/documentation/lux/data/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/buffer.lux b/stdlib/source/documentation/lux/data/text/buffer.lux index 79722d05b..91c41be9f 100644 --- a/stdlib/source/documentation/lux/data/text/buffer.lux +++ b/stdlib/source/documentation/lux/data/text/buffer.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/encoding.lux b/stdlib/source/documentation/lux/data/text/encoding.lux index e4c624a05..4fd845ff3 100644 --- a/stdlib/source/documentation/lux/data/text/encoding.lux +++ b/stdlib/source/documentation/lux/data/text/encoding.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/encoding/utf8.lux b/stdlib/source/documentation/lux/data/text/encoding/utf8.lux index e9aed460d..6334c936e 100644 --- a/stdlib/source/documentation/lux/data/text/encoding/utf8.lux +++ b/stdlib/source/documentation/lux/data/text/encoding/utf8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/escape.lux b/stdlib/source/documentation/lux/data/text/escape.lux index 112aa7b25..6c39e7373 100644 --- a/stdlib/source/documentation/lux/data/text/escape.lux +++ b/stdlib/source/documentation/lux/data/text/escape.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/format.lux b/stdlib/source/documentation/lux/data/text/format.lux index 97d12c1fa..35d677e8b 100644 --- a/stdlib/source/documentation/lux/data/text/format.lux +++ b/stdlib/source/documentation/lux/data/text/format.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev type list symbol) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/regex.lux b/stdlib/source/documentation/lux/data/text/regex.lux index 5f95326a4..7d8ecfe97 100644 --- a/stdlib/source/documentation/lux/data/text/regex.lux +++ b/stdlib/source/documentation/lux/data/text/regex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except pattern) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/unicode.lux b/stdlib/source/documentation/lux/data/text/unicode.lux index 5e4aff2e1..0888ceaf6 100644 --- a/stdlib/source/documentation/lux/data/text/unicode.lux +++ b/stdlib/source/documentation/lux/data/text/unicode.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/unicode/block.lux b/stdlib/source/documentation/lux/data/text/unicode/block.lux index 3bce030f0..cf745fd9f 100644 --- a/stdlib/source/documentation/lux/data/text/unicode/block.lux +++ b/stdlib/source/documentation/lux/data/text/unicode/block.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/data/text/unicode/set.lux b/stdlib/source/documentation/lux/data/text/unicode/set.lux index 1ebb9bdd3..e5b0a3bf8 100644 --- a/stdlib/source/documentation/lux/data/text/unicode/set.lux +++ b/stdlib/source/documentation/lux/data/text/unicode/set.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/debug.lux b/stdlib/source/documentation/lux/debug.lux index 91fc034f9..5a60f7012 100644 --- a/stdlib/source/documentation/lux/debug.lux +++ b/stdlib/source/documentation/lux/debug.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/documentation.lux b/stdlib/source/documentation/lux/documentation.lux index 683b259b2..c720ae97a 100644 --- a/stdlib/source/documentation/lux/documentation.lux +++ b/stdlib/source/documentation/lux/documentation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/documentation/lux/extension.lux b/stdlib/source/documentation/lux/extension.lux index 3a88c9a83..6cd4922ed 100644 --- a/stdlib/source/documentation/lux/extension.lux +++ b/stdlib/source/documentation/lux/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.js.lux b/stdlib/source/documentation/lux/ffi.js.lux index 2e6003722..460448c1e 100644 --- a/stdlib/source/documentation/lux/ffi.js.lux +++ b/stdlib/source/documentation/lux/ffi.js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.jvm.lux b/stdlib/source/documentation/lux/ffi.jvm.lux index 265b1bd35..0aed47fd6 100644 --- a/stdlib/source/documentation/lux/ffi.jvm.lux +++ b/stdlib/source/documentation/lux/ffi.jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type is as) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.lua.lux b/stdlib/source/documentation/lux/ffi.lua.lux index bd38a77b5..b437e24a9 100644 --- a/stdlib/source/documentation/lux/ffi.lua.lux +++ b/stdlib/source/documentation/lux/ffi.lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.old.lux b/stdlib/source/documentation/lux/ffi.old.lux index a1771a53f..8bcec68f2 100644 --- a/stdlib/source/documentation/lux/ffi.old.lux +++ b/stdlib/source/documentation/lux/ffi.old.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.py.lux b/stdlib/source/documentation/lux/ffi.py.lux index 99fb157ed..339d9407d 100644 --- a/stdlib/source/documentation/lux/ffi.py.lux +++ b/stdlib/source/documentation/lux/ffi.py.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/ffi.rb.lux b/stdlib/source/documentation/lux/ffi.rb.lux index 75e5229a4..b40599a19 100644 --- a/stdlib/source/documentation/lux/ffi.rb.lux +++ b/stdlib/source/documentation/lux/ffi.rb.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/locale.lux b/stdlib/source/documentation/lux/locale.lux index b4990b991..806194704 100644 --- a/stdlib/source/documentation/lux/locale.lux +++ b/stdlib/source/documentation/lux/locale.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/locale/language.lux b/stdlib/source/documentation/lux/locale/language.lux index 1de51a886..1960e7fb9 100644 --- a/stdlib/source/documentation/lux/locale/language.lux +++ b/stdlib/source/documentation/lux/locale/language.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/locale/territory.lux b/stdlib/source/documentation/lux/locale/territory.lux index 187d9c5e7..2b83e0aa0 100644 --- a/stdlib/source/documentation/lux/locale/territory.lux +++ b/stdlib/source/documentation/lux/locale/territory.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro.lux b/stdlib/source/documentation/lux/macro.lux index 0df20d2b7..e3a659da5 100644 --- a/stdlib/source/documentation/lux/macro.lux +++ b/stdlib/source/documentation/lux/macro.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char symbol) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/code.lux b/stdlib/source/documentation/lux/macro/code.lux index 7a4e26199..707d7f754 100644 --- a/stdlib/source/documentation/lux/macro/code.lux +++ b/stdlib/source/documentation/lux/macro/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char local global) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/local.lux b/stdlib/source/documentation/lux/macro/local.lux index f171af782..bb4a4099f 100644 --- a/stdlib/source/documentation/lux/macro/local.lux +++ b/stdlib/source/documentation/lux/macro/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax.lux b/stdlib/source/documentation/lux/macro/syntax.lux index 828ede9eb..f9d795e37 100644 --- a/stdlib/source/documentation/lux/macro/syntax.lux +++ b/stdlib/source/documentation/lux/macro/syntax.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/check.lux b/stdlib/source/documentation/lux/macro/syntax/check.lux index 7a2f630c6..b0298cbd3 100644 --- a/stdlib/source/documentation/lux/macro/syntax/check.lux +++ b/stdlib/source/documentation/lux/macro/syntax/check.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/declaration.lux b/stdlib/source/documentation/lux/macro/syntax/declaration.lux index 91e3e232c..9698cc9af 100644 --- a/stdlib/source/documentation/lux/macro/syntax/declaration.lux +++ b/stdlib/source/documentation/lux/macro/syntax/declaration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/definition.lux b/stdlib/source/documentation/lux/macro/syntax/definition.lux index 08706e55c..ba2faeb9b 100644 --- a/stdlib/source/documentation/lux/macro/syntax/definition.lux +++ b/stdlib/source/documentation/lux/macro/syntax/definition.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/export.lux b/stdlib/source/documentation/lux/macro/syntax/export.lux index b0cfb422c..2873623fd 100644 --- a/stdlib/source/documentation/lux/macro/syntax/export.lux +++ b/stdlib/source/documentation/lux/macro/syntax/export.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/input.lux b/stdlib/source/documentation/lux/macro/syntax/input.lux index 3362c356a..9e24666c0 100644 --- a/stdlib/source/documentation/lux/macro/syntax/input.lux +++ b/stdlib/source/documentation/lux/macro/syntax/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/syntax/type/variable.lux b/stdlib/source/documentation/lux/macro/syntax/type/variable.lux index 3b12b4970..9c88e9856 100644 --- a/stdlib/source/documentation/lux/macro/syntax/type/variable.lux +++ b/stdlib/source/documentation/lux/macro/syntax/type/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/macro/template.lux b/stdlib/source/documentation/lux/macro/template.lux index 1054515f1..3b4733cce 100644 --- a/stdlib/source/documentation/lux/macro/template.lux +++ b/stdlib/source/documentation/lux/macro/template.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except let symbol) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math.lux b/stdlib/source/documentation/lux/math.lux index 36251af9b..1801500b2 100644 --- a/stdlib/source/documentation/lux/math.lux +++ b/stdlib/source/documentation/lux/math.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/infix.lux b/stdlib/source/documentation/lux/math/infix.lux index e2c1f0706..4f012b257 100644 --- a/stdlib/source/documentation/lux/math/infix.lux +++ b/stdlib/source/documentation/lux/math/infix.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/logic.lux b/stdlib/source/documentation/lux/math/logic.lux index d850565dd..3fe60764e 100644 --- a/stdlib/source/documentation/lux/math/logic.lux +++ b/stdlib/source/documentation/lux/math/logic.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] @@ -6,7 +6,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]]]] + ["[0]" list (.use "[1]#[0]" monoid)]]]]] ["[0]" / ["[1][0]" continuous] ["[1][0]" fuzzy]]) diff --git a/stdlib/source/documentation/lux/math/logic/continuous.lux b/stdlib/source/documentation/lux/math/logic/continuous.lux index 3a5edbb3f..9ec977e29 100644 --- a/stdlib/source/documentation/lux/math/logic/continuous.lux +++ b/stdlib/source/documentation/lux/math/logic/continuous.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/logic/fuzzy.lux b/stdlib/source/documentation/lux/math/logic/fuzzy.lux index 7698285e7..ead5d4011 100644 --- a/stdlib/source/documentation/lux/math/logic/fuzzy.lux +++ b/stdlib/source/documentation/lux/math/logic/fuzzy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/modular.lux b/stdlib/source/documentation/lux/math/modular.lux index 4d6be1904..b83bcce51 100644 --- a/stdlib/source/documentation/lux/math/modular.lux +++ b/stdlib/source/documentation/lux/math/modular.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/modulus.lux b/stdlib/source/documentation/lux/math/modulus.lux index bdf5c1552..51273b5b0 100644 --- a/stdlib/source/documentation/lux/math/modulus.lux +++ b/stdlib/source/documentation/lux/math/modulus.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number.lux b/stdlib/source/documentation/lux/math/number.lux index c8c1804b8..22d93048d 100644 --- a/stdlib/source/documentation/lux/math/number.lux +++ b/stdlib/source/documentation/lux/math/number.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/complex.lux b/stdlib/source/documentation/lux/math/number/complex.lux index 14e598384..9dbe2987f 100644 --- a/stdlib/source/documentation/lux/math/number/complex.lux +++ b/stdlib/source/documentation/lux/math/number/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/frac.lux b/stdlib/source/documentation/lux/math/number/frac.lux index ca9f8eda0..20c5b02bf 100644 --- a/stdlib/source/documentation/lux/math/number/frac.lux +++ b/stdlib/source/documentation/lux/math/number/frac.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/i16.lux b/stdlib/source/documentation/lux/math/number/i16.lux index a57c0763c..d46156fe3 100644 --- a/stdlib/source/documentation/lux/math/number/i16.lux +++ b/stdlib/source/documentation/lux/math/number/i16.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/i32.lux b/stdlib/source/documentation/lux/math/number/i32.lux index 8c6449332..f621611fb 100644 --- a/stdlib/source/documentation/lux/math/number/i32.lux +++ b/stdlib/source/documentation/lux/math/number/i32.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/i64.lux b/stdlib/source/documentation/lux/math/number/i64.lux index a37f45f3c..bbe28089d 100644 --- a/stdlib/source/documentation/lux/math/number/i64.lux +++ b/stdlib/source/documentation/lux/math/number/i64.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and not) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/i8.lux b/stdlib/source/documentation/lux/math/number/i8.lux index 12990d0cd..5b73e0e13 100644 --- a/stdlib/source/documentation/lux/math/number/i8.lux +++ b/stdlib/source/documentation/lux/math/number/i8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/int.lux b/stdlib/source/documentation/lux/math/number/int.lux index 3a92c5b59..f7edc45a2 100644 --- a/stdlib/source/documentation/lux/math/number/int.lux +++ b/stdlib/source/documentation/lux/math/number/int.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/nat.lux b/stdlib/source/documentation/lux/math/number/nat.lux index b2069e97d..fff664713 100644 --- a/stdlib/source/documentation/lux/math/number/nat.lux +++ b/stdlib/source/documentation/lux/math/number/nat.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/ratio.lux b/stdlib/source/documentation/lux/math/number/ratio.lux index 2b5a80908..5a1d7d71a 100644 --- a/stdlib/source/documentation/lux/math/number/ratio.lux +++ b/stdlib/source/documentation/lux/math/number/ratio.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/number/rev.lux b/stdlib/source/documentation/lux/math/number/rev.lux index 53f534a92..4fab63f3e 100644 --- a/stdlib/source/documentation/lux/math/number/rev.lux +++ b/stdlib/source/documentation/lux/math/number/rev.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/math/random.lux b/stdlib/source/documentation/lux/math/random.lux index b20f61853..5a4208538 100644 --- a/stdlib/source/documentation/lux/math/random.lux +++ b/stdlib/source/documentation/lux/math/random.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and nat int rev) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/meta.lux b/stdlib/source/documentation/lux/meta.lux index 038576f0d..327154e3a 100644 --- a/stdlib/source/documentation/lux/meta.lux +++ b/stdlib/source/documentation/lux/meta.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type macro) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/meta/location.lux b/stdlib/source/documentation/lux/meta/location.lux index 3a46da914..d7a7ad1eb 100644 --- a/stdlib/source/documentation/lux/meta/location.lux +++ b/stdlib/source/documentation/lux/meta/location.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except private) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/meta/symbol.lux b/stdlib/source/documentation/lux/meta/symbol.lux index 1f43f3bc2..afdf77bf2 100644 --- a/stdlib/source/documentation/lux/meta/symbol.lux +++ b/stdlib/source/documentation/lux/meta/symbol.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev list type or and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/program.lux b/stdlib/source/documentation/lux/program.lux index ba3248150..e6301fc55 100644 --- a/stdlib/source/documentation/lux/program.lux +++ b/stdlib/source/documentation/lux/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/static.lux b/stdlib/source/documentation/lux/static.lux index 340ce505a..aa11a339e 100644 --- a/stdlib/source/documentation/lux/static.lux +++ b/stdlib/source/documentation/lux/static.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target.lux b/stdlib/source/documentation/lux/target.lux index 57de0714a..306876f18 100644 --- a/stdlib/source/documentation/lux/target.lux +++ b/stdlib/source/documentation/lux/target.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/js.lux b/stdlib/source/documentation/lux/target/js.lux index 97e7e1f46..864a5e2c7 100644 --- a/stdlib/source/documentation/lux/target/js.lux +++ b/stdlib/source/documentation/lux/target/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm.lux b/stdlib/source/documentation/lux/target/jvm.lux index 4f0bde18a..85ec6ea01 100644 --- a/stdlib/source/documentation/lux/target/jvm.lux +++ b/stdlib/source/documentation/lux/target/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type.lux b/stdlib/source/documentation/lux/target/jvm/type.lux index ca6ebf997..902683d16 100644 --- a/stdlib/source/documentation/lux/target/jvm/type.lux +++ b/stdlib/source/documentation/lux/target/jvm/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/alias.lux b/stdlib/source/documentation/lux/target/jvm/type/alias.lux index 94499cbd9..3af9a8997 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/alias.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/alias.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/box.lux b/stdlib/source/documentation/lux/target/jvm/type/box.lux index c3caaf93a..04ddd5a9d 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/box.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/box.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/category.lux b/stdlib/source/documentation/lux/target/jvm/type/category.lux index 01e125b85..1b17ca5a7 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/category.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/category.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/descriptor.lux b/stdlib/source/documentation/lux/target/jvm/type/descriptor.lux index 6d81713a6..9eaa79e17 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/descriptor.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/descriptor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/lux.lux b/stdlib/source/documentation/lux/target/jvm/type/lux.lux index 156d9757b..0b09556dc 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/lux.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/parser.lux b/stdlib/source/documentation/lux/target/jvm/type/parser.lux index d92da573a..afd3515f2 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/parser.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/parser.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/reflection.lux b/stdlib/source/documentation/lux/target/jvm/type/reflection.lux index 44439aa2d..4cd2327ee 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/reflection.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/reflection.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/jvm/type/signature.lux b/stdlib/source/documentation/lux/target/jvm/type/signature.lux index f5cdaaf85..dd2234c90 100644 --- a/stdlib/source/documentation/lux/target/jvm/type/signature.lux +++ b/stdlib/source/documentation/lux/target/jvm/type/signature.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/lua.lux b/stdlib/source/documentation/lux/target/lua.lux index ce850522c..651d70c7b 100644 --- a/stdlib/source/documentation/lux/target/lua.lux +++ b/stdlib/source/documentation/lux/target/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/python.lux b/stdlib/source/documentation/lux/target/python.lux index 3fa6f0a6a..69bec7b7e 100644 --- a/stdlib/source/documentation/lux/target/python.lux +++ b/stdlib/source/documentation/lux/target/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/target/ruby.lux b/stdlib/source/documentation/lux/target/ruby.lux index 0422b06f0..bddc34acc 100644 --- a/stdlib/source/documentation/lux/target/ruby.lux +++ b/stdlib/source/documentation/lux/target/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/test.lux b/stdlib/source/documentation/lux/test.lux index f6064a13c..9b89be715 100644 --- a/stdlib/source/documentation/lux/test.lux +++ b/stdlib/source/documentation/lux/test.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and for) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time.lux b/stdlib/source/documentation/lux/time.lux index 8e38a8ee9..54dd90c9a 100644 --- a/stdlib/source/documentation/lux/time.lux +++ b/stdlib/source/documentation/lux/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/date.lux b/stdlib/source/documentation/lux/time/date.lux index 7c79001e0..9bf40345c 100644 --- a/stdlib/source/documentation/lux/time/date.lux +++ b/stdlib/source/documentation/lux/time/date.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/day.lux b/stdlib/source/documentation/lux/time/day.lux index dad5e72d3..02472edcf 100644 --- a/stdlib/source/documentation/lux/time/day.lux +++ b/stdlib/source/documentation/lux/time/day.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/duration.lux b/stdlib/source/documentation/lux/time/duration.lux index e55d85bcf..6e02734e4 100644 --- a/stdlib/source/documentation/lux/time/duration.lux +++ b/stdlib/source/documentation/lux/time/duration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/instant.lux b/stdlib/source/documentation/lux/time/instant.lux index 431722137..ec6515e74 100644 --- a/stdlib/source/documentation/lux/time/instant.lux +++ b/stdlib/source/documentation/lux/time/instant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/month.lux b/stdlib/source/documentation/lux/time/month.lux index 8012bf0a4..1dcb72d41 100644 --- a/stdlib/source/documentation/lux/time/month.lux +++ b/stdlib/source/documentation/lux/time/month.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/time/year.lux b/stdlib/source/documentation/lux/time/year.lux index ae9b14fb2..3e7957de9 100644 --- a/stdlib/source/documentation/lux/time/year.lux +++ b/stdlib/source/documentation/lux/time/year.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool.lux b/stdlib/source/documentation/lux/tool.lux index 347781dc6..4983fe8ea 100644 --- a/stdlib/source/documentation/lux/tool.lux +++ b/stdlib/source/documentation/lux/tool.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/documentation/lux/tool/compiler/language/lux/analysis.lux index 40b8c3673..64776942f 100644 --- a/stdlib/source/documentation/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/documentation/lux/tool/compiler/language/lux/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool/compiler/language/lux/directive.lux b/stdlib/source/documentation/lux/tool/compiler/language/lux/directive.lux index 52533cbb9..ff1036122 100644 --- a/stdlib/source/documentation/lux/tool/compiler/language/lux/directive.lux +++ b/stdlib/source/documentation/lux/tool/compiler/language/lux/directive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool/compiler/language/lux/generation.lux b/stdlib/source/documentation/lux/tool/compiler/language/lux/generation.lux index e318c61e7..c0cb068f2 100644 --- a/stdlib/source/documentation/lux/tool/compiler/language/lux/generation.lux +++ b/stdlib/source/documentation/lux/tool/compiler/language/lux/generation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/documentation/lux/tool/compiler/language/lux/synthesis.lux index a831b31d4..d9f08010e 100644 --- a/stdlib/source/documentation/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/documentation/lux/tool/compiler/language/lux/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/tool/compiler/phase.lux b/stdlib/source/documentation/lux/tool/compiler/phase.lux index a91acdeb0..5c1831be0 100644 --- a/stdlib/source/documentation/lux/tool/compiler/phase.lux +++ b/stdlib/source/documentation/lux/tool/compiler/phase.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type.lux b/stdlib/source/documentation/lux/type.lux index c05db6d1e..0cb392108 100644 --- a/stdlib/source/documentation/lux/type.lux +++ b/stdlib/source/documentation/lux/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function as let) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/check.lux b/stdlib/source/documentation/lux/type/check.lux index e65a1ccd6..df026fac7 100644 --- a/stdlib/source/documentation/lux/type/check.lux +++ b/stdlib/source/documentation/lux/type/check.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/dynamic.lux b/stdlib/source/documentation/lux/type/dynamic.lux index 511642334..182cafaec 100644 --- a/stdlib/source/documentation/lux/type/dynamic.lux +++ b/stdlib/source/documentation/lux/type/dynamic.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except static) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/implicit.lux b/stdlib/source/documentation/lux/type/implicit.lux index 869295b0e..3152aa23d 100644 --- a/stdlib/source/documentation/lux/type/implicit.lux +++ b/stdlib/source/documentation/lux/type/implicit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/poly.lux b/stdlib/source/documentation/lux/type/poly.lux index 5bcc6ceb2..6fe2dcf42 100644 --- a/stdlib/source/documentation/lux/type/poly.lux +++ b/stdlib/source/documentation/lux/type/poly.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/primitive.lux b/stdlib/source/documentation/lux/type/primitive.lux index d8d651188..8224eca7f 100644 --- a/stdlib/source/documentation/lux/type/primitive.lux +++ b/stdlib/source/documentation/lux/type/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/quotient.lux b/stdlib/source/documentation/lux/type/quotient.lux index 573d9bdfd..c9f8c8586 100644 --- a/stdlib/source/documentation/lux/type/quotient.lux +++ b/stdlib/source/documentation/lux/type/quotient.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/refinement.lux b/stdlib/source/documentation/lux/type/refinement.lux index b663e9f41..e2f28603f 100644 --- a/stdlib/source/documentation/lux/type/refinement.lux +++ b/stdlib/source/documentation/lux/type/refinement.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/resource.lux b/stdlib/source/documentation/lux/type/resource.lux index 1fbd8997e..4a1a408f2 100644 --- a/stdlib/source/documentation/lux/type/resource.lux +++ b/stdlib/source/documentation/lux/type/resource.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/unit.lux b/stdlib/source/documentation/lux/type/unit.lux index fafcdf14a..681708f55 100644 --- a/stdlib/source/documentation/lux/type/unit.lux +++ b/stdlib/source/documentation/lux/type/unit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/type/variance.lux b/stdlib/source/documentation/lux/type/variance.lux index 4a504d3dd..09b787cd5 100644 --- a/stdlib/source/documentation/lux/type/variance.lux +++ b/stdlib/source/documentation/lux/type/variance.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world.lux b/stdlib/source/documentation/lux/world.lux index 46a62d977..2bcdaf3b3 100644 --- a/stdlib/source/documentation/lux/world.lux +++ b/stdlib/source/documentation/lux/world.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] @@ -8,7 +8,7 @@ ["[0]" io]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]]]] + ["[0]" list (.use "[1]#[0]" monoid)]]]]] ["[0]" / ["[1][0]" console] ["[1][0]" file] diff --git a/stdlib/source/documentation/lux/world/console.lux b/stdlib/source/documentation/lux/world/console.lux index 909f6b665..8f5180287 100644 --- a/stdlib/source/documentation/lux/world/console.lux +++ b/stdlib/source/documentation/lux/world/console.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/file.lux b/stdlib/source/documentation/lux/world/file.lux index b3c4d4a58..019ecb99a 100644 --- a/stdlib/source/documentation/lux/world/file.lux +++ b/stdlib/source/documentation/lux/world/file.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/file/watch.lux b/stdlib/source/documentation/lux/world/file/watch.lux index 405f88b90..93d0b4410 100644 --- a/stdlib/source/documentation/lux/world/file/watch.lux +++ b/stdlib/source/documentation/lux/world/file/watch.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/input/keyboard.lux b/stdlib/source/documentation/lux/world/input/keyboard.lux index 3a691b94b..23868eeaa 100644 --- a/stdlib/source/documentation/lux/world/input/keyboard.lux +++ b/stdlib/source/documentation/lux/world/input/keyboard.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/net.lux b/stdlib/source/documentation/lux/world/net.lux index 5cc8b9773..2ef8db1be 100644 --- a/stdlib/source/documentation/lux/world/net.lux +++ b/stdlib/source/documentation/lux/world/net.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] diff --git a/stdlib/source/documentation/lux/world/net/http/client.lux b/stdlib/source/documentation/lux/world/net/http/client.lux index 653285514..5f2af5e06 100644 --- a/stdlib/source/documentation/lux/world/net/http/client.lux +++ b/stdlib/source/documentation/lux/world/net/http/client.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/net/http/status.lux b/stdlib/source/documentation/lux/world/net/http/status.lux index a320efe02..129a7d833 100644 --- a/stdlib/source/documentation/lux/world/net/http/status.lux +++ b/stdlib/source/documentation/lux/world/net/http/status.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/net/uri.lux b/stdlib/source/documentation/lux/world/net/uri.lux index 955eec57c..c96fa1ec5 100644 --- a/stdlib/source/documentation/lux/world/net/uri.lux +++ b/stdlib/source/documentation/lux/world/net/uri.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] diff --git a/stdlib/source/documentation/lux/world/output/video/resolution.lux b/stdlib/source/documentation/lux/world/output/video/resolution.lux index 39dcfdba5..8da9cc2ca 100644 --- a/stdlib/source/documentation/lux/world/output/video/resolution.lux +++ b/stdlib/source/documentation/lux/world/output/video/resolution.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/program.lux b/stdlib/source/documentation/lux/world/program.lux index 52235985e..5def43411 100644 --- a/stdlib/source/documentation/lux/world/program.lux +++ b/stdlib/source/documentation/lux/world/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/documentation/lux/world/shell.lux b/stdlib/source/documentation/lux/world/shell.lux index a38d28158..fed983eed 100644 --- a/stdlib/source/documentation/lux/world/shell.lux +++ b/stdlib/source/documentation/lux/world/shell.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["$" documentation (.only documentation:)] diff --git a/stdlib/source/experiment/compiler.lux b/stdlib/source/experiment/compiler.lux index 4f9e58377..8819847e6 100644 --- a/stdlib/source/experiment/compiler.lux +++ b/stdlib/source/experiment/compiler.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/format/lux/data/binary.lux b/stdlib/source/format/lux/data/binary.lux index ed497dd3f..4a858a5f0 100644 --- a/stdlib/source/format/lux/data/binary.lux +++ b/stdlib/source/format/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and or nat int rev list type symbol) [ffi (.only)] @@ -7,7 +7,7 @@ [monad (.only Monad do)] [equivalence (.only Equivalence)]] [control - ["<>" parser (.open: "[1]#[0]" monad)] + ["<>" parser (.use "[1]#[0]" monad)] ["[0]" pipe] ["[0]" function]] [data @@ -18,7 +18,7 @@ ["[0]" utf8]]] [collection ["[0]" list] - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" functor)] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" functor)] ["[0]" set (.only Set)] [array [\\unsafe (.only)]]]] diff --git a/stdlib/source/format/lux/data/text.lux b/stdlib/source/format/lux/data/text.lux index e5b3a005c..91e38ed27 100644 --- a/stdlib/source/format/lux/data/text.lux +++ b/stdlib/source/format/lux/data/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list nat int rev type symbol) [abstract @@ -15,7 +15,7 @@ ["[0]" xml] ["[0]" json]] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] ["[0]" time (.only) ["[0]" instant] ["[0]" duration] diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux index 28507c829..41f6ab0ed 100644 --- a/stdlib/source/library/lux.lux +++ b/stdlib/source/library/lux.lux @@ -4182,7 +4182,7 @@ _ (failure (all text#composite - "Can only 'open:' structs: " (symbol#encoded implementation) + "Can only 'use' structs: " (symbol#encoded implementation) " : " (type#encoded interface)))))) (def (localized module global) @@ -4194,7 +4194,7 @@ _ global)) -(def .public open: +(def .public use (macro (_ tokens) (case (..parsed (all ..andP (..maybeP (all ..andP @@ -4240,7 +4240,7 @@ implementations)) .let [[pre_defs implementations] pre_defs,implementations]] (in (|> pre_defs - {#Item (` (..open: + {#Item (` (..use (~ (text$ current_module)) (~ (text$ imported_module)) (~ (text$ import_alias)) @@ -4250,7 +4250,7 @@ {.#None} - (failure (..wrong_syntax_error (symbol ..open:)))))) + (failure (..wrong_syntax_error (symbol ..use)))))) (def (imported_by? import_name module_name) (-> Text Text (Meta Bit)) @@ -5021,7 +5021,7 @@ (` ((~ (symbol$ macro)) (~+ parameters)))) referrals))))) -(def .public using +(def .public require (macro (_ _imports) (do meta#monad [current_module ..current_module_name diff --git a/stdlib/source/library/lux/abstract/algebra.lux b/stdlib/source/library/lux/abstract/algebra.lux index 4daff502e..bee4b3941 100644 --- a/stdlib/source/library/lux/abstract/algebra.lux +++ b/stdlib/source/library/lux/abstract/algebra.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/abstract/apply.lux b/stdlib/source/library/lux/abstract/apply.lux index 35320cbd4..6c92b02f0 100644 --- a/stdlib/source/library/lux/abstract/apply.lux +++ b/stdlib/source/library/lux/abstract/apply.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target]]] diff --git a/stdlib/source/library/lux/abstract/codec.lux b/stdlib/source/library/lux/abstract/codec.lux index 1af71150f..abb67a5af 100644 --- a/stdlib/source/library/lux/abstract/codec.lux +++ b/stdlib/source/library/lux/abstract/codec.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/abstract/comonad.lux b/stdlib/source/library/lux/abstract/comonad.lux index 405acfbf1..3a9de9e14 100644 --- a/stdlib/source/library/lux/abstract/comonad.lux +++ b/stdlib/source/library/lux/abstract/comonad.lux @@ -1,9 +1,9 @@ -(.using +(.require [library [lux (.except) [data [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/abstract/comonad/free.lux b/stdlib/source/library/lux/abstract/comonad/free.lux index 2e7e7cf1c..740a405b6 100644 --- a/stdlib/source/library/lux/abstract/comonad/free.lux +++ b/stdlib/source/library/lux/abstract/comonad/free.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// (.only CoMonad) diff --git a/stdlib/source/library/lux/abstract/enum.lux b/stdlib/source/library/lux/abstract/enum.lux index 58e127f7d..709b02a35 100644 --- a/stdlib/source/library/lux/abstract/enum.lux +++ b/stdlib/source/library/lux/abstract/enum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/abstract/equivalence.lux b/stdlib/source/library/lux/abstract/equivalence.lux index fcd0f41cd..2fc81201b 100644 --- a/stdlib/source/library/lux/abstract/equivalence.lux +++ b/stdlib/source/library/lux/abstract/equivalence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/abstract/functor.lux b/stdlib/source/library/lux/abstract/functor.lux index 43bfa28d9..8d9167fc8 100644 --- a/stdlib/source/library/lux/abstract/functor.lux +++ b/stdlib/source/library/lux/abstract/functor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Or And)]]) diff --git a/stdlib/source/library/lux/abstract/functor/contravariant.lux b/stdlib/source/library/lux/abstract/functor/contravariant.lux index 84c16bd01..01e482ae3 100644 --- a/stdlib/source/library/lux/abstract/functor/contravariant.lux +++ b/stdlib/source/library/lux/abstract/functor/contravariant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]]) diff --git a/stdlib/source/library/lux/abstract/hash.lux b/stdlib/source/library/lux/abstract/hash.lux index ef5df6022..0c9b9a9eb 100644 --- a/stdlib/source/library/lux/abstract/hash.lux +++ b/stdlib/source/library/lux/abstract/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/abstract/interval.lux b/stdlib/source/library/lux/abstract/interval.lux index 0a538e925..34f5a0da4 100644 --- a/stdlib/source/library/lux/abstract/interval.lux +++ b/stdlib/source/library/lux/abstract/interval.lux @@ -1,5 +1,5 @@ ... https://en.wikipedia.org/wiki/Interval_(mathematics) -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/abstract/mix.lux b/stdlib/source/library/lux/abstract/mix.lux index ea317146b..b64a96fd2 100644 --- a/stdlib/source/library/lux/abstract/mix.lux +++ b/stdlib/source/library/lux/abstract/mix.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/abstract/monad.lux b/stdlib/source/library/lux/abstract/monad.lux index ecd4e1ac4..737ee2678 100644 --- a/stdlib/source/library/lux/abstract/monad.lux +++ b/stdlib/source/library/lux/abstract/monad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all only) [meta diff --git a/stdlib/source/library/lux/abstract/monad/free.lux b/stdlib/source/library/lux/abstract/monad/free.lux index f4e440054..614834c70 100644 --- a/stdlib/source/library/lux/abstract/monad/free.lux +++ b/stdlib/source/library/lux/abstract/monad/free.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [/// diff --git a/stdlib/source/library/lux/abstract/monad/indexed.lux b/stdlib/source/library/lux/abstract/monad/indexed.lux index 30d3b403f..dc4e93177 100644 --- a/stdlib/source/library/lux/abstract/monad/indexed.lux +++ b/stdlib/source/library/lux/abstract/monad/indexed.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except global) [control @@ -6,7 +6,7 @@ ["<[0]>" code (.only Parser)]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] ["[0]" macro (.only) [syntax (.only syntax)] ["[0]" code]]]] diff --git a/stdlib/source/library/lux/abstract/monoid.lux b/stdlib/source/library/lux/abstract/monoid.lux index f5afe510a..cf5ea3704 100644 --- a/stdlib/source/library/lux/abstract/monoid.lux +++ b/stdlib/source/library/lux/abstract/monoid.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and)]]) diff --git a/stdlib/source/library/lux/abstract/order.lux b/stdlib/source/library/lux/abstract/order.lux index 71e546ed4..251683060 100644 --- a/stdlib/source/library/lux/abstract/order.lux +++ b/stdlib/source/library/lux/abstract/order.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/abstract/predicate.lux b/stdlib/source/library/lux/abstract/predicate.lux index 8becf51cd..358e5493a 100644 --- a/stdlib/source/library/lux/abstract/predicate.lux +++ b/stdlib/source/library/lux/abstract/predicate.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all or and) [control diff --git a/stdlib/source/library/lux/control/concatenative.lux b/stdlib/source/library/lux/control/concatenative.lux index 2fe9f788f..8af49edd4 100644 --- a/stdlib/source/library/lux/control/concatenative.lux +++ b/stdlib/source/library/lux/control/concatenative.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Alias if loop left right) ["[0]" meta] @@ -6,13 +6,13 @@ [abstract ["[0]" monad]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data ["[0]" product] ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix functor)]]] + ["[0]" list (.use "[1]#[0]" mix functor)]]] ["[0]" macro (.only with_symbols) [syntax (.only syntax)] ["[0]" code] @@ -24,7 +24,7 @@ ["r" rev] ["f" frac]]]]] [// - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]]) (type: Stack diff --git a/stdlib/source/library/lux/control/concurrency/actor.lux b/stdlib/source/library/lux/control/concurrency/actor.lux index e67bb3f2b..7184a105e 100644 --- a/stdlib/source/library/lux/control/concurrency/actor.lux +++ b/stdlib/source/library/lux/control/concurrency/actor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/concurrency/async.lux b/stdlib/source/library/lux/control/concurrency/async.lux index 11020adad..f87dd4d05 100644 --- a/stdlib/source/library/lux/control/concurrency/async.lux +++ b/stdlib/source/library/lux/control/concurrency/async.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and or) [abstract @@ -9,7 +9,7 @@ ["[0]" pipe] ["[0]" function] ["[0]" io (.only IO io)] - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" product]] [macro diff --git a/stdlib/source/library/lux/control/concurrency/atom.lux b/stdlib/source/library/lux/control/concurrency/atom.lux index e98479e10..6c40e9d7e 100644 --- a/stdlib/source/library/lux/control/concurrency/atom.lux +++ b/stdlib/source/library/lux/control/concurrency/atom.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -7,7 +7,7 @@ [monad (.only do)]] [control ["[0]" function] - ["[0]" io (.only IO) (.open: "[1]#[0]" functor)]] + ["[0]" io (.only IO) (.use "[1]#[0]" functor)]] [data ["[0]" product] [collection diff --git a/stdlib/source/library/lux/control/concurrency/frp.lux b/stdlib/source/library/lux/control/concurrency/frp.lux index 16ef2927c..0839a267d 100644 --- a/stdlib/source/library/lux/control/concurrency/frp.lux +++ b/stdlib/source/library/lux/control/concurrency/frp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list only) [abstract @@ -7,7 +7,7 @@ [apply (.only Apply)] ["[0]" monad (.only Monad do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] ["[0]" io (.only IO io)]] @@ -15,7 +15,7 @@ ["[0]" variance (.only Mutable)]]]] [// ["[0]" atom (.only Atom)] - ["[0]" async (.only Async Async') (.open: "[1]#[0]" monad)]]) + ["[0]" async (.only Async Async') (.use "[1]#[0]" monad)]]) (type: .public (Channel'' a) (Async (Maybe [a (Channel'' a)]))) diff --git a/stdlib/source/library/lux/control/concurrency/semaphore.lux b/stdlib/source/library/lux/control/concurrency/semaphore.lux index fbfacf228..d08c90100 100644 --- a/stdlib/source/library/lux/control/concurrency/semaphore.lux +++ b/stdlib/source/library/lux/control/concurrency/semaphore.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/concurrency/stm.lux b/stdlib/source/library/lux/control/concurrency/stm.lux index 87dd101c9..a1e50a983 100644 --- a/stdlib/source/library/lux/control/concurrency/stm.lux +++ b/stdlib/source/library/lux/control/concurrency/stm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/concurrency/thread.lux b/stdlib/source/library/lux/control/concurrency/thread.lux index 030e0c053..515447e22 100644 --- a/stdlib/source/library/lux/control/concurrency/thread.lux +++ b/stdlib/source/library/lux/control/concurrency/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/library/lux/control/continuation.lux b/stdlib/source/library/lux/control/continuation.lux index 5c3ac3e9c..5aa7f47a3 100644 --- a/stdlib/source/library/lux/control/continuation.lux +++ b/stdlib/source/library/lux/control/continuation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/exception.lux b/stdlib/source/library/lux/control/exception.lux index f80419c98..d9f2f0fcf 100644 --- a/stdlib/source/library/lux/control/exception.lux +++ b/stdlib/source/library/lux/control/exception.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except except with) ["[0]" macro] @@ -7,13 +7,13 @@ [monad (.only do)]] [control ["[0]" maybe] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid)] + ["[0]" text (.use "[1]#[0]" monoid)] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["[0]" code] [syntax (.only syntax) @@ -22,7 +22,7 @@ ["|[1]_[0]|" variable]]]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]]]] + ["n" nat (.use "[1]#[0]" decimal)]]]]] [// ["//" try (.only Try)]]) diff --git a/stdlib/source/library/lux/control/function.lux b/stdlib/source/library/lux/control/function.lux index bbf4969b3..dbbab1922 100644 --- a/stdlib/source/library/lux/control/function.lux +++ b/stdlib/source/library/lux/control/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/function/contract.lux b/stdlib/source/library/lux/control/function/contract.lux index 4bae3020d..7304423cc 100644 --- a/stdlib/source/library/lux/control/function/contract.lux +++ b/stdlib/source/library/lux/control/function/contract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/control/function/inline.lux b/stdlib/source/library/lux/control/function/inline.lux index 9481dd27c..10141088d 100644 --- a/stdlib/source/library/lux/control/function/inline.lux +++ b/stdlib/source/library/lux/control/function/inline.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -9,7 +9,7 @@ ["<[0]>" code (.only Parser)]]] [data [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] ["[0]" macro (.only) ["[0]" code] [syntax (.only syntax) diff --git a/stdlib/source/library/lux/control/function/memo.lux b/stdlib/source/library/lux/control/function/memo.lux index 60c464887..d3ff5744b 100644 --- a/stdlib/source/library/lux/control/function/memo.lux +++ b/stdlib/source/library/lux/control/function/memo.lux @@ -1,7 +1,7 @@ ... Inspired by; ... "The Different Aspects of Monads and Mixins" by Bruno C. d. S. Oliveira -(.using +(.require [library [lux (.except open) ["[0]" type] diff --git a/stdlib/source/library/lux/control/function/mixin.lux b/stdlib/source/library/lux/control/function/mixin.lux index 44796c733..0ec280143 100644 --- a/stdlib/source/library/lux/control/function/mixin.lux +++ b/stdlib/source/library/lux/control/function/mixin.lux @@ -1,7 +1,7 @@ ... Inspired by; ... "The Different Aspects of Monads and Mixins" by Bruno C. d. S. Oliveira -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/function/mutual.lux b/stdlib/source/library/lux/control/function/mutual.lux index d0b03aa08..2af557492 100644 --- a/stdlib/source/library/lux/control/function/mutual.lux +++ b/stdlib/source/library/lux/control/function/mutual.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition let def macro) ["[0]" meta] @@ -7,14 +7,14 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] [dictionary ["[0]" plist (.only PList)]]]] ["[0]" macro (.only) diff --git a/stdlib/source/library/lux/control/io.lux b/stdlib/source/library/lux/control/io.lux index fecb0ee7b..5ae034638 100644 --- a/stdlib/source/library/lux/control/io.lux +++ b/stdlib/source/library/lux/control/io.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/lazy.lux b/stdlib/source/library/lux/control/lazy.lux index 50f18e0dd..95299e5f0 100644 --- a/stdlib/source/library/lux/control/lazy.lux +++ b/stdlib/source/library/lux/control/lazy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/maybe.lux b/stdlib/source/library/lux/control/maybe.lux index b138ab65c..9241da0c8 100644 --- a/stdlib/source/library/lux/control/maybe.lux +++ b/stdlib/source/library/lux/control/maybe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list with) [abstract diff --git a/stdlib/source/library/lux/control/parser.lux b/stdlib/source/library/lux/control/parser.lux index 1c402df83..07bef823a 100644 --- a/stdlib/source/library/lux/control/parser.lux +++ b/stdlib/source/library/lux/control/parser.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and not only) [abstract @@ -11,7 +11,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [math [number ["n" nat]]]]]) diff --git a/stdlib/source/library/lux/control/parser/cli.lux b/stdlib/source/library/lux/control/parser/cli.lux index b00698644..90a0d80c2 100644 --- a/stdlib/source/library/lux/control/parser/cli.lux +++ b/stdlib/source/library/lux/control/parser/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except parameter) [abstract @@ -6,7 +6,7 @@ [control ["[0]" try (.only Try)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/control/parser/code.lux b/stdlib/source/library/lux/control/parser/code.lux index 337201593..184d4d97a 100644 --- a/stdlib/source/library/lux/control/parser/code.lux +++ b/stdlib/source/library/lux/control/parser/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev local not symbol local global) [abstract @@ -7,11 +7,11 @@ ["[0]" try (.only Try)]] [data ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" monoid)] + ["[0]" text (.use "[1]#[0]" monoid)] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro - ["[0]" code (.open: "[1]#[0]" equivalence)]] + ["[0]" code (.use "[1]#[0]" equivalence)]] [math [number ["[0]" nat] diff --git a/stdlib/source/library/lux/control/parser/environment.lux b/stdlib/source/library/lux/control/parser/environment.lux index 601cd9a5d..99f1405db 100644 --- a/stdlib/source/library/lux/control/parser/environment.lux +++ b/stdlib/source/library/lux/control/parser/environment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/control/parser/tree.lux b/stdlib/source/library/lux/control/parser/tree.lux index b7a37f0ef..5aaba56ed 100644 --- a/stdlib/source/library/lux/control/parser/tree.lux +++ b/stdlib/source/library/lux/control/parser/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) [abstract diff --git a/stdlib/source/library/lux/control/parser/type.lux b/stdlib/source/library/lux/control/parser/type.lux index cff760d80..999c44325 100644 --- a/stdlib/source/library/lux/control/parser/type.lux +++ b/stdlib/source/library/lux/control/parser/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function local parameter) [abstract @@ -8,18 +8,18 @@ ["[0]" exception (.only exception:)] ["[0]" function]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern] ["[0]" code]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["n" nat (.use "[1]#[0]" decimal)]]] + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/control/pipe.lux b/stdlib/source/library/lux/control/pipe.lux index 7f7762924..eff3b6dce 100644 --- a/stdlib/source/library/lux/control/pipe.lux +++ b/stdlib/source/library/lux/control/pipe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except let cond if exec case) [abstract @@ -10,7 +10,7 @@ [data ["[0]" identity] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] [macro (.only with_symbols) [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/control/reader.lux b/stdlib/source/library/lux/control/reader.lux index 923b10562..12f30ce22 100644 --- a/stdlib/source/library/lux/control/reader.lux +++ b/stdlib/source/library/lux/control/reader.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local with) ["@" target] diff --git a/stdlib/source/library/lux/control/region.lux b/stdlib/source/library/lux/control/region.lux index 2c91dbbb8..66bb3b721 100644 --- a/stdlib/source/library/lux/control/region.lux +++ b/stdlib/source/library/lux/control/region.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except except) [abstract @@ -11,7 +11,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]]]] + ["[0]" list (.use "[1]#[0]" mix)]]]]] [// ["[0]" exception (.only Exception exception:)]]) diff --git a/stdlib/source/library/lux/control/remember.lux b/stdlib/source/library/lux/control/remember.lux index 1110c57bf..c33f6d38b 100644 --- a/stdlib/source/library/lux/control/remember.lux +++ b/stdlib/source/library/lux/control/remember.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -7,14 +7,14 @@ ["[0]" io] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" functor) + ["<>" parser (.use "[1]#[0]" functor) ["<c>" code (.only Parser)]]] [data ["[0]" text ["%" \\format (.only format)]]] [time ["[0]" instant] - ["[0]" date (.only Date) (.open: "[1]#[0]" order)]] + ["[0]" date (.only Date) (.use "[1]#[0]" order)]] ["[0]" meta] [macro ["[0]" code] diff --git a/stdlib/source/library/lux/control/security/capability.lux b/stdlib/source/library/lux/control/security/capability.lux index 6df5eaf19..24cb094d7 100644 --- a/stdlib/source/library/lux/control/security/capability.lux +++ b/stdlib/source/library/lux/control/security/capability.lux @@ -1,6 +1,6 @@ -(.using +(.require [library - [lux (.except) + [lux (.except use) [abstract [monad (.only do)]] [control @@ -13,7 +13,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [type [primitive (.except)]] ["[0]" meta] diff --git a/stdlib/source/library/lux/control/security/policy.lux b/stdlib/source/library/lux/control/security/policy.lux index fe683cf05..923d28db1 100644 --- a/stdlib/source/library/lux/control/security/policy.lux +++ b/stdlib/source/library/lux/control/security/policy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/control/state.lux b/stdlib/source/library/lux/control/state.lux index 484592e71..205638278 100644 --- a/stdlib/source/library/lux/control/state.lux +++ b/stdlib/source/library/lux/control/state.lux @@ -1,6 +1,6 @@ -(.using +(.require [library - [lux (.except local with) + [lux (.except local with use) [abstract [functor (.only Functor)] [apply (.only Apply)] diff --git a/stdlib/source/library/lux/control/thread.lux b/stdlib/source/library/lux/control/thread.lux index 4dbe81f34..506270888 100644 --- a/stdlib/source/library/lux/control/thread.lux +++ b/stdlib/source/library/lux/control/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/library/lux/control/try.lux b/stdlib/source/library/lux/control/try.lux index 23d3cf178..e18c3eb65 100644 --- a/stdlib/source/library/lux/control/try.lux +++ b/stdlib/source/library/lux/control/try.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) ["@" target] diff --git a/stdlib/source/library/lux/control/writer.lux b/stdlib/source/library/lux/control/writer.lux index 6df2cf695..bfad2a3e9 100644 --- a/stdlib/source/library/lux/control/writer.lux +++ b/stdlib/source/library/lux/control/writer.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) ["@" target] diff --git a/stdlib/source/library/lux/data/binary.lux b/stdlib/source/library/lux/data/binary.lux index 102440856..1c0f45a84 100644 --- a/stdlib/source/library/lux/data/binary.lux +++ b/stdlib/source/library/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/data/bit.lux b/stdlib/source/library/lux/data/bit.lux index 369c9002c..dcb0ad6bb 100644 --- a/stdlib/source/library/lux/data/bit.lux +++ b/stdlib/source/library/lux/data/bit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/data/collection/array.lux b/stdlib/source/library/lux/data/collection/array.lux index 0d02cef25..f259d5c87 100644 --- a/stdlib/source/library/lux/data/collection/array.lux +++ b/stdlib/source/library/lux/data/collection/array.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) [abstract diff --git a/stdlib/source/library/lux/data/collection/bits.lux b/stdlib/source/library/lux/data/collection/bits.lux index 8c524156e..c7da7a117 100644 --- a/stdlib/source/library/lux/data/collection/bits.lux +++ b/stdlib/source/library/lux/data/collection/bits.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except not and or) [abstract @@ -8,7 +8,7 @@ ["[0]" maybe]] [data [collection - ["[0]" array (.only Array) (.open: "[1]#[0]" mix)]]] + ["[0]" array (.only Array) (.use "[1]#[0]" mix)]]] [math [number ["n" nat] diff --git a/stdlib/source/library/lux/data/collection/dictionary.lux b/stdlib/source/library/lux/data/collection/dictionary.lux index a9f167556..a7dc74404 100644 --- a/stdlib/source/library/lux/data/collection/dictionary.lux +++ b/stdlib/source/library/lux/data/collection/dictionary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has revised) [abstract @@ -13,7 +13,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" mix functor monoid)] + ["[0]" list (.use "[1]#[0]" mix functor monoid)] ["[0]" array ["[1]" \\unsafe (.only Array)]]]] [macro diff --git a/stdlib/source/library/lux/data/collection/dictionary/ordered.lux b/stdlib/source/library/lux/data/collection/dictionary/ordered.lux index 8592aaeec..00ef47da9 100644 --- a/stdlib/source/library/lux/data/collection/dictionary/ordered.lux +++ b/stdlib/source/library/lux/data/collection/dictionary/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has revised) [abstract @@ -10,7 +10,7 @@ [data ["p" product] [collection - ["[0]" list (.open: "[1]#[0]" monoid mix)]]] + ["[0]" list (.use "[1]#[0]" monoid mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/data/collection/dictionary/plist.lux b/stdlib/source/library/lux/data/collection/dictionary/plist.lux index 3dd3521c4..ed02d287c 100644 --- a/stdlib/source/library/lux/data/collection/dictionary/plist.lux +++ b/stdlib/source/library/lux/data/collection/dictionary/plist.lux @@ -1,16 +1,16 @@ -(.using +(.require [library [lux (.except has revised) [abstract [equivalence (.only Equivalence)] [monoid (.only Monoid)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["n" nat]]]]]) diff --git a/stdlib/source/library/lux/data/collection/list.lux b/stdlib/source/library/lux/data/collection/list.lux index 6be267e78..929a6373b 100644 --- a/stdlib/source/library/lux/data/collection/list.lux +++ b/stdlib/source/library/lux/data/collection/list.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except revised all only with) ["@" target] @@ -347,7 +347,7 @@ {.#Item x xs'} {.#Item x (composite xs' ys)})))) -(open: "[0]" ..monoid) +(use "[0]" ..monoid) (def .public functor (Functor List) @@ -360,7 +360,7 @@ {.#Item a ma'} {.#Item (f a) (each f ma')})))) -(open: "[0]" ..functor) +(use "[0]" ..functor) (def .public apply (Apply List) diff --git a/stdlib/source/library/lux/data/collection/queue.lux b/stdlib/source/library/lux/data/collection/queue.lux index 54c1024b6..fd85c71c0 100644 --- a/stdlib/source/library/lux/data/collection/queue.lux +++ b/stdlib/source/library/lux/data/collection/queue.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except list) [abstract @@ -6,7 +6,7 @@ [functor (.only Functor)]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid functor)]]] + ["[0]" list (.use "[1]#[0]" monoid functor)]]] [math [number ["n" nat]]]]]) diff --git a/stdlib/source/library/lux/data/collection/queue/priority.lux b/stdlib/source/library/lux/data/collection/queue/priority.lux index 30cc94613..0ee30e78d 100644 --- a/stdlib/source/library/lux/data/collection/queue/priority.lux +++ b/stdlib/source/library/lux/data/collection/queue/priority.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,7 +12,7 @@ ["[1]" finger (.only Tree)]]]] [math [number - ["n" nat (.open: "[1]#[0]" interval)]]] + ["n" nat (.use "[1]#[0]" interval)]]] [type (.only by_example) [primitive (.only primitive abstraction representation)]]]]) diff --git a/stdlib/source/library/lux/data/collection/sequence.lux b/stdlib/source/library/lux/data/collection/sequence.lux index da7ea73c1..a33351aee 100644 --- a/stdlib/source/library/lux/data/collection/sequence.lux +++ b/stdlib/source/library/lux/data/collection/sequence.lux @@ -1,7 +1,7 @@ ... https://hypirion.com/musings/understanding-persistent-vector-pt-1 ... https://hypirion.com/musings/understanding-persistent-vector-pt-2 ... https://hypirion.com/musings/understanding-persistent-vector-pt-3 -(.using +(.require [library [lux (.except list has revised only) ["@" target] @@ -14,7 +14,7 @@ [mix (.only Mix)] [predicate (.only Predicate)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] ["<>" parser (.only) @@ -22,7 +22,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" mix functor monoid)] + ["[0]" list (.use "[1]#[0]" mix functor monoid)] ["[0]" array ["[1]" \\unsafe (.only Array)]]]] [macro diff --git a/stdlib/source/library/lux/data/collection/set.lux b/stdlib/source/library/lux/data/collection/set.lux index fd2e32815..b669331f2 100644 --- a/stdlib/source/library/lux/data/collection/set.lux +++ b/stdlib/source/library/lux/data/collection/set.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has list) [abstract @@ -8,7 +8,7 @@ [monoid (.only Monoid)]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/data/collection/set/multi.lux b/stdlib/source/library/lux/data/collection/set/multi.lux index 72e1e1620..82c89f817 100644 --- a/stdlib/source/library/lux/data/collection/set/multi.lux +++ b/stdlib/source/library/lux/data/collection/set/multi.lux @@ -1,5 +1,5 @@ ... https://en.wikipedia.org/wiki/Multiset -(.using +(.require [library [lux (.except has list) [abstract @@ -17,7 +17,7 @@ ["[0]" primitive (.only primitive abstraction representation)]]]] ["[0]" // (.only) [// - ["[0]" list (.open: "[1]#[0]" mix monoid)] + ["[0]" list (.use "[1]#[0]" mix monoid)] ["[0]" dictionary (.only Dictionary)]]]) (primitive .public (Set a) diff --git a/stdlib/source/library/lux/data/collection/set/ordered.lux b/stdlib/source/library/lux/data/collection/set/ordered.lux index 5cdd23dec..f24c059bd 100644 --- a/stdlib/source/library/lux/data/collection/set/ordered.lux +++ b/stdlib/source/library/lux/data/collection/set/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has list) [abstract @@ -6,7 +6,7 @@ [order (.only Order)]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] [dictionary ["/" ordered]]]] [type diff --git a/stdlib/source/library/lux/data/collection/stack.lux b/stdlib/source/library/lux/data/collection/stack.lux index 5a7f19904..726cdada0 100644 --- a/stdlib/source/library/lux/data/collection/stack.lux +++ b/stdlib/source/library/lux/data/collection/stack.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/data/collection/stream.lux b/stdlib/source/library/lux/data/collection/stream.lux index 29b789e09..ab3a72eb1 100644 --- a/stdlib/source/library/lux/data/collection/stream.lux +++ b/stdlib/source/library/lux/data/collection/stream.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except pattern only) [abstract @@ -11,7 +11,7 @@ [data ["[0]" bit] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] [macro (.only with_symbols) [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/data/collection/tree.lux b/stdlib/source/library/lux/data/collection/tree.lux index d1f9d46ba..d96d31371 100644 --- a/stdlib/source/library/lux/data/collection/tree.lux +++ b/stdlib/source/library/lux/data/collection/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -11,7 +11,7 @@ ["<[0]>" code (.only Parser)]]] [data [collection - ["[0]" list (.open: "[1]#[0]" monad mix)]]] + ["[0]" list (.use "[1]#[0]" monad mix)]]] [macro [syntax (.only syntax)] ["[0]" code]]]]) diff --git a/stdlib/source/library/lux/data/collection/tree/finger.lux b/stdlib/source/library/lux/data/collection/tree/finger.lux index 3046509d3..0b890f766 100644 --- a/stdlib/source/library/lux/data/collection/tree/finger.lux +++ b/stdlib/source/library/lux/data/collection/tree/finger.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -6,7 +6,7 @@ ["[0]" monoid (.only Monoid)]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]] + ["[0]" list (.use "[1]#[0]" monoid)]]] [type [primitive (.only primitive abstraction representation)]]]]) diff --git a/stdlib/source/library/lux/data/collection/tree/zipper.lux b/stdlib/source/library/lux/data/collection/tree/zipper.lux index e6bb39ba6..b2ef4f056 100644 --- a/stdlib/source/library/lux/data/collection/tree/zipper.lux +++ b/stdlib/source/library/lux/data/collection/tree/zipper.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) ["@" target] @@ -8,14 +8,14 @@ [monad (.only do)] [equivalence (.only Equivalence)]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data ["[0]" product] [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]]]] - ["[0]" // (.only Tree) (.open: "[1]#[0]" functor)]) + ["[0]" list (.use "[1]#[0]" functor monoid)]]]]] + ["[0]" // (.only Tree) (.use "[1]#[0]" functor)]) (type: (Family Zipper a) (Record diff --git a/stdlib/source/library/lux/data/color.lux b/stdlib/source/library/lux/data/color.lux index 519b0f020..06a488328 100644 --- a/stdlib/source/library/lux/data/color.lux +++ b/stdlib/source/library/lux/data/color.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -7,13 +7,13 @@ ["[0]" hash (.only Hash)]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat] ["f" frac] ["[0]" int] - ["[0]" rev (.open: "[1]#[0]" interval)] + ["[0]" rev (.use "[1]#[0]" interval)] ["[0]" i64]]] [type [primitive (.except)]]]]) diff --git a/stdlib/source/library/lux/data/color/named.lux b/stdlib/source/library/lux/data/color/named.lux index 43633595d..df8d311cf 100644 --- a/stdlib/source/library/lux/data/color/named.lux +++ b/stdlib/source/library/lux/data/color/named.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [math diff --git a/stdlib/source/library/lux/data/format/css.lux b/stdlib/source/library/lux/data/format/css.lux index dca23f87c..e0564ae8d 100644 --- a/stdlib/source/library/lux/data/format/css.lux +++ b/stdlib/source/library/lux/data/format/css.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and) [control @@ -8,7 +8,7 @@ ["%" \\format (.only format)] ["[0]" encoding (.only Encoding)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["[0]" nat]]] diff --git a/stdlib/source/library/lux/data/format/css/class.lux b/stdlib/source/library/lux/data/format/css/class.lux index 6a867e331..a2aa3d00d 100644 --- a/stdlib/source/library/lux/data/format/css/class.lux +++ b/stdlib/source/library/lux/data/format/css/class.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)]]] [macro [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/data/format/css/font.lux b/stdlib/source/library/lux/data/format/css/font.lux index 3c06ac129..caba8fee8 100644 --- a/stdlib/source/library/lux/data/format/css/font.lux +++ b/stdlib/source/library/lux/data/format/css/font.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type diff --git a/stdlib/source/library/lux/data/format/css/id.lux b/stdlib/source/library/lux/data/format/css/id.lux index 96a9ef1d2..7d833ca6c 100644 --- a/stdlib/source/library/lux/data/format/css/id.lux +++ b/stdlib/source/library/lux/data/format/css/id.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)]]] [macro [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/data/format/css/property.lux b/stdlib/source/library/lux/data/format/css/property.lux index 5fa507633..6d4413240 100644 --- a/stdlib/source/library/lux/data/format/css/property.lux +++ b/stdlib/source/library/lux/data/format/css/property.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except All Location) [control diff --git a/stdlib/source/library/lux/data/format/css/query.lux b/stdlib/source/library/lux/data/format/css/query.lux index 6af2f5539..cce106c61 100644 --- a/stdlib/source/library/lux/data/format/css/query.lux +++ b/stdlib/source/library/lux/data/format/css/query.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and or not) [control diff --git a/stdlib/source/library/lux/data/format/css/selector.lux b/stdlib/source/library/lux/data/format/css/selector.lux index ee3291e33..787dbd21f 100644 --- a/stdlib/source/library/lux/data/format/css/selector.lux +++ b/stdlib/source/library/lux/data/format/css/selector.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label or and for same? not) ["[0]" locale (.only Locale)] diff --git a/stdlib/source/library/lux/data/format/css/style.lux b/stdlib/source/library/lux/data/format/css/style.lux index 50df42453..1f055636f 100644 --- a/stdlib/source/library/lux/data/format/css/style.lux +++ b/stdlib/source/library/lux/data/format/css/style.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [data [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [type [primitive (.except)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/data/format/css/value.lux b/stdlib/source/library/lux/data/format/css/value.lux index 79afc29d6..5fb2cfb53 100644 --- a/stdlib/source/library/lux/data/format/css/value.lux +++ b/stdlib/source/library/lux/data/format/css/value.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label All Location and static false true) [control @@ -11,7 +11,7 @@ ["[0]" text ["%" \\format (.only Format format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/data/format/html.lux b/stdlib/source/library/lux/data/format/html.lux index 7a9d61adc..87f56a8cd 100644 --- a/stdlib/source/library/lux/data/format/html.lux +++ b/stdlib/source/library/lux/data/format/html.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except Meta Source comment and template) [control ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" product] ["[0]" text ["%" \\format (.only Format format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["[0]" template]] [target diff --git a/stdlib/source/library/lux/data/format/json.lux b/stdlib/source/library/lux/data/format/json.lux index af8a52bb4..52afae21d 100644 --- a/stdlib/source/library/lux/data/format/json.lux +++ b/stdlib/source/library/lux/data/format/json.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except has) ["[0]" meta (.only monad)] @@ -11,16 +11,16 @@ ["[0]" pipe] ["[0]" maybe] ["[0]" try (.only Try)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code]]] [data ["[0]" bit] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence monoid) + ["[0]" text (.use "[1]#[0]" equivalence monoid) ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" mix functor)] - ["[0]" sequence (.only Sequence sequence) (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" mix functor)] + ["[0]" sequence (.only Sequence sequence) (.use "[1]#[0]" monad)] ["[0]" dictionary (.only Dictionary)]]] [macro [syntax (.only syntax)] @@ -29,7 +29,7 @@ [math [number ["n" nat] - ["f" frac (.open: "[1]#[0]" decimal)]]]]]) + ["f" frac (.use "[1]#[0]" decimal)]]]]]) (with_template [<name> <type>] [(type: .public <name> diff --git a/stdlib/source/library/lux/data/format/markdown.lux b/stdlib/source/library/lux/data/format/markdown.lux index f328045dc..7833443d8 100644 --- a/stdlib/source/library/lux/data/format/markdown.lux +++ b/stdlib/source/library/lux/data/format/markdown.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except and) [data ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [type [primitive (.except)]] [world diff --git a/stdlib/source/library/lux/data/format/tar.lux b/stdlib/source/library/lux/data/format/tar.lux index 4fd668306..ac6644919 100644 --- a/stdlib/source/library/lux/data/format/tar.lux +++ b/stdlib/source/library/lux/data/format/tar.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Mode and) [ffi (.only)] @@ -13,15 +13,15 @@ ["[0]" product] ["[0]" binary (.only Binary) ["[1]!" \\unsafe] - ["[0]" \\format (.only Writer) (.open: "[1]#[0]" monoid)] + ["[0]" \\format (.only Writer) (.use "[1]#[0]" monoid)] ["<[1]>" \\parser (.only Parser)]] ["[0]" text (.only Char) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" mix)] - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" mix)] [array [\\unsafe (.only)]]]] [macro diff --git a/stdlib/source/library/lux/data/format/xml.lux b/stdlib/source/library/lux/data/format/xml.lux index 41ec13be0..2ca45753c 100644 --- a/stdlib/source/library/lux/data/format/xml.lux +++ b/stdlib/source/library/lux/data/format/xml.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except symbol) [abstract @@ -7,20 +7,20 @@ [codec (.only Codec)]] [control [try (.only Try)] - ["<>" parser (.open: "[1]#[0]" monad)]] + ["<>" parser (.use "[1]#[0]" monad)]] [data ["[0]" product] - ["[0]" text (.only \n) (.open: "[1]#[0]" equivalence monoid) + ["[0]" text (.only \n) (.use "[1]#[0]" equivalence monoid) ["<[1]>" \\parser (.only Parser Slice)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [math [number ["n" nat] ["[0]" int]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence codec)]]]]) + ["[0]" symbol (.use "[1]#[0]" equivalence codec)]]]]) (type: .public Tag Symbol) diff --git a/stdlib/source/library/lux/data/identity.lux b/stdlib/source/library/lux/data/identity.lux index 30d890dff..7b6c754ea 100644 --- a/stdlib/source/library/lux/data/identity.lux +++ b/stdlib/source/library/lux/data/identity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/data/product.lux b/stdlib/source/library/lux/data/product.lux index 6e8767e04..6c1143dc2 100644 --- a/stdlib/source/library/lux/data/product.lux +++ b/stdlib/source/library/lux/data/product.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) [abstract diff --git a/stdlib/source/library/lux/data/store.lux b/stdlib/source/library/lux/data/store.lux index 8e4c0746d..16aa25395 100644 --- a/stdlib/source/library/lux/data/store.lux +++ b/stdlib/source/library/lux/data/store.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/data/sum.lux b/stdlib/source/library/lux/data/sum.lux index ce03e75d6..03e26b25d 100644 --- a/stdlib/source/library/lux/data/sum.lux +++ b/stdlib/source/library/lux/data/sum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right) [abstract diff --git a/stdlib/source/library/lux/data/text.lux b/stdlib/source/library/lux/data/text.lux index 9c2649f55..49b905eac 100644 --- a/stdlib/source/library/lux/data/text.lux +++ b/stdlib/source/library/lux/data/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["@" target] @@ -13,7 +13,7 @@ ["[0]" maybe]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/data/text/buffer.lux b/stdlib/source/library/lux/data/text/buffer.lux index 82404b2dd..fbb58c96f 100644 --- a/stdlib/source/library/lux/data/text/buffer.lux +++ b/stdlib/source/library/lux/data/text/buffer.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -11,7 +11,7 @@ ["%" \\format (.only format)]] [collection ["[0]" array] - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" mix)]]] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" mix)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/data/text/encoding.lux b/stdlib/source/library/lux/data/text/encoding.lux index 16a0a2891..836fc8a49 100644 --- a/stdlib/source/library/lux/data/text/encoding.lux +++ b/stdlib/source/library/lux/data/text/encoding.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [macro diff --git a/stdlib/source/library/lux/data/text/encoding/utf8.lux b/stdlib/source/library/lux/data/text/encoding/utf8.lux index 8c7e5ef26..4a90d20e4 100644 --- a/stdlib/source/library/lux/data/text/encoding/utf8.lux +++ b/stdlib/source/library/lux/data/text/encoding/utf8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/library/lux/data/text/escape.lux b/stdlib/source/library/lux/data/text/escape.lux index f2c21a26e..616dba61d 100644 --- a/stdlib/source/library/lux/data/text/escape.lux +++ b/stdlib/source/library/lux/data/text/escape.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] diff --git a/stdlib/source/library/lux/data/text/regex.lux b/stdlib/source/library/lux/data/text/regex.lux index 6648375ba..017e29493 100644 --- a/stdlib/source/library/lux/data/text/regex.lux +++ b/stdlib/source/library/lux/data/text/regex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except pattern) ["[0]" meta] @@ -8,21 +8,21 @@ ["[0]" maybe] ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code]]] [data ["[0]" product] ["[0]" text ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" mix monad)]]] + ["[0]" list (.use "[1]#[0]" mix monad)]]] [macro (.only with_symbols) [syntax (.only syntax)] ["^" pattern] ["[0]" code]] [math [number (.only hex) - ["n" nat (.open: "[1]#[0]" decimal)]]]]] + ["n" nat (.use "[1]#[0]" decimal)]]]]] ["[0]" // (.only) ["%" \\format (.only format)]]) diff --git a/stdlib/source/library/lux/data/text/unicode/block.lux b/stdlib/source/library/lux/data/text/unicode/block.lux index db55002a9..c08d296e4 100644 --- a/stdlib/source/library/lux/data/text/unicode/block.lux +++ b/stdlib/source/library/lux/data/text/unicode/block.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -8,7 +8,7 @@ ["[0]" interval (.only Interval)]] [math [number (.only hex) - ["n" nat (.open: "[1]#[0]" interval)] + ["n" nat (.use "[1]#[0]" interval)] ["[0]" i64]]] [type [primitive (.except)]]]] diff --git a/stdlib/source/library/lux/data/text/unicode/set.lux b/stdlib/source/library/lux/data/text/unicode/set.lux index 1abe5427f..961b597ef 100644 --- a/stdlib/source/library/lux/data/text/unicode/set.lux +++ b/stdlib/source/library/lux/data/text/unicode/set.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except) [abstract [equivalence (.only Equivalence)]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix functor)] - ["[0]" set (.open: "[1]#[0]" equivalence)] + ["[0]" list (.use "[1]#[0]" mix functor)] + ["[0]" set (.use "[1]#[0]" equivalence)] ["[0]" tree ["[1]" finger (.only Tree)]]]] [type (.only by_example) diff --git a/stdlib/source/library/lux/data/trace.lux b/stdlib/source/library/lux/data/trace.lux index 87032785f..a4a778c56 100644 --- a/stdlib/source/library/lux/data/trace.lux +++ b/stdlib/source/library/lux/data/trace.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/debug.lux b/stdlib/source/library/lux/debug.lux index a4cbd9b25..885208a95 100644 --- a/stdlib/source/library/lux/debug.lux +++ b/stdlib/source/library/lux/debug.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type private) ["@" target] @@ -23,7 +23,7 @@ ["[0]" json]] [collection ["[0]" array] - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" dictionary]]] [macro ["^" pattern] diff --git a/stdlib/source/library/lux/documentation.lux b/stdlib/source/library/lux/documentation.lux index 3c5ad2e10..6988ec0c3 100644 --- a/stdlib/source/library/lux/documentation.lux +++ b/stdlib/source/library/lux/documentation.lux @@ -1,22 +1,22 @@ -(.using +(.require [library [lux (.except Definition Module type) ["[0]" meta] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [monad (.only do)] ["[0]" enum]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.only \n) (.open: "[1]#[0]" order) + ["[0]" text (.only \n) (.use "[1]#[0]" order) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix monoid)] + ["[0]" list (.use "[1]#[0]" monad mix monoid)] ["[0]" set (.only Set)] ["[0]" stream (.only Stream)]] [format diff --git a/stdlib/source/library/lux/extension.lux b/stdlib/source/library/lux/extension.lux index 1cbaf8642..aaffcd362 100644 --- a/stdlib/source/library/lux/extension.lux +++ b/stdlib/source/library/lux/extension.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except) [abstract ["[0]" monad]] [control - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<c>" code (.only Parser)]]] [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro (.only with_symbols) [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/ffi.jvm.lux b/stdlib/source/library/lux/ffi.jvm.lux index 49042f104..670f7b3a1 100644 --- a/stdlib/source/library/lux/ffi.jvm.lux +++ b/stdlib/source/library/lux/ffi.jvm.lux @@ -1,7 +1,7 @@ -(.using +(.require [library [lux (.except Primitive Type type int char is as) - ["[0]" meta (.open: "[1]#[0]" monad)] + ["[0]" meta (.use "[1]#[0]" monad)] [abstract ["[0]" monad (.only do)]] [control @@ -9,15 +9,15 @@ ["[0]" maybe] ["[0]" try (.only Try)] ["[0]" exception (.only Exception exception:)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" array] - ["[0]" list (.open: "[1]#[0]" monad mix monoid)] + ["[0]" list (.use "[1]#[0]" monad mix monoid)] ["[0]" dictionary (.only Dictionary)]]] [macro (.only with_symbols) [syntax (.only syntax)] @@ -36,7 +36,7 @@ ["[0]" signature] ["[0]" reflection] ["[0]" parser]]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]]) (def internal diff --git a/stdlib/source/library/lux/ffi.lux b/stdlib/source/library/lux/ffi.lux index d63363c38..480582285 100644 --- a/stdlib/source/library/lux/ffi.lux +++ b/stdlib/source/library/lux/ffi.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Symbol Alias Global global function type_of undefined) ["[0]" meta] @@ -6,16 +6,16 @@ ["[0]" monad (.only do)]] [control ["[0]" io] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)]]] + ["[0]" list (.use "[1]#[0]" monad mix)]]] ["[0]" macro (.only with_symbols) [syntax (.only syntax)] ["[0]" code] diff --git a/stdlib/source/library/lux/ffi.old.lux b/stdlib/source/library/lux/ffi.old.lux index c7d8c3dd2..cc5e342b1 100644 --- a/stdlib/source/library/lux/ffi.old.lux +++ b/stdlib/source/library/lux/ffi.old.lux @@ -1,7 +1,7 @@ -(.using +(.require [library [lux (.except is as type) - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract ["[0]" monad (.only Monad do)] ["[0]" enum]] @@ -14,12 +14,12 @@ ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" codec)] - ["[0]" text (.open: "[1]#[0]" equivalence monoid) + ["[0]" bit (.use "[1]#[0]" codec)] + ["[0]" text (.use "[1]#[0]" equivalence monoid) ["%" \\format (.only format)]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" monad mix monoid)]]] + ["[0]" list (.use "[1]#[0]" monad mix monoid)]]] ["[0]" macro (.only with_symbols) [syntax (.only syntax)] ["^" pattern] diff --git a/stdlib/source/library/lux/ffi.php.lux b/stdlib/source/library/lux/ffi.php.lux index 36f828a48..7993d5875 100644 --- a/stdlib/source/library/lux/ffi.php.lux +++ b/stdlib/source/library/lux/ffi.php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Alias) ["@" target] @@ -8,14 +8,14 @@ [control ["[0]" io] ["[0]" maybe] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] ["[0]" text ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [type abstract] [macro (.only with_symbols) diff --git a/stdlib/source/library/lux/ffi.scm.lux b/stdlib/source/library/lux/ffi.scm.lux index 0b4918927..df00ad166 100644 --- a/stdlib/source/library/lux/ffi.scm.lux +++ b/stdlib/source/library/lux/ffi.scm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Alias) ["@" target] @@ -8,14 +8,14 @@ [control ["[0]" io] ["[0]" maybe] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [type abstract] [macro (.only with_symbols) diff --git a/stdlib/source/library/lux/ffi/export.js.lux b/stdlib/source/library/lux/ffi/export.js.lux index 001e58022..2f635e20b 100644 --- a/stdlib/source/library/lux/ffi/export.js.lux +++ b/stdlib/source/library/lux/ffi/export.js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [extension (.only directive)] @@ -13,7 +13,7 @@ [text ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)] + ["[0]" list (.use "[1]#[0]" monad mix)] ["[0]" set]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/ffi/export.jvm.lux b/stdlib/source/library/lux/ffi/export.jvm.lux index 402c8b8da..970ae5481 100644 --- a/stdlib/source/library/lux/ffi/export.jvm.lux +++ b/stdlib/source/library/lux/ffi/export.jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [control @@ -6,7 +6,7 @@ ["<[0]>" code (.only Parser)]]] [data [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] [macro [syntax (.only syntax)] ["[0]" code]]]] diff --git a/stdlib/source/library/lux/ffi/export.lua.lux b/stdlib/source/library/lux/ffi/export.lua.lux index 2f4f8345e..6cfe5b891 100644 --- a/stdlib/source/library/lux/ffi/export.lua.lux +++ b/stdlib/source/library/lux/ffi/export.lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [extension (.only directive)] @@ -13,7 +13,7 @@ [text ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)] + ["[0]" list (.use "[1]#[0]" monad mix)] ["[0]" set]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/ffi/export.py.lux b/stdlib/source/library/lux/ffi/export.py.lux index 4ffa40ba8..1a4b3e054 100644 --- a/stdlib/source/library/lux/ffi/export.py.lux +++ b/stdlib/source/library/lux/ffi/export.py.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [extension (.only directive)] @@ -13,7 +13,7 @@ [text ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)] + ["[0]" list (.use "[1]#[0]" monad mix)] ["[0]" set]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/ffi/export.rb.lux b/stdlib/source/library/lux/ffi/export.rb.lux index 633164c92..3c867d4cb 100644 --- a/stdlib/source/library/lux/ffi/export.rb.lux +++ b/stdlib/source/library/lux/ffi/export.rb.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except global) [extension (.only directive)] @@ -15,7 +15,7 @@ ["%" \\format] ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)] + ["[0]" list (.use "[1]#[0]" monad mix)] ["[0]" set]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/ffi/node_js.js.lux b/stdlib/source/library/lux/ffi/node_js.js.lux index fb507fca0..1f3f2fb4a 100644 --- a/stdlib/source/library/lux/ffi/node_js.js.lux +++ b/stdlib/source/library/lux/ffi/node_js.js.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] [control ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" monoid functor)]]]]) + ["[0]" maybe (.use "[1]#[0]" monoid functor)]]]]) (with_template [<name> <path>] [(def <name> diff --git a/stdlib/source/library/lux/locale.lux b/stdlib/source/library/lux/locale.lux index 7b90f5386..d1c97493d 100644 --- a/stdlib/source/library/lux/locale.lux +++ b/stdlib/source/library/lux/locale.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [abstract [equivalence (.only Equivalence)] ["[0]" hash (.only Hash)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" text (.only) ["%" \\format (.only format)] diff --git a/stdlib/source/library/lux/locale/language.lux b/stdlib/source/library/lux/locale/language.lux index 0e6379d57..bab86a699 100644 --- a/stdlib/source/library/lux/locale/language.lux +++ b/stdlib/source/library/lux/locale/language.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/locale/territory.lux b/stdlib/source/library/lux/locale/territory.lux index 9dfed05f9..9688d691d 100644 --- a/stdlib/source/library/lux/locale/territory.lux +++ b/stdlib/source/library/lux/locale/territory.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/macro.lux b/stdlib/source/library/lux/macro.lux index 35d94cb88..e14bf061b 100644 --- a/stdlib/source/library/lux/macro.lux +++ b/stdlib/source/library/lux/macro.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except local symbol function macro) [abstract ["[0]" monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" monoid)] + ["[0]" text (.use "[1]#[0]" monoid)] [collection - ["[0]" list (.open: "[1]#[0]" monoid monad)]]] + ["[0]" list (.use "[1]#[0]" monoid monad)]]] [math [number ["[0]" nat] @@ -16,7 +16,7 @@ ["[0]" // ["[1]" meta (.only) ["[0]" location] - ["[0]" symbol (.open: "[1]#[0]" codec)]]]]) + ["[0]" symbol (.use "[1]#[0]" codec)]]]]) (def .public (single_expansion syntax) (-> Code (Meta (List Code))) diff --git a/stdlib/source/library/lux/macro/code.lux b/stdlib/source/library/lux/macro/code.lux index 53b0d826e..23e873e87 100644 --- a/stdlib/source/library/lux/macro/code.lux +++ b/stdlib/source/library/lux/macro/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev local global symbol) [abstract @@ -6,9 +6,9 @@ [data ["[0]" product] ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" monoid equivalence)] + ["[0]" text (.use "[1]#[0]" monoid equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/macro/local.lux b/stdlib/source/library/lux/macro/local.lux index 3538cc454..234820376 100644 --- a/stdlib/source/library/lux/macro/local.lux +++ b/stdlib/source/library/lux/macro/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with let) ["[0]" meta] @@ -13,7 +13,7 @@ ["[0]" product] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] [dictionary ["[0]" plist (.only PList)]]]]]] ["[0]" // (.only) diff --git a/stdlib/source/library/lux/macro/pattern.lux b/stdlib/source/library/lux/macro/pattern.lux index 7408d86e2..65b469e2d 100644 --- a/stdlib/source/library/lux/macro/pattern.lux +++ b/stdlib/source/library/lux/macro/pattern.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or let with_template |> `)]]) diff --git a/stdlib/source/library/lux/macro/syntax.lux b/stdlib/source/library/lux/macro/syntax.lux index 94ea416fe..897b778e5 100644 --- a/stdlib/source/library/lux/macro/syntax.lux +++ b/stdlib/source/library/lux/macro/syntax.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -10,7 +10,7 @@ ["<>" parser (.only) ["</>" code (.only Parser)]]] [data - ["[0]" text (.open: "[1]#[0]" monoid)] + ["[0]" text (.use "[1]#[0]" monoid)] [collection ["[0]" list]]] [math diff --git a/stdlib/source/library/lux/macro/syntax/check.lux b/stdlib/source/library/lux/macro/syntax/check.lux index 774c59e17..4e6d62b18 100644 --- a/stdlib/source/library/lux/macro/syntax/check.lux +++ b/stdlib/source/library/lux/macro/syntax/check.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] diff --git a/stdlib/source/library/lux/macro/syntax/declaration.lux b/stdlib/source/library/lux/macro/syntax/declaration.lux index d5e7ab443..070c1d9c9 100644 --- a/stdlib/source/library/lux/macro/syntax/declaration.lux +++ b/stdlib/source/library/lux/macro/syntax/declaration.lux @@ -1,16 +1,16 @@ -(.using +(.require [library [lux (.except) [abstract [equivalence (.only Equivalence)]] [control - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" code]]]]) diff --git a/stdlib/source/library/lux/macro/syntax/definition.lux b/stdlib/source/library/lux/macro/syntax/definition.lux index 02df002bb..030d1bc76 100644 --- a/stdlib/source/library/lux/macro/syntax/definition.lux +++ b/stdlib/source/library/lux/macro/syntax/definition.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) [abstract diff --git a/stdlib/source/library/lux/macro/syntax/export.lux b/stdlib/source/library/lux/macro/syntax/export.lux index 0aedf4a21..1a80d36c1 100644 --- a/stdlib/source/library/lux/macro/syntax/export.lux +++ b/stdlib/source/library/lux/macro/syntax/export.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/macro/syntax/input.lux b/stdlib/source/library/lux/macro/syntax/input.lux index bc6622bc6..f7708aadf 100644 --- a/stdlib/source/library/lux/macro/syntax/input.lux +++ b/stdlib/source/library/lux/macro/syntax/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -9,7 +9,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] [macro ["[0]" code]]]]) diff --git a/stdlib/source/library/lux/macro/syntax/type/variable.lux b/stdlib/source/library/lux/macro/syntax/type/variable.lux index fb0f0db06..284699679 100644 --- a/stdlib/source/library/lux/macro/syntax/type/variable.lux +++ b/stdlib/source/library/lux/macro/syntax/type/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/macro/template.lux b/stdlib/source/library/lux/macro/template.lux index 750f4fb8b..be87a83bb 100644 --- a/stdlib/source/library/lux/macro/template.lux +++ b/stdlib/source/library/lux/macro/template.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except let local symbol macro) ["[0]" meta] @@ -7,22 +7,22 @@ [control ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" functor) + ["<>" parser (.use "[1]#[0]" functor) ["<[0]>" code (.only Parser)]]] [data - ["[0]" bit (.open: "[1]#[0]" codec)] + ["[0]" bit (.use "[1]#[0]" codec)] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]] [math [number - ["[0]" nat (.open: "[1]#[0]" decimal)] - ["[0]" int (.open: "[1]#[0]" decimal)] - ["[0]" rev (.open: "[1]#[0]" decimal)] - ["[0]" frac (.open: "[1]#[0]" decimal)]]]]] + ["[0]" nat (.use "[1]#[0]" decimal)] + ["[0]" int (.use "[1]#[0]" decimal)] + ["[0]" rev (.use "[1]#[0]" decimal)] + ["[0]" frac (.use "[1]#[0]" decimal)]]]]] ["[0]" // (.only) [syntax (.only syntax)] ["[0]" code] diff --git a/stdlib/source/library/lux/math.lux b/stdlib/source/library/lux/math.lux index 913a5c1b0..6feb0ce11 100644 --- a/stdlib/source/library/lux/math.lux +++ b/stdlib/source/library/lux/math.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [extension (.only analysis)] @@ -15,13 +15,13 @@ [text ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro [syntax (.only syntax)] ["[0]" template]] [tool [compiler - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] [language [lux ["[0]" analysis (.only Analysis Operation Phase) diff --git a/stdlib/source/library/lux/math/infix.lux b/stdlib/source/library/lux/math/infix.lux index 2a6456e4f..e8d5339a3 100644 --- a/stdlib/source/library/lux/math/infix.lux +++ b/stdlib/source/library/lux/math/infix.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except) [abstract [monad (.only do)]] [control - ["<>" parser (.open: "[1]#[0]" functor) + ["<>" parser (.use "[1]#[0]" functor) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/math/logic/continuous.lux b/stdlib/source/library/lux/math/logic/continuous.lux index 738497496..fdcfc51f3 100644 --- a/stdlib/source/library/lux/math/logic/continuous.lux +++ b/stdlib/source/library/lux/math/logic/continuous.lux @@ -1,12 +1,12 @@ ... https://en.wikipedia.org/wiki/Many-valued_logic -(.using +(.require [library [lux (.except false true or and not) [abstract [monoid (.only Monoid)]] [math [number - ["/" rev (.open: "[1]#[0]" interval)]]]]]) + ["/" rev (.use "[1]#[0]" interval)]]]]]) (def .public false Rev /#bottom) (def .public true Rev /#top) diff --git a/stdlib/source/library/lux/math/logic/fuzzy.lux b/stdlib/source/library/lux/math/logic/fuzzy.lux index 6d337604e..a3295acd7 100644 --- a/stdlib/source/library/lux/math/logic/fuzzy.lux +++ b/stdlib/source/library/lux/math/logic/fuzzy.lux @@ -1,5 +1,5 @@ ... https://en.wikipedia.org/wiki/Fuzzy_logic -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/math/modular.lux b/stdlib/source/library/lux/math/modular.lux index 183679ce8..b8b2a3adf 100644 --- a/stdlib/source/library/lux/math/modular.lux +++ b/stdlib/source/library/lux/math/modular.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,13 +14,13 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]]] [macro ["[0]" code]] [math [number - ["i" int (.open: "[1]#[0]" decimal)]]] + ["i" int (.use "[1]#[0]" decimal)]]] [type [primitive (.except)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/math/modulus.lux b/stdlib/source/library/lux/math/modulus.lux index 3f976476a..d6fb7577e 100644 --- a/stdlib/source/library/lux/math/modulus.lux +++ b/stdlib/source/library/lux/math/modulus.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] diff --git a/stdlib/source/library/lux/math/number.lux b/stdlib/source/library/lux/math/number.lux index 4e1beb005..3cb0e401d 100644 --- a/stdlib/source/library/lux/math/number.lux +++ b/stdlib/source/library/lux/math/number.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/math/number/complex.lux b/stdlib/source/library/lux/math/number/complex.lux index 58a8cd4be..816b0d19e 100644 --- a/stdlib/source/library/lux/math/number/complex.lux +++ b/stdlib/source/library/lux/math/number/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -9,7 +9,7 @@ ["<[0]>" code]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro [syntax (.only syntax)]] [math diff --git a/stdlib/source/library/lux/math/number/frac.lux b/stdlib/source/library/lux/math/number/frac.lux index c3203335a..79dc77d92 100644 --- a/stdlib/source/library/lux/math/number/frac.lux +++ b/stdlib/source/library/lux/math/number/frac.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev) ["@" target] diff --git a/stdlib/source/library/lux/math/number/i16.lux b/stdlib/source/library/lux/math/number/i16.lux index 7f1cfda9b..613bf9b3f 100644 --- a/stdlib/source/library/lux/math/number/i16.lux +++ b/stdlib/source/library/lux/math/number/i16.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [abstract diff --git a/stdlib/source/library/lux/math/number/i32.lux b/stdlib/source/library/lux/math/number/i32.lux index 65958842e..90bbf7c59 100644 --- a/stdlib/source/library/lux/math/number/i32.lux +++ b/stdlib/source/library/lux/math/number/i32.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [type (.only by_example)] diff --git a/stdlib/source/library/lux/math/number/i64.lux b/stdlib/source/library/lux/math/number/i64.lux index c476676a5..24d968f6a 100644 --- a/stdlib/source/library/lux/math/number/i64.lux +++ b/stdlib/source/library/lux/math/number/i64.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and or not false true) [abstract diff --git a/stdlib/source/library/lux/math/number/i8.lux b/stdlib/source/library/lux/math/number/i8.lux index 6c13fc7ab..5b77180f7 100644 --- a/stdlib/source/library/lux/math/number/i8.lux +++ b/stdlib/source/library/lux/math/number/i8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [type (.only by_example)] diff --git a/stdlib/source/library/lux/math/number/int.lux b/stdlib/source/library/lux/math/number/int.lux index 2f13df457..94ea3965e 100644 --- a/stdlib/source/library/lux/math/number/int.lux +++ b/stdlib/source/library/lux/math/number/int.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/math/number/nat.lux b/stdlib/source/library/lux/math/number/nat.lux index 53828d2fa..51d2c68b8 100644 --- a/stdlib/source/library/lux/math/number/nat.lux +++ b/stdlib/source/library/lux/math/number/nat.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/math/number/ratio.lux b/stdlib/source/library/lux/math/number/ratio.lux index c4fe7a26d..a682665b0 100644 --- a/stdlib/source/library/lux/math/number/ratio.lux +++ b/stdlib/source/library/lux/math/number/ratio.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat) [abstract @@ -15,12 +15,12 @@ ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid)]] + ["[0]" text (.use "[1]#[0]" monoid)]] [macro [syntax (.only syntax)] ["[0]" code]]]] [// - ["n" nat (.open: "[1]#[0]" decimal)]]) + ["n" nat (.use "[1]#[0]" decimal)]]) (type: .public Ratio (Record diff --git a/stdlib/source/library/lux/math/number/rev.lux b/stdlib/source/library/lux/math/number/rev.lux index d74da6b2e..a03b60b2e 100644 --- a/stdlib/source/library/lux/math/number/rev.lux +++ b/stdlib/source/library/lux/math/number/rev.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/math/random.lux b/stdlib/source/library/lux/math/random.lux index c7e6d0663..66f80ef25 100644 --- a/stdlib/source/library/lux/math/random.lux +++ b/stdlib/source/library/lux/math/random.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or and list i64 nat int rev char only) [abstract @@ -7,11 +7,11 @@ [apply (.only Apply)] ["[0]" monad (.only Monad do)]] [data - ["[0]" text (.only Char) (.open: "[1]#[0]" monoid) + ["[0]" text (.only Char) (.use "[1]#[0]" monoid) ["[0]" unicode ["[1]" set]]] [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" array (.only Array)] ["[0]" dictionary (.only Dictionary)] ["[0]" queue (.only Queue)] diff --git a/stdlib/source/library/lux/meta.lux b/stdlib/source/library/lux/meta.lux index 3c0e85615..6987ae558 100644 --- a/stdlib/source/library/lux/meta.lux +++ b/stdlib/source/library/lux/meta.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type try macro) [abstract @@ -10,9 +10,9 @@ ["[0]" try (.only Try)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid order)] + ["[0]" text (.use "[1]#[0]" monoid order)] [collection - ["[0]" list (.open: "[1]#[0]" monoid monad)] + ["[0]" list (.use "[1]#[0]" monoid monad)] [dictionary ["[0]" plist]]]] [macro @@ -23,7 +23,7 @@ ["n" nat] ["i" int]]] [meta - ["[0]" symbol (.open: "[1]#[0]" codec equivalence)]]]] + ["[0]" symbol (.use "[1]#[0]" codec equivalence)]]]] [/ ["[0]" location]]) diff --git a/stdlib/source/library/lux/meta/configuration.lux b/stdlib/source/library/lux/meta/configuration.lux index 9d30b3590..5176ba34c 100644 --- a/stdlib/source/library/lux/meta/configuration.lux +++ b/stdlib/source/library/lux/meta/configuration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except for) ["[0]" meta] @@ -7,16 +7,16 @@ [monoid (.only Monoid)] [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] ["<>" parser (.only) ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format] ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] [dictionary ["/" plist]]]] [macro diff --git a/stdlib/source/library/lux/meta/location.lux b/stdlib/source/library/lux/meta/location.lux index acb911ab8..061140a94 100644 --- a/stdlib/source/library/lux/meta/location.lux +++ b/stdlib/source/library/lux/meta/location.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) [abstract diff --git a/stdlib/source/library/lux/meta/symbol.lux b/stdlib/source/library/lux/meta/symbol.lux index fba56c993..4d393f491 100644 --- a/stdlib/source/library/lux/meta/symbol.lux +++ b/stdlib/source/library/lux/meta/symbol.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -7,7 +7,7 @@ [order (.only Order)] [codec (.only Codec)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence monoid)] + ["[0]" text (.use "[1]#[0]" equivalence monoid)] ["[0]" product]]]]) ... (type: Symbol diff --git a/stdlib/source/library/lux/meta/version.lux b/stdlib/source/library/lux/meta/version.lux index e90c95a53..12789a755 100644 --- a/stdlib/source/library/lux/meta/version.lux +++ b/stdlib/source/library/lux/meta/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except for) ["[0]" meta] @@ -9,9 +9,9 @@ ["<>" parser (.only) ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/program.lux b/stdlib/source/library/lux/program.lux index 1e4622bcc..77cdb67fd 100644 --- a/stdlib/source/library/lux/program.lux +++ b/stdlib/source/library/lux/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/library/lux/static.lux b/stdlib/source/library/lux/static.lux index 4fd6c1674..071452a67 100644 --- a/stdlib/source/library/lux/static.lux +++ b/stdlib/source/library/lux/static.lux @@ -1,7 +1,7 @@ -(.using +(.require [library [lux (.except nat int rev if cond) - ["[0]" meta (.open: "[1]#[0]" functor)] + ["[0]" meta (.use "[1]#[0]" functor)] [abstract [monad (.only do)]] [control @@ -9,7 +9,7 @@ ["<[0]>" code]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" code]] diff --git a/stdlib/source/library/lux/target.lux b/stdlib/source/library/lux/target.lux index cee1e3084..b3b1b37c9 100644 --- a/stdlib/source/library/lux/target.lux +++ b/stdlib/source/library/lux/target.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]]) diff --git a/stdlib/source/library/lux/target/common_lisp.lux b/stdlib/source/library/lux/target/common_lisp.lux index b0107d234..ec18f3c38 100644 --- a/stdlib/source/library/lux/target/common_lisp.lux +++ b/stdlib/source/library/lux/target/common_lisp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Code int if cond or and comment let symbol) [control @@ -7,7 +7,7 @@ ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad monoid)]]] + ["[0]" list (.use "[1]#[0]" monad monoid)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/target/js.lux b/stdlib/source/library/lux/target/js.lux index 5b057a697..453d9e9fc 100644 --- a/stdlib/source/library/lux/target/js.lux +++ b/stdlib/source/library/lux/target/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location Code Label or and function if undefined for comment not int try ++ -- the type_of at) [control @@ -7,7 +7,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/target/jvm.lux b/stdlib/source/library/lux/target/jvm.lux index 24135ce07..e5909d3ba 100644 --- a/stdlib/source/library/lux/target/jvm.lux +++ b/stdlib/source/library/lux/target/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Primitive Label) [data diff --git a/stdlib/source/library/lux/target/jvm/attribute.lux b/stdlib/source/library/lux/target/jvm/attribute.lux index eb6fd8566..a1796629b 100644 --- a/stdlib/source/library/lux/target/jvm/attribute.lux +++ b/stdlib/source/library/lux/target/jvm/attribute.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Info Code Type) [abstract @@ -24,7 +24,7 @@ [encoding ["[1][0]" unsigned (.only U2 U4)]] ["[1][0]" constant (.only UTF8 Class Value) - ["[2][0]" pool (.only Pool Resource) (.open: "[1]#[0]" monad)]]] + ["[2][0]" pool (.only Pool Resource) (.use "[1]#[0]" monad)]]] ["[0]" / ["[1][0]" constant (.only Constant)] ["[1][0]" code]]) diff --git a/stdlib/source/library/lux/target/jvm/attribute/code.lux b/stdlib/source/library/lux/target/jvm/attribute/code.lux index 835b6726a..24bb2bdd1 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Code) [abstract @@ -7,9 +7,9 @@ ["[0]" product] ["[0]" binary (.only Binary)] ["[0]" binary - ["[1]F" \\format (.only Writer) (.open: "[1]#[0]" monoid)]] + ["[1]F" \\format (.only Writer) (.use "[1]#[0]" monoid)]] [collection - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" functor mix)]]] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" functor mix)]]] [math [number ["n" nat]]]]] diff --git a/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux b/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux index f71d52cfd..ee7d960cb 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/code/exception.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/attribute/constant.lux b/stdlib/source/library/lux/target/jvm/attribute/constant.lux index 34c8582ca..799124c9a 100644 --- a/stdlib/source/library/lux/target/jvm/attribute/constant.lux +++ b/stdlib/source/library/lux/target/jvm/attribute/constant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/bytecode.lux b/stdlib/source/library/lux/target/jvm/bytecode.lux index 99901a4a3..5d74511b8 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label int try except) ["[0]" ffi (.only import)] @@ -10,14 +10,14 @@ ["[0]" writer (.only Writer)] ["[0]" state (.only +State)] ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" monad)] + ["[0]" try (.only Try) (.use "[1]#[0]" monad)] ["[0]" exception (.only exception:)]] [data ["[0]" product] [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence (.only Sequence)]]] [macro @@ -31,7 +31,7 @@ ["[0]" / ["[1][0]" address (.only Address)] ["[1][0]" jump (.only Jump Big_Jump)] - ["_" instruction (.only Primitive_Array_Type Instruction Estimator) (.open: "[1]#[0]" monoid)] + ["_" instruction (.only Primitive_Array_Type Instruction Estimator) (.use "[1]#[0]" monoid)] ["[1][0]" environment (.only Environment) [limit ["/[0]" registry (.only Register Registry)] diff --git a/stdlib/source/library/lux/target/jvm/bytecode/address.lux b/stdlib/source/library/lux/target/jvm/bytecode/address.lux index 5c2dd04d2..58a9d411e 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/address.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/address.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment.lux index 14e8d5543..b3f322519 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type static has) [abstract diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux index 261e9a5ce..3cda1e1f1 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type static) [abstract @@ -9,7 +9,7 @@ [data ["[0]" product] [binary - ["[0]" \\format (.only Writer) (.open: "[1]#[0]" monoid)]]] + ["[0]" \\format (.only Writer) (.use "[1]#[0]" monoid)]]] [math [number ["n" nat]]]]] diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux index 3aae9a289..88b3e4dec 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/registry.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except Type for static has) [abstract ["[0]" equivalence (.only Equivalence)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data [binary [\\format (.only Writer)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux index 59c3c50ce..5d485efb2 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/environment/limit/stack.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux index ca4dfcff6..060e751a5 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [ffi (.only)] diff --git a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux index 676930f65..d2931b2c8 100644 --- a/stdlib/source/library/lux/target/jvm/bytecode/jump.lux +++ b/stdlib/source/library/lux/target/jvm/bytecode/jump.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/class.lux b/stdlib/source/library/lux/target/jvm/class.lux index cbbc47502..8bb2ea186 100644 --- a/stdlib/source/library/lux/target/jvm/class.lux +++ b/stdlib/source/library/lux/target/jvm/class.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type public private) [abstract @@ -10,7 +10,7 @@ [data ["[0]" product] ["[0]" binary - ["[1]F" \\format (.only Writer) (.open: "[1]#[0]" monoid)]] + ["[1]F" \\format (.only Writer) (.use "[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)]]]]] ["[0]" // diff --git a/stdlib/source/library/lux/target/jvm/constant.lux b/stdlib/source/library/lux/target/jvm/constant.lux index ebeccfaa4..54b1d15d5 100644 --- a/stdlib/source/library/lux/target/jvm/constant.lux +++ b/stdlib/source/library/lux/target/jvm/constant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -11,7 +11,7 @@ ["[0]" product] ["[0]" text] ["[0]" binary - ["[1]F" \\format (.only Writer) (.open: "[1]#[0]" monoid)]]] + ["[1]F" \\format (.only Writer) (.use "[1]#[0]" monoid)]]] [macro ["^" pattern] ["[0]" template]] diff --git a/stdlib/source/library/lux/target/jvm/constant/pool.lux b/stdlib/source/library/lux/target/jvm/constant/pool.lux index 787af5c99..bbfc2be17 100644 --- a/stdlib/source/library/lux/target/jvm/constant/pool.lux +++ b/stdlib/source/library/lux/target/jvm/constant/pool.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] @@ -14,9 +14,9 @@ ["[0]" product] ["[0]" text] [binary - ["[0]" \\format (.only Writer) (.open: "specification#[0]" monoid)]] + ["[0]" \\format (.only Writer) (.use "specification#[0]" monoid)]] [collection - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" mix)]]] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" mix)]]] [math [number ["[0]" int] diff --git a/stdlib/source/library/lux/target/jvm/constant/tag.lux b/stdlib/source/library/lux/target/jvm/constant/tag.lux index 58684f493..060628096 100644 --- a/stdlib/source/library/lux/target/jvm/constant/tag.lux +++ b/stdlib/source/library/lux/target/jvm/constant/tag.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,7 +12,7 @@ [primitive (.except)]]]] ["[0]" /// [encoding - ["[1][0]" unsigned (.only U1) (.open: "u1//[0]" equivalence)]]]) + ["[1][0]" unsigned (.only U1) (.use "u1//[0]" equivalence)]]]) (primitive .public Tag U1 diff --git a/stdlib/source/library/lux/target/jvm/encoding/name.lux b/stdlib/source/library/lux/target/jvm/encoding/name.lux index 068c11a36..558dfcad5 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/name.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/name.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/target/jvm/encoding/signed.lux b/stdlib/source/library/lux/target/jvm/encoding/signed.lux index b00ff6ba3..b25fc4412 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/signed.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/signed.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int) [abstract diff --git a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux index 0d2a16d52..33477f551 100644 --- a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux +++ b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat) [abstract diff --git a/stdlib/source/library/lux/target/jvm/field.lux b/stdlib/source/library/lux/target/jvm/field.lux index fa84b191b..d8d6ab791 100644 --- a/stdlib/source/library/lux/target/jvm/field.lux +++ b/stdlib/source/library/lux/target/jvm/field.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type static public private) [abstract @@ -7,7 +7,7 @@ [data ["[0]" product] ["[0]" binary - ["[1]F" \\format (.only Writer) (.open: "[1]#[0]" monoid)]] + ["[1]F" \\format (.only Writer) (.use "[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)]]]]] ["[0]" // diff --git a/stdlib/source/library/lux/target/jvm/index.lux b/stdlib/source/library/lux/target/jvm/index.lux index f21318b91..e54447e78 100644 --- a/stdlib/source/library/lux/target/jvm/index.lux +++ b/stdlib/source/library/lux/target/jvm/index.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/loader.lux b/stdlib/source/library/lux/target/jvm/loader.lux index a16372f06..0ce3ffe3f 100644 --- a/stdlib/source/library/lux/target/jvm/loader.lux +++ b/stdlib/source/library/lux/target/jvm/loader.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/library/lux/target/jvm/magic.lux b/stdlib/source/library/lux/target/jvm/magic.lux index a4064361e..b59147f41 100644 --- a/stdlib/source/library/lux/target/jvm/magic.lux +++ b/stdlib/source/library/lux/target/jvm/magic.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/target/jvm/method.lux b/stdlib/source/library/lux/target/jvm/method.lux index 082ede18b..9632c28a0 100644 --- a/stdlib/source/library/lux/target/jvm/method.lux +++ b/stdlib/source/library/lux/target/jvm/method.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type static public private) [abstract @@ -9,7 +9,7 @@ [data ["[0]" product] [binary - ["[0]" \\format (.only Writer) (.open: "[1]#[0]" monoid)]] + ["[0]" \\format (.only Writer) (.use "[1]#[0]" monoid)]] [collection ["[0]" sequence (.only Sequence)] ["[0]" list]]]]] diff --git a/stdlib/source/library/lux/target/jvm/modifier.lux b/stdlib/source/library/lux/target/jvm/modifier.lux index 1034f5cab..058027fab 100644 --- a/stdlib/source/library/lux/target/jvm/modifier.lux +++ b/stdlib/source/library/lux/target/jvm/modifier.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/target/jvm/modifier/inner.lux b/stdlib/source/library/lux/target/jvm/modifier/inner.lux index 693946b75..1537dbe10 100644 --- a/stdlib/source/library/lux/target/jvm/modifier/inner.lux +++ b/stdlib/source/library/lux/target/jvm/modifier/inner.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except static) [type diff --git a/stdlib/source/library/lux/target/jvm/reflection.lux b/stdlib/source/library/lux/target/jvm/reflection.lux index e09c3d85a..262ad8145 100644 --- a/stdlib/source/library/lux/target/jvm/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/reflection.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive type parameter) ["[0]" ffi (.only import)] @@ -6,14 +6,14 @@ [abstract ["[0]" monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] ["<t>" \\parser]] [collection - ["[0]" list (.open: "[1]#[0]" mix functor)] + ["[0]" list (.use "[1]#[0]" mix functor)] ["[0]" array] ["[0]" dictionary]]] [macro diff --git a/stdlib/source/library/lux/target/jvm/type.lux b/stdlib/source/library/lux/target/jvm/type.lux index 3734c5e99..f2ae2d59d 100644 --- a/stdlib/source/library/lux/target/jvm/type.lux +++ b/stdlib/source/library/lux/target/jvm/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive Type int char) [abstract @@ -10,7 +10,7 @@ ["[0]" text (.only) ["%" \\format (.only Format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/target/jvm/type/alias.lux b/stdlib/source/library/lux/target/jvm/type/alias.lux index 0ec86571b..9eb7986d2 100644 --- a/stdlib/source/library/lux/target/jvm/type/alias.lux +++ b/stdlib/source/library/lux/target/jvm/type/alias.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Primitive int char type parameter) [abstract diff --git a/stdlib/source/library/lux/target/jvm/type/box.lux b/stdlib/source/library/lux/target/jvm/type/box.lux index 051f45391..367efa5ed 100644 --- a/stdlib/source/library/lux/target/jvm/type/box.lux +++ b/stdlib/source/library/lux/target/jvm/type/box.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except int char)]] [/// diff --git a/stdlib/source/library/lux/target/jvm/type/category.lux b/stdlib/source/library/lux/target/jvm/type/category.lux index c9115e3b4..772503318 100644 --- a/stdlib/source/library/lux/target/jvm/type/category.lux +++ b/stdlib/source/library/lux/target/jvm/type/category.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive) [macro diff --git a/stdlib/source/library/lux/target/jvm/type/descriptor.lux b/stdlib/source/library/lux/target/jvm/type/descriptor.lux index 3de5b4483..332a1c128 100644 --- a/stdlib/source/library/lux/target/jvm/type/descriptor.lux +++ b/stdlib/source/library/lux/target/jvm/type/descriptor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive int char) [abstract @@ -6,10 +6,10 @@ [control ["[0]" maybe]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/target/jvm/type/lux.lux b/stdlib/source/library/lux/target/jvm/type/lux.lux index 3490eaed9..8ae726f26 100644 --- a/stdlib/source/library/lux/target/jvm/type/lux.lux +++ b/stdlib/source/library/lux/target/jvm/type/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive int char type parameter) [abstract @@ -6,10 +6,10 @@ [control ["[0]" try] ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" monad)]] + ["<>" parser (.use "[1]#[0]" monad)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] ["<[1]>" \\parser (.only Parser)]] [collection @@ -17,7 +17,7 @@ ["[0]" dictionary (.only Dictionary)]]] [type [primitive (.except)] - ["[0]" check (.only Check) (.open: "[1]#[0]" monad)]]]] + ["[0]" check (.only Check) (.use "[1]#[0]" monad)]]]] ["[0]" // (.only) [category (.only Void Value Return Method Primitive Object Class Array Var Parameter)] ["[1][0]" descriptor] diff --git a/stdlib/source/library/lux/target/jvm/type/parser.lux b/stdlib/source/library/lux/target/jvm/type/parser.lux index 9eb9db150..15a46e8ec 100644 --- a/stdlib/source/library/lux/target/jvm/type/parser.lux +++ b/stdlib/source/library/lux/target/jvm/type/parser.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except Type Primitive int char parameter) [abstract [monad (.only do)]] [control - ["<>" parser (.open: "[1]#[0]" monad)] + ["<>" parser (.use "[1]#[0]" monad)] ["[0]" try] ["[0]" function]] [data diff --git a/stdlib/source/library/lux/target/jvm/type/reflection.lux b/stdlib/source/library/lux/target/jvm/type/reflection.lux index cfd7be86b..cac395b22 100644 --- a/stdlib/source/library/lux/target/jvm/type/reflection.lux +++ b/stdlib/source/library/lux/target/jvm/type/reflection.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except Primitive int char) [abstract [equivalence (.only Equivalence)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [type [primitive (.except)]]]] diff --git a/stdlib/source/library/lux/target/jvm/type/signature.lux b/stdlib/source/library/lux/target/jvm/type/signature.lux index 288b0a75e..cbde0203a 100644 --- a/stdlib/source/library/lux/target/jvm/type/signature.lux +++ b/stdlib/source/library/lux/target/jvm/type/signature.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Primitive int char) [abstract @@ -7,10 +7,10 @@ [control ["[0]" pipe]] [data - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [type [primitive (.except)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/target/jvm/version.lux b/stdlib/source/library/lux/target/jvm/version.lux index 9b23f8fff..5d23d62c1 100644 --- a/stdlib/source/library/lux/target/jvm/version.lux +++ b/stdlib/source/library/lux/target/jvm/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/target/lua.lux b/stdlib/source/library/lux/target/lua.lux index 7ac944f82..0aed4c5f4 100644 --- a/stdlib/source/library/lux/target/lua.lux +++ b/stdlib/source/library/lux/target/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location Code Label int if function or and not let local comment the) ["@" target] @@ -14,7 +14,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/target/php.lux b/stdlib/source/library/lux/target/php.lux index c7ec0f9f5..9924b5229 100644 --- a/stdlib/source/library/lux/target/php.lux +++ b/stdlib/source/library/lux/target/php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location Code Global Label static int if cond or and not comment for try global the parameter) ["@" target] @@ -14,7 +14,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/target/python.lux b/stdlib/source/library/lux/target/python.lux index 54a9dbd9c..3a737f2df 100644 --- a/stdlib/source/library/lux/target/python.lux +++ b/stdlib/source/library/lux/target/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location Code not or and list if int comment exec try the is def) ["@" target] @@ -15,7 +15,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/target/r.lux b/stdlib/source/library/lux/target/r.lux index f31a950fe..6ec894694 100644 --- a/stdlib/source/library/lux/target/r.lux +++ b/stdlib/source/library/lux/target/r.lux @@ -1,17 +1,17 @@ -(.using +(.require [library [lux (.except Code or and list if function cond not int) [control ["[0]" pipe] ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] [parser ["<[0]>" code]]] [data ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux index d196e2308..0750ed717 100644 --- a/stdlib/source/library/lux/target/ruby.lux +++ b/stdlib/source/library/lux/target/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location Code static int if function or and not comment local global symbol the) ["@" target] @@ -14,7 +14,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)] ["[0]" template] diff --git a/stdlib/source/library/lux/target/scheme.lux b/stdlib/source/library/lux/target/scheme.lux index c3d1722b1..5657061a3 100644 --- a/stdlib/source/library/lux/target/scheme.lux +++ b/stdlib/source/library/lux/target/scheme.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Code int or and if cond let symbol) ["@" target] @@ -11,7 +11,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/library/lux/test.lux b/stdlib/source/library/lux/test.lux index 071798222..e562a5d12 100644 --- a/stdlib/source/library/lux/test.lux +++ b/stdlib/source/library/lux/test.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and for) ["@" target] @@ -13,7 +13,7 @@ ["[0]" io] [concurrency ["[0]" atom (.only Atom)] - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]] ["<>" parser (.only) ["<[0]>" code]]] [data @@ -21,7 +21,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set (.only Set)] ["[0]" dictionary ["[1]" ordered (.only Dictionary)]]]] @@ -29,7 +29,7 @@ ["[0]" instant] ["[0]" duration (.only Duration)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number (.only hex) ["n" nat] ["f" frac]]] diff --git a/stdlib/source/library/lux/time.lux b/stdlib/source/library/lux/time.lux index f7a4ddee9..63dd2bbaf 100644 --- a/stdlib/source/library/lux/time.lux +++ b/stdlib/source/library/lux/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,11 +13,11 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]] + ["n" nat (.use "[1]#[0]" decimal)]]] [type [primitive (.except)]]]] [/ diff --git a/stdlib/source/library/lux/time/date.lux b/stdlib/source/library/lux/time/date.lux index 5a28fc3a0..fcc1bdc79 100644 --- a/stdlib/source/library/lux/time/date.lux +++ b/stdlib/source/library/lux/time/date.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,14 +13,14 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" dictionary (.only Dictionary)]]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)] + ["n" nat (.use "[1]#[0]" decimal)] ["i" int]]] [type [primitive (.except)]]]] diff --git a/stdlib/source/library/lux/time/day.lux b/stdlib/source/library/lux/time/day.lux index e95975e6e..8436187da 100644 --- a/stdlib/source/library/lux/time/day.lux +++ b/stdlib/source/library/lux/time/day.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat) [abstract @@ -11,7 +11,7 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid)]] + ["[0]" text (.use "[1]#[0]" monoid)]] [macro ["^" pattern] ["[0]" template]] diff --git a/stdlib/source/library/lux/time/duration.lux b/stdlib/source/library/lux/time/duration.lux index 020ba0275..b8ed4f776 100644 --- a/stdlib/source/library/lux/time/duration.lux +++ b/stdlib/source/library/lux/time/duration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,12 +12,12 @@ ["<>" parser (.only)] ["[0]" try]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]]] [math [number ["i" int] - ["[0]" nat (.open: "[1]#[0]" decimal)]]] + ["[0]" nat (.use "[1]#[0]" decimal)]]] [type [primitive (.except)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/time/instant.lux b/stdlib/source/library/lux/time/instant.lux index 5f11765f0..cf0c7f1db 100644 --- a/stdlib/source/library/lux/time/instant.lux +++ b/stdlib/source/library/lux/time/instant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -15,7 +15,7 @@ ["[0]" try] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]]] [math [number diff --git a/stdlib/source/library/lux/time/month.lux b/stdlib/source/library/lux/time/month.lux index 148da6b30..e9b6d5578 100644 --- a/stdlib/source/library/lux/time/month.lux +++ b/stdlib/source/library/lux/time/month.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -11,7 +11,7 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid)]] + ["[0]" text (.use "[1]#[0]" monoid)]] [macro ["^" pattern] ["[0]" template]] diff --git a/stdlib/source/library/lux/time/year.lux b/stdlib/source/library/lux/time/year.lux index 70e93aa19..db1f73958 100644 --- a/stdlib/source/library/lux/time/year.lux +++ b/stdlib/source/library/lux/time/year.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -11,12 +11,12 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["<[1]>" \\parser (.only Parser)]]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)] - ["i" int (.open: "[1]#[0]" decimal)]]] + ["n" nat (.use "[1]#[0]" decimal)] + ["i" int (.use "[1]#[0]" decimal)]]] [type [primitive (.except)]]]]) diff --git a/stdlib/source/library/lux/tool/compiler.lux b/stdlib/source/library/lux/tool/compiler.lux index 2912dc635..2da6a3a44 100644 --- a/stdlib/source/library/lux/tool/compiler.lux +++ b/stdlib/source/library/lux/tool/compiler.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module Code) [control diff --git a/stdlib/source/library/lux/tool/compiler/arity.lux b/stdlib/source/library/lux/tool/compiler/arity.lux index 14e73f0c1..28078039c 100644 --- a/stdlib/source/library/lux/tool/compiler/arity.lux +++ b/stdlib/source/library/lux/tool/compiler/arity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [math diff --git a/stdlib/source/library/lux/tool/compiler/default/init.lux b/stdlib/source/library/lux/tool/compiler/default/init.lux index 8ad59fc2e..1e37db22b 100644 --- a/stdlib/source/library/lux/tool/compiler/default/init.lux +++ b/stdlib/source/library/lux/tool/compiler/default/init.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target (.only Target)] @@ -11,13 +11,13 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary] ["[0]" set] - ["[0]" sequence (.open: "[1]#[0]" functor)]]] + ["[0]" sequence (.use "[1]#[0]" functor)]]] [meta ["[0]" configuration (.only Configuration)] ["[0]" version]] diff --git a/stdlib/source/library/lux/tool/compiler/default/platform.lux b/stdlib/source/library/lux/tool/compiler/default/platform.lux index 07a7b4c0f..7b8115a43 100644 --- a/stdlib/source/library/lux/tool/compiler/default/platform.lux +++ b/stdlib/source/library/lux/tool/compiler/default/platform.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -9,23 +9,23 @@ [control ["[0]" function] ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" monad)] + ["[0]" try (.only Try) (.use "[1]#[0]" monad)] ["[0]" exception (.only exception:)] [concurrency - ["[0]" async (.only Async Resolver) (.open: "[1]#[0]" monad)] + ["[0]" async (.only Async Resolver) (.use "[1]#[0]" monad)] ["[0]" stm (.only Var STM)]]] [data ["[0]" bit] ["[0]" product] ["[0]" binary (.only Binary) ["_" \\format (.only Writer)]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" mix)] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" mix)] ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" monoid functor mix)]]] + ["[0]" list (.use "[1]#[0]" monoid functor mix)]]] ["[0]" meta (.only) ["[0]" configuration (.only Configuration)]] [type (.only sharing) @@ -626,7 +626,7 @@ product.left)) ... TODO: Come up with a less hacky way to prevent duplicate imports. - ... This currently assumes that all imports will be specified once in a single .using form. + ... This currently assumes that all imports will be specified once in a single .require form. ... This might not be the case in the future. (def (with_new_dependencies new_dependencies all_dependencies) (-> (List descriptor.Module) (Set descriptor.Module) [(Set descriptor.Module) (Set descriptor.Module)]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux.lux index 7f601efff..b9d334818 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux index 0a1b71dab..a74058ebb 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Tuple Variant nat int rev case local except) [abstract @@ -14,11 +14,11 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only Format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro [syntax (.only syntax)]] [math diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux index bca0b70e3..8c3fbea81 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/complex.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except Tuple Variant) [abstract [equivalence (.only Equivalence)] [hash (.only Hash)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format (.only Format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux index a54acd867..2d3d15ef0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/coverage.lux @@ -1,27 +1,27 @@ -(.using +(.require [library [lux (.except Variant) [abstract [equivalence (.except)] ["[0]" monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" monoid monad)] + ["[0]" maybe (.use "[1]#[0]" monoid monad)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] - ["[0]" set (.only Set) (.open: "[1]#[0]" equivalence)]]] + ["[0]" set (.only Set) (.use "[1]#[0]" equivalence)]]] [macro ["^" pattern] ["[0]" template]] [math [number - ["n" nat (.open: "[1]#[0]" interval)] + ["n" nat (.use "[1]#[0]" interval)] ["i" int] ["r" rev] ["f" frac]]]]] @@ -118,7 +118,7 @@ _ #0)))) -(open: "/#[0]" ..equivalence) +(use "/#[0]" ..equivalence) (def .public (format value) (%.Format Coverage) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux index 69efc223d..d0bb26946 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/evaluation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type (.only sharing)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux index cecf9c460..f177b638e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/inference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -13,7 +13,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [macro ["^" pattern] ["[0]" template]] @@ -28,7 +28,7 @@ [phase ["[0]" extension]] [/// - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux index e66c897e9..50fdf139b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/macro.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux index a2f23afd5..eb893d890 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label with) [abstract @@ -8,10 +8,10 @@ ["[0]" try] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix functor)] + ["[0]" list (.use "[1]#[0]" mix functor)] [dictionary ["[0]" plist]]]] ["[0]" meta]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux index 841a39b77..f198494ad 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/pattern.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/scope.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/scope.lux index 7491c9f00..03edb5564 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/scope.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/scope.lux @@ -1,17 +1,17 @@ -(.using +(.require [library [lux (.except local with) [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)] + ["[0]" maybe (.use "[1]#[0]" monad)] ["[0]" try] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor mix monoid)] + ["[0]" list (.use "[1]#[0]" functor mix monoid)] [dictionary ["[0]" plist]]]]]] ["/" // (.only Environment Operation Phase) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/simple.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/simple.lux index 25ba7b1bd..3a4e21bdf 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/simple.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/simple.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [abstract [equivalence (.only Equivalence)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only Format)]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux index 007289a0a..182199934 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/analysis/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux index 2682f80d8..091ac3b6c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/directive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module) [abstract @@ -7,7 +7,7 @@ ["[0]" try]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]]]] + ["[0]" list (.use "[1]#[0]" monoid)]]]]] [// ["[0]" analysis] ["[0]" synthesis] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux index 8bc9502fc..6a73833fa 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/generation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except symbol) [abstract @@ -10,11 +10,11 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" sequence (.only Sequence)] - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set (.only Set)]]] [macro ["^" pattern] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux index 1c621d0ff..025c953c3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux index 728eb24ec..8e3fff991 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case) ["[0]" meta] @@ -13,7 +13,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix monoid monad)]]] + ["[0]" list (.use "[1]#[0]" mix monoid monad)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux index e0c2a8b41..b0c35fb9f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -11,10 +11,10 @@ ["[0]" state]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" dictionary (.only Dictionary)]]] [macro ["[0]" code]] @@ -35,7 +35,7 @@ ["[1][0]" type] ["[1][0]" inference]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)] + ["[1]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux index 3b3a319d3..0592768b2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) ["[0]" meta] @@ -13,7 +13,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monoid monad)]]] + ["[0]" list (.use "[1]#[0]" monoid monad)]]] [math [number ["n" nat]]] @@ -27,7 +27,7 @@ ["[1][0]" inference] ["[1][0]" scope]] [/// - ["[1]" phase (.open: "[1]#[0]" functor)] + ["[1]" phase (.use "[1]#[0]" functor)] [reference (.only) [variable (.only)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux index cb4011c73..a46905cf1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -7,7 +7,7 @@ [control ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [macro ["^" pattern]]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux index 416780c05..c20161ec3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/analysis/simple.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux index 6669776fa..4cb90a248 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/directive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -11,7 +11,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix monoid)]]]]] + ["[0]" list (.use "[1]#[0]" mix monoid)]]]]] ["[0]" // ["[1][0]" extension] ["[1][0]" analysis] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux index 2f7e4ad0f..6844779c4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) [abstract @@ -11,7 +11,7 @@ ["[0]" exception (.only exception:)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" order) + ["[0]" text (.use "[1]#[0]" order) ["%" \\format (.only Format format)]] [collection ["[0]" list] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux index e11214c8b..2a887e12d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux index 962ad9aea..5e7529857 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/common_lisp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux index 71082e284..605c39956 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux index 645d0366c..2200e481c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Module Primitive type char int) ["[0]" ffi (.only import)] @@ -8,8 +8,8 @@ ["[0]" predicate]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" monad)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" monad)] ["[0]" exception (.only exception:)] ["<>" parser (.only) ["<[0]>" code (.only Parser)]]] @@ -17,11 +17,11 @@ [binary (.only Binary) ["[0]" \\format]] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] ["<[1]>" \\parser]] [collection - ["[0]" list (.open: "[1]#[0]" mix monad monoid)] + ["[0]" list (.use "[1]#[0]" mix monad monoid)] ["[0]" array] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence]]] @@ -35,8 +35,8 @@ [target ["[0]" jvm ["[0]!" reflection] - ["_" bytecode (.only Bytecode) (.open: "[1]#[0]" monad)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["_" bytecode (.only Bytecode) (.use "[1]#[0]" monad)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" attribute] ["[0]" field] ["[0]" version] @@ -46,7 +46,7 @@ ["[0]" pool (.only Resource)]] [encoding ["[0]" name (.only External)]] - ["[1]" type (.only Type Argument Typed) (.open: "[1]#[0]" equivalence) + ["[1]" type (.only Type Argument Typed) (.use "[1]#[0]" equivalence) ["[0]" category (.only Void Value' Value Return' Return Primitive Object Class Array Var Parameter Method)] ["[0]" box] ["[0]" reflection] @@ -56,7 +56,7 @@ ["[0]" alias (.only Aliasing)] ["[0]T" lux (.only Mapping)]]]] ["[0]" type (.only) - ["[0]" check (.only Check) (.open: "[1]#[0]" monad)]]]] + ["[0]" check (.only Check) (.use "[1]#[0]" monad)]]]] ["[0]" // ["[1][0]" lux (.only custom)] ["/[1]" // (.only) @@ -77,7 +77,7 @@ ["[0]A" type] ["[0]" scope]] [/// - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] ["[0]" reference (.only) ["[0]" variable]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux index 3b58108c8..2cd5b0a68 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux index f201ff72b..400a7a5e7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,7 +13,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux index d2f402d79..04896e028 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux index 96d175553..cc77fa604 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux index 5e2f27c47..c499e23d8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/r.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux index c75faf63a..57f47077e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux index b76766cf7..bb57f5668 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/analysis/scheme.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux index 1e2674dc4..1436c1002 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/bundle.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -7,7 +7,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]]]] [// (.only Handler Bundle)]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux index 960e51493..21f260fb8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Definition Primitive) ["[0]" ffi (.only import)] @@ -6,9 +6,9 @@ ["[0]" monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data ["[0]" product] @@ -18,7 +18,7 @@ ["%" \\format (.only format)] ["<[1]>" \\parser]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary] ["[0]" sequence] ["[0]" set (.only Set)]]] @@ -31,8 +31,8 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode (.only Bytecode) (.open: "[1]#[0]" monad)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["_" bytecode (.only Bytecode) (.use "[1]#[0]" monad)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" attribute] ["[0]" field] ["[0]" version] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux index a8117080a..0b905495a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/directive/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -7,7 +7,7 @@ ["[0]" monad (.only do)]] [control [io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try] ["[0]" exception (.only exception:)] ["<>" parser (.only) @@ -20,7 +20,7 @@ [collection ["[0]" dictionary] ["[0]" array] - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set (.only Set)]]] [macro ["^" pattern] @@ -28,7 +28,7 @@ [math [number ["n" nat]]] - ["[0]" type (.only sharing) (.open: "[1]#[0]" equivalence) + ["[0]" type (.only sharing) (.use "[1]#[0]" equivalence) ["[0]" check]]]] ["[0]" /// (.only Extender) ["[1][0]" bundle] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux index 246b7455e..94afa28d6 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux index 51ed09e66..62bd29a68 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,7 +14,7 @@ [collection ["[0]" dictionary] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["f" frac]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux index a68ac7532..987668fa2 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/common_lisp/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [//// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux index e3b3165e9..9dde05bab 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux index 8f07958c0..150ff7dee 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -9,7 +9,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary]]] [macro ["^" pattern]] @@ -37,7 +37,7 @@ ["[0]" synthesis (.only %synthesis) ["<s>" \\parser (.only Parser)]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)]]]]]) + ["[1]" phase (.use "[1]#[0]" monad)]]]]]) (def .public (custom [parser handler]) (All (_ s) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux index 5d15df243..164544520 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/js/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux index 8f05447f9..6bed843bd 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux index febd59454..8daa095ba 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label Primitive) [abstract @@ -10,7 +10,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" dictionary]]] [math [number @@ -18,7 +18,7 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode (.only Label Bytecode) (.open: "[1]#[0]" monad)] + ["_" bytecode (.only Label Bytecode) (.use "[1]#[0]" monad)] [encoding ["[0]" signed (.only S4)]] ["[0]" type (.only Type) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux index a13cef376..772a680e6 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/jvm/host.lux @@ -1,21 +1,21 @@ -(.using +(.require [library [lux (.except Type Primitive) [abstract ["[0]" monad (.only do)]] [control ["<>" parser] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data ["[0]" product] [binary ["[0]" \\format]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format] ["<[1]>" \\parser]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix monoid)] + ["[0]" list (.use "[1]#[0]" monad mix monoid)] ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)] ["[0]" sequence]]] @@ -29,14 +29,14 @@ [target [jvm ["[0]" version] - ["[0]" modifier (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.use "[1]#[0]" monoid)] ["[0]" method (.only Method)] ["[0]" class (.only Class)] [constant [pool (.only Resource)]] [encoding ["[0]" name]] - ["_" bytecode (.only Bytecode) (.open: "[1]#[0]" monad) + ["_" bytecode (.only Bytecode) (.use "[1]#[0]" monad) ["__" instruction (.only Primitive_Array_Type)]] ["[0]" type (.only Type Typed Argument) ["[0]" category (.only Void Value' Value Return' Return Primitive Object Array Var Parameter)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux index 8860a5568..35d3f07b8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux index 14c293e39..560f6c1ae 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,7 +13,7 @@ ["%" \\format (.only format)]] [collection ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math @@ -41,7 +41,7 @@ ["[0]" synthesis (.only %synthesis) ["<s>" \\parser (.only Parser)]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)]]]]]) + ["[1]" phase (.use "[1]#[0]" monad)]]]]]) (def .public (custom [parser handler]) (All (_ s) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux index 6d8a3bf73..6546b3d1c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/lua/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux index 4d9c8ab95..2a76ad856 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux index 02ecee4d4..d908ed1a3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,7 +14,7 @@ [collection ["[0]" dictionary] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["f" frac]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux index d63c2c626..80e7f0f66 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/php/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux index bb9e2638d..8adf1ec86 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux index 3335bf992..f36712cd4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,7 +13,7 @@ ["%" \\format (.only format)]] [collection ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math @@ -43,7 +43,7 @@ ["[0]" synthesis (.only %synthesis) ["<[1]>" \\parser (.only Parser)]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)]]]]]) + ["[1]" phase (.use "[1]#[0]" monad)]]]]]) (def .public (statement expression archive synthesis) Phase! diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux index 1c1f170ce..16d98cda5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux index 487b9958b..1a9b58970 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux index cdcfb555b..a03635054 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,7 +14,7 @@ [collection ["[0]" dictionary] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["f" frac]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux index 3fa89672c..8939e5c6c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/r/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux index 180444525..3852ff8b4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux index 0537a3539..a9681db10 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,7 +13,7 @@ ["%" \\format (.only format)]] [collection ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math @@ -41,7 +41,7 @@ ["[0]" synthesis (.only %synthesis) ["<s>" \\parser (.only Parser)]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)]]]]]) + ["[1]" phase (.use "[1]#[0]" monad)]]]]]) (def .public (custom [parser handler]) (All (_ s) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux index ce451a263..f5ee0933c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/ruby/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux index fdca305d2..e2a5ce49f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux index 20d9da33e..c46114d06 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,7 +14,7 @@ [collection ["[0]" dictionary] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["f" frac]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux index a3989de9f..9d8242967 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/scheme/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux index fcfa9b7ea..54b8a874b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux index e31b13851..9087341e0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -21,7 +21,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux index 671b46045..333171c4a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case let if) [abstract @@ -9,7 +9,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix monoid)] + ["[0]" list (.use "[1]#[0]" functor mix monoid)] ["[0]" set]]] [macro ["^" pattern]] @@ -33,7 +33,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux index eac649c9c..1d1c8473f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux index e0e2a756d..773a50b72 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/extension/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux index 9029be0ed..e04607dd1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -10,7 +10,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [target ["_" common_lisp (.only Expression Var/1)]]]] ["[0]" // @@ -25,7 +25,7 @@ ["[1][0]" generation (.only Context)] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference [variable (.only Register Variable)]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux index f71d3e18b..6ab3d1e38 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux index 419179137..463cefc17 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux index 7b2dcab79..7475687e5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux index a924fbe8f..20b1afabf 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location) ["[0]" meta] @@ -10,11 +10,11 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] ["[0]" encoding]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)] + ["[0]" list (.use "[1]#[0]" functor monoid)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux index 05ed5efea..3796405b1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/common_lisp/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,7 +12,7 @@ [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple expression archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux index 680957008..6dde26d12 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -8,7 +8,7 @@ ["<[0]>" code]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] ["[0]" meta] ["[0]" macro (.only with_symbols) ["[0]" code] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux index 5d6b92824..657e876ea 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -28,7 +28,7 @@ [analysis (.only)] ["[0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux index 2e48dea7c..ce5b1a3f8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case exec let if) [abstract @@ -8,7 +8,7 @@ [data ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math @@ -32,7 +32,7 @@ ["//[1]" /// [reference [variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux index c7c5226ac..6121a5b53 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" js (.only Expression Computation Var Statement)]]]] ["[0]" // @@ -23,7 +23,7 @@ ["[1][0]" generation] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference [variable (.only Register Variable)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux index eb9d60063..98411011a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux index 19dd18af2..67cf1d9df 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux index 6cca81aeb..665f83695 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux index 41da758da..fc779ff8c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64 left right) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux index 9fdbc4592..abdb1e9b6 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/js/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Tuple) [abstract @@ -13,7 +13,7 @@ [analysis [complex (.only Variant Tuple)]] ["//[1]" /// (.only) - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple generate archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux index 0a8c1c026..e5994dc9f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -19,7 +19,7 @@ ["[0]" synthesis] [/// ["[0]" reference] - ["[1]" phase (.open: "[1]#[0]" monad)]]]]]) + ["[1]" phase (.use "[1]#[0]" monad)]]]]]) (def .public (generate archive synthesis) Phase diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux index 0ae4da146..ad49fa9e5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label if let exec case int) [abstract @@ -7,8 +7,8 @@ ["[0]" function]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix)]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" list (.use "[1]#[0]" mix)]] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [macro ["^" pattern]] @@ -18,7 +18,7 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode (.only Label Bytecode) (.open: "[1]#[0]" monad) + ["_" bytecode (.only Label Bytecode) (.use "[1]#[0]" monad) [environment [limit ["[0]" stack]]]] @@ -35,7 +35,7 @@ [access ["[0]" member (.only Member)]]] [/// - ["[0]" phase (.open: "operation#[0]" monad)] + ["[0]" phase (.use "operation#[0]" monad)] [reference [variable (.only Register)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux index 5f07e5300..b983c3b7d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/debug.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux index a4147be81..3f2474f4e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label with) [abstract @@ -8,7 +8,7 @@ [binary ["[0]" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" monoid functor)] + ["[0]" list (.use "[1]#[0]" monoid functor)] ["[0]" sequence]]] [math [number @@ -16,9 +16,9 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode (.only Label Bytecode) (.open: "[1]#[0]" monad)] + ["_" bytecode (.only Label Bytecode) (.use "[1]#[0]" monad)] ["[0]" version] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" field (.only Field)] ["[0]" method (.only Method)] ["[0]" class (.only Class)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux index cf462455e..8ca23c0f4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/abstract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux index dcbaef747..684c05c2e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type type) [data @@ -7,7 +7,7 @@ [target [jvm ["[0]" field (.only Field)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] [type (.only Type) [category (.only Value)]] [constant diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux index 3892b9ef0..51ee2f466 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/constant/arity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux index 0ae3854a7..16a7e67a3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable.lux @@ -1,13 +1,13 @@ -(.using +(.require [library [lux (.except Type type) [data [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] [target [jvm - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" field (.only Field)] ["_" bytecode (.only Bytecode)] [type (.only Type) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux index e84776579..aed904262 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/count.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [control diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux index f403f723c..9ad94ea7e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/foreign.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux index 36d83b0f1..95b3fb619 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/field/variable/partial.lux @@ -1,18 +1,18 @@ -(.using +(.require [library [lux (.except Type) [abstract ["[0]" monad]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] [target [jvm ["[0]" field (.only Field)] - ["_" bytecode (.only Bytecode) (.open: "[1]#[0]" monad)] + ["_" bytecode (.only Bytecode) (.use "[1]#[0]" monad)] [type (.only Type) [category (.only Class)]] [constant diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux index 3e8e0e065..5b6aa435c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method.lux @@ -1,9 +1,9 @@ -(.using +(.require [library [lux (.except) [target [jvm - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" method (.only Method)]]]]]) (def .public modifier diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux index 8b03c7ae8..b31f0233b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/apply.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label type) [abstract @@ -7,7 +7,7 @@ ["[0]" try]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid functor)]]] + ["[0]" list (.use "[1]#[0]" monoid functor)]]] [math [number ["n" nat] @@ -15,7 +15,7 @@ ["[0]" i32]]] [target [jvm - ["_" bytecode (.only Label Bytecode) (.open: "[1]#[0]" monad)] + ["_" bytecode (.only Label Bytecode) (.use "[1]#[0]" monad)] ["[0]" method (.only Method)] [constant [pool (.only Resource)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux index 84ad5a397..86965220b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/implementation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Label type) [data @@ -9,7 +9,7 @@ ["n" nat]]] [target [jvm - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" method (.only Method)] ["_" bytecode (.only Label Bytecode)] [constant diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux index 934e7c561..d60aad8a3 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/init.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type type) [abstract @@ -7,7 +7,7 @@ ["[0]" try]] [data [collection - ["[0]" list (.open: "[1]#[0]" monoid functor)]]] + ["[0]" list (.use "[1]#[0]" monoid functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux index 7cfe7943e..e8ce71290 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/new.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type type) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux index 16909a692..faff66f47 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/function/method/reset.lux @@ -1,9 +1,9 @@ -(.using +(.require [library [lux (.except Type type) [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [target [jvm ["[0]" method (.only Method)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux index 2196d5c3e..4dd8d10c4 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/host.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) ["[0]" ffi (.only import do_to object)] @@ -15,7 +15,7 @@ [binary (.only Binary) ["[0]" \\format]] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)]] [collection ["[0]" array] @@ -25,7 +25,7 @@ [jvm ["_" bytecode (.only Bytecode)] ["[0]" loader (.only Library)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" field (.only Field)] ["[0]" method (.only Method)] ["[0]" version] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux index 741098438..f95ac11cc 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -8,13 +8,13 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] [target [jvm - ["_" bytecode (.only Bytecode) (.open: "[1]#[0]" monad)]]]]] + ["_" bytecode (.only Bytecode) (.use "[1]#[0]" monad)]]]]] ["[0]" // ["[1][0]" runtime (.only Operation Phase Generator)] ["[1][0]" value] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux index 772482ec8..ad9b0e720 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) ["[0]" ffi (.only import)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux index 8a374a859..2a89c066d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) [abstract @@ -13,7 +13,7 @@ [target [jvm ["_" bytecode (.only Bytecode)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" method (.only Method)] ["[0]" version] ["[0]" class (.only Class)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux index fe905d1bc..b7428004d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -20,7 +20,7 @@ [// ["[0]" generation] [/// - ["[1]" phase (.open: "operation#[0]" monad)] + ["[1]" phase (.use "operation#[0]" monad)] [reference ["[0]" variable (.only Register Variable)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux index b52d18de3..fc28510ff 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Definition Label case false true try) [abstract @@ -11,7 +11,7 @@ [binary (.only Binary) ["[0]" \\format]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]] [text ["%" \\format (.only format)]]] @@ -25,7 +25,7 @@ [target ["[0]" jvm ["_" bytecode (.only Label Bytecode)] - ["[0]" modifier (.only Modifier) (.open: "[1]#[0]" monoid)] + ["[0]" modifier (.only Modifier) (.use "[1]#[0]" monoid)] ["[0]" field (.only Field)] ["[0]" method (.only Method)] ["[1]/[0]" version] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux index ec2c60d9f..2fa2147b5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Tuple) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/type.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/type.lux index 974fa4925..7dfbaf164 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/type.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux index d4f8b9a93..8421401c5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/jvm/value.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except Type Primitive type) [target [jvm ["_" bytecode (.only Bytecode)] - ["[0]" type (.only Type) (.open: "[1]#[0]" equivalence) + ["[0]" type (.only Type) (.use "[1]#[0]" equivalence) [category (.only Primitive)] ["[0]" box]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux index f0965920a..686747752 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -28,7 +28,7 @@ [analysis (.only)] ["[0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux index 418694f74..5d87b83d7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case exec let if) [abstract @@ -7,7 +7,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern]] @@ -30,7 +30,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux index 3454cfe52..d23070fc8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label function) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" lua (.only Var Expression Label Statement)]]]] ["[0]" // @@ -23,7 +23,7 @@ ["[1][0]" generation] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive ["[0]" unit]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux index 4878f0b72..53ab302e9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label Scope) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux index d6104a879..0b5be3e97 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux index 47df3bed5..8ebc27887 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux index a287bf380..e23a2c50d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Label Location left right) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux index 128bedbbe..dd87319b7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/lua/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Tuple Variant) [abstract @@ -13,7 +13,7 @@ [analysis [complex (.only Variant Tuple)]] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple phase archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux index 5a1e5294c..f70ea250f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -25,7 +25,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux index da294881a..8fdaeabc9 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case let if) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern]] @@ -32,7 +32,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux index eac649c9c..1d1c8473f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux index fd5202409..5ad80978c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/extension/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux index 5a07d5032..d353cb535 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Global function) [abstract @@ -10,7 +10,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" php (.only Var Global Expression Argument Label Statement)]]]] ["[0]" // @@ -25,7 +25,7 @@ ["[1][0]" generation (.only Context)] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference [variable (.only Register Variable)]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux index c495d5a12..4a80287a7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set (.only Set)]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux index b88e520c8..8a8b6e9b8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [math diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux index 8d723c451..28164075c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux index 425dee836..27e557f1f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux index 2cc580fe5..749ba0f5d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/php/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -15,7 +15,7 @@ [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple expression archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux index f51b79f96..eba1868c0 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -28,7 +28,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux index 48ab895d4..9b7ad5575 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case exec let if symbol) [abstract @@ -7,7 +7,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern]] @@ -34,7 +34,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)] ["[0]" cache diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux index ca93b78d7..efbc2ca8c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" python (.only SVar Expression Statement)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux index def965231..6ef7dd75d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux index 7e565f3fe..14ced2e59 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux index 8786e5309..673eb78cf 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux index 5c984981b..41fbd5f78 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except ++ left right) [abstract @@ -9,12 +9,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux index cd9fe5bee..76dcc39ec 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/python/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Tuple) [abstract @@ -13,7 +13,7 @@ [complex (.only Variant Tuple)]] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple generate archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux index b73d54264..cb2ccd087 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -23,7 +23,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux index ff52e460e..ac0a29c7e 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case let if) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern] @@ -33,7 +33,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux index d0933505c..eecc00423 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -10,7 +10,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" r (.only Expression SVar)]]]] ["[0]" // @@ -25,7 +25,7 @@ ["[1][0]" generation (.only Context)] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference [variable (.only Register Variable)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux index a3b660bd8..10994fbca 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set (.only Set)]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux index 1bbd9332c..07ed2ccc8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux index 62d2f235b..32bc797c5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/common.lux @@ -1,4 +1,4 @@ -(.using +(.require lux (lux (control [library [monad (.only do)]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux index fcc48447c..0201e556d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/procedure/host.lux @@ -1,4 +1,4 @@ -(.using +(.require lux (lux (control [library [monad (.only do)]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux index 4cc1f49ba..5097a3c80 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux index ff87c9113..ea448fa0a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location ++ i64) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] @@ -23,7 +23,7 @@ [math [number (.only hex) ["n" nat] - ["i" int (.open: "[1]#[0]" interval)] + ["i" int (.use "[1]#[0]" interval)] ["[0]" i64]]] ["@" target (.only) ["_" r (.only SVar Expression)]]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux index 5e376dd1f..70ff1a0f8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/r/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -15,7 +15,7 @@ [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple expression archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux index 5ee5957eb..62f559549 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) ["@" target] @@ -10,7 +10,7 @@ ["[0]" //// ["[1][0]" generation] ["//[1]" /// - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] ["[0]" reference (.only Reference) ["[0]" variable (.only Register Variable)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux index 8cc7466cc..e64b543c1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -28,7 +28,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux index bd9e27049..9e85dd63f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case exec let if symbol) [abstract @@ -9,7 +9,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern]] @@ -36,7 +36,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux index 67fd28d7b..b22497918 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -8,7 +8,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [target ["_" ruby (.only LVar GVar Expression Statement)]]]] ["[0]" // diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux index 693f5a46d..46b743b34 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope symbol) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux index eebaa01d5..609e7683c 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux index b29560a21..d0d6399dc 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux index 7d5b9d6b4..f1af54d33 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64 left right) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] @@ -23,7 +23,7 @@ [math [number (.only hex) ["[0]" i64] - ["[0]" int (.open: "[1]#[0]" interval)]]] + ["[0]" int (.use "[1]#[0]" interval)]]] ["@" target (.only) ["_" ruby (.only Expression LVar Computation Literal Statement)]]]] ["[0]" /// diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux index 3cdbd9591..2438ada4a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/ruby/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Tuple) [abstract @@ -13,7 +13,7 @@ [complex (.only Variant Tuple)]] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple generate archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux index b6a3a5842..35c505b59 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -23,7 +23,7 @@ [analysis (.only)] ["[1][0]" synthesis] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux index f492d94df..5f07b07e7 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except case let if) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern] @@ -33,7 +33,7 @@ ["//[1]" /// [reference ["[1][0]" variable (.only Register)]] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta [archive (.only Archive)]]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux index eac649c9c..1d1c8473f 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux index 815a712b3..50cdca756 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/extension/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -13,7 +13,7 @@ [number (.only hex) ["f" frac]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["dict" dictionary (.only Dictionary)]]] ["[0]" macro (.only with_symbols) ["[0]" code] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux index 8f07bec50..00ebc8b7d 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) [abstract @@ -10,7 +10,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [target ["_" scheme (.only Expression Computation Var)]]]] ["[0]" // @@ -25,7 +25,7 @@ ["[1][0]" generation (.only Context)] ["//[1]" /// [arity (.only Arity)] - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference [variable (.only Register Variable)]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux index cd2ebc5af..04fe3dfde 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope) [abstract @@ -8,7 +8,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set (.only Set)]]] [math [number diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux index cba7e79d6..b670b2868 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except i64) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux index cef4fe09f..84dac3329 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux index 8d145794e..746cf6aff 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location) ["[0]" meta] @@ -10,12 +10,12 @@ ["<[0]>" code]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux index fec696893..d736f2371 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/generation/scheme/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -15,7 +15,7 @@ [analysis (.only Variant Tuple)] ["[1][0]" synthesis (.only Synthesis)] ["//[1]" /// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]) (def .public (tuple expression archive elemsS+) (Generator (Tuple Synthesis)) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux index 3e7102696..69c424b5b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -8,7 +8,7 @@ ["[0]" try]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]]]] @@ -25,7 +25,7 @@ ["[2][0]" simple] ["[2][0]" complex]] [/// - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] [reference (.only) [variable (.only)]]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux index 4f772b16c..a2a43f7d5 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -8,10 +8,10 @@ ["[0]" pipe]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" functor mix monoid)] + ["[0]" list (.use "[1]#[0]" functor mix monoid)] ["[0]" set (.only Set)]]] [macro ["^" pattern]] @@ -31,7 +31,7 @@ ["[2][0]" side] ["[2][0]" member (.only Member)]]] [/// - ["[1]" phase (.open: "[1]#[0]" monad)] + ["[1]" phase (.use "[1]#[0]" monad)] ["[1][0]" reference (.only) ["[1]/[0]" variable (.only Register Variable)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux index 89af418b6..1ab4fbd2b 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -6,13 +6,13 @@ ["[0]" enum]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [macro ["^" pattern]] [math @@ -26,7 +26,7 @@ ["/" synthesis (.only Path Abstraction Synthesis Operation Phase)] [/// [arity (.only Arity)] - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] ["[1][0]" reference (.only) ["[1]/[0]" variable (.only Register Variable)]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux index f3c5fb252..e31a5ca84 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/loop.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except) [abstract ["[0]" monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data [collection ["[0]" list]]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux index 1ca58edd0..29837c146 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/synthesis/variable.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except) [abstract ["[0]" monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data @@ -13,7 +13,7 @@ ["%" \\format]] [collection ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" set]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/program.lux b/stdlib/source/library/lux/tool/compiler/language/lux/program.lux index 625448c47..34b894a90 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/program.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,7 +12,7 @@ [text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]]]] + ["[0]" list (.use "[1]#[0]" functor)]]]]] [//// [meta ["[0]" archive (.only Archive) diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux index 054c8eeb2..840502786 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux @@ -24,7 +24,7 @@ ... Lux Code nodes/tokens are annotated with location meta-data ... [file-name, line, column] to keep track of their provenance and ... location, which is helpful for documentation and debugging. -(.using +(.require [library [lux (.except prelude) ["@" target] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux index 722029eb2..74a7e41a1 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Scope i64) [abstract @@ -11,11 +11,11 @@ [data ["[0]" sum] ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only Format format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux index 76c9a0400..179a48ca8 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/member.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/member.lux index ec159b99a..2618b1421 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/member.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/member.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/side.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/side.lux index df1bda351..0e1f79079 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/side.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/access/side.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/simple.lux b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/simple.lux index 3774c0319..ce183bf7a 100644 --- a/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/simple.lux +++ b/stdlib/source/library/lux/tool/compiler/language/lux/synthesis/simple.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -7,14 +7,14 @@ [control ["[0]" pipe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]]] [macro ["^" pattern]] [math [number - ["[0]" i64 (.open: "[1]#[0]" equivalence)] + ["[0]" i64 (.use "[1]#[0]" equivalence)] ["n" nat] ["i" int] ["f" frac]]]]]) diff --git a/stdlib/source/library/lux/tool/compiler/meta.lux b/stdlib/source/library/lux/tool/compiler/meta.lux index ef6e71986..00e782b29 100644 --- a/stdlib/source/library/lux/tool/compiler/meta.lux +++ b/stdlib/source/library/lux/tool/compiler/meta.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/archive.lux index b3b213099..4bdbb734f 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module has) [abstract @@ -18,13 +18,13 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" set] ["[0]" sequence (.only Sequence)]]] [math [number - ["n" nat (.open: "[1]#[0]" equivalence)]]] + ["n" nat (.use "[1]#[0]" equivalence)]]] [type [primitive (.except)]]]] [/ diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux index 252776c37..77a4410d1 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact/category.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact/category.lux index d9801694c..43ae87386 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/artifact/category.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/artifact/category.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Definition) [abstract @@ -7,7 +7,7 @@ ["[0]" maybe]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux index 0e35d6528..0e26e7718 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/key.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/module.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/module.lux index 4e2757bb8..76822e0e1 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/module.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module)]] [/ diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux index 92e8dcc60..b3fc0fb09 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/module/descriptor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux index fe4977e8d..d7ccc2a33 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/module/document.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -16,7 +16,7 @@ [type (.only sharing) [primitive (.except)]]]] [/// - ["[0]" signature (.only Signature) (.open: "[1]#[0]" equivalence)] + ["[0]" signature (.only Signature) (.use "[1]#[0]" equivalence)] ["[0]" key (.only Key)]]) (exception: .public (invalid_signature [expected Signature diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux index 9f23cad2e..7949df255 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/registry.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -6,7 +6,7 @@ [control ["<>" parser] ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data ["[0]" product] @@ -18,7 +18,7 @@ [collection [set (.only Set)] ["[0]" list] - ["[0]" sequence (.only Sequence) (.open: "[1]#[0]" functor mix)] + ["[0]" sequence (.only Sequence) (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux index 075e12c77..beb776044 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/signature.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux b/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux index 937f87043..175dda1d4 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/archive/unit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache.lux b/stdlib/source/library/lux/tool/compiler/meta/cache.lux index 0ebd1e7d5..fb4085f0e 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux index 8876e3e77..4174ebbe6 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/archive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux index 69c131082..216a07d76 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [target (.only Target)] diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/artifact.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/artifact.lux index 5640bdd7e..4a1572890 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/artifact.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/artifact.lux @@ -1,5 +1,5 @@ ... https://en.wikipedia.org/wiki/Tree_shaking -(.using +(.require [library [lux (.except all) [abstract @@ -8,7 +8,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" monoid mix monad)] + ["[0]" list (.use "[1]#[0]" monoid mix monad)] ["[0]" set (.only Set)] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence]]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux index bdb09274d..8b3dbdcfc 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/dependency/module.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except) [abstract ["[0]" monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" state] [function @@ -13,7 +13,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)]]]]] [//// diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux index ea6c1a660..b261c7c04 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -11,10 +11,10 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] [world ["[0]" file]]]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux b/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux index d538861e6..afa78e37d 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cache/purge.lux @@ -1,17 +1,17 @@ -(.using +(.require [library [lux (.except) [abstract [predicate (.only Predicate)] ["[0]" monad (.only Monad do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" mix functor)] + ["[0]" list (.use "[1]#[0]" mix functor)] ["[0]" dictionary (.only Dictionary)] ["[0]" set]]] [math diff --git a/stdlib/source/library/lux/tool/compiler/meta/cli.lux b/stdlib/source/library/lux/tool/compiler/meta/cli.lux index 76c30f475..3c502b3c7 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cli.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module Source) [abstract @@ -14,7 +14,7 @@ ["%" \\format] ["<[1]>" \\parser]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux b/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux index e8c4196dd..7e3a4a569 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/cli/compiler.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except parameter) [abstract @@ -12,7 +12,7 @@ ["%" \\format] ["<[1]>" \\parser (.only Parser)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number (.only hex)]] [meta diff --git a/stdlib/source/library/lux/tool/compiler/meta/context.lux b/stdlib/source/library/lux/tool/compiler/meta/context.lux index a2126c773..17258fa87 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/context.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/context.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target (.only Target)] diff --git a/stdlib/source/library/lux/tool/compiler/meta/export.lux b/stdlib/source/library/lux/tool/compiler/meta/export.lux index aab3dae55..4b0621fb9 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/export.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/export.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except Source) [abstract ["[0]" monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" monad)] + ["[0]" try (.only Try) (.use "[1]#[0]" monad)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" functor)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" functor)]]] [data ["[0]" text (.only) ["%" \\format (.only format)]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/import.lux b/stdlib/source/library/lux/tool/compiler/meta/import.lux index d653afbac..562904334 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/import.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/import.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/meta/io.lux b/stdlib/source/library/lux/tool/compiler/meta/io.lux index 374e71ef3..9274c9c1c 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Code) [data diff --git a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux index 2cef8ada4..2ee82990e 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/archive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target (.only Target)] @@ -8,16 +8,16 @@ ["<>" parser] ["[0]" try (.only Try)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data ["[0]" product] ["[0]" binary (.only Binary) ["<[1]>" \\parser (.only Parser)]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection [set (.only Set)] - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" sequence (.only Sequence)]]] [macro diff --git a/stdlib/source/library/lux/tool/compiler/meta/io/context.lux b/stdlib/source/library/lux/tool/compiler/meta/io/context.lux index e79b60e7b..9909f8a5d 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/io/context.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/io/context.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module Code) ["@" target] @@ -10,10 +10,10 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data [binary (.only Binary)] - ["[0]" text (.open: "[1]#[0]" hash) + ["[0]" text (.use "[1]#[0]" hash) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager.lux b/stdlib/source/library/lux/tool/compiler/meta/packager.lux index 759cb26a5..59d28df77 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control @@ -9,7 +9,7 @@ [collection [dictionary (.only Dictionary)] ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [world ["[0]" file]]]] [// diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux index ddc522426..2ff0b2d95 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/jvm.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except Module Definition) ["[0]" ffi (.only import do_to)] [abstract ["[0]" monad (.only Monad do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)]] [data ["[0]" binary (.only Binary)] @@ -13,7 +13,7 @@ ["%" \\format (.only format)]] [collection ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary] ["[0]" set (.only Set)]]] [math diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux index cc5938094..c59a31672 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type (.only sharing)] @@ -15,7 +15,7 @@ ["[0]" utf8]]] [collection ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)]]] [math diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux index 70f595ff4..a574aab07 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/scheme.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module) [type (.only sharing)] @@ -15,7 +15,7 @@ ["[0]" encoding]] [collection ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" set]] [format diff --git a/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux b/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux index d68c344e5..042b0fcdb 100644 --- a/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux +++ b/stdlib/source/library/lux/tool/compiler/meta/packager/script.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type (.only sharing)] @@ -16,7 +16,7 @@ [collection ["[0]" sequence] ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" functor)]]]]] + ["[0]" list (.use "[1]#[0]" functor)]]]]] ["[0]" // (.only Packager) [// ["[0]" archive (.only Output) diff --git a/stdlib/source/library/lux/tool/compiler/phase.lux b/stdlib/source/library/lux/tool/compiler/phase.lux index c2aa03feb..f27b3a5e3 100644 --- a/stdlib/source/library/lux/tool/compiler/phase.lux +++ b/stdlib/source/library/lux/tool/compiler/phase.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except except with) [abstract @@ -6,7 +6,7 @@ [monad (.only Monad do)]] [control ["[0]" state] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only Exception)] ["[0]" io]] [data diff --git a/stdlib/source/library/lux/tool/compiler/reference.lux b/stdlib/source/library/lux/tool/compiler/reference.lux index 9701fbf11..116d4bf62 100644 --- a/stdlib/source/library/lux/tool/compiler/reference.lux +++ b/stdlib/source/library/lux/tool/compiler/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/reference/variable.lux b/stdlib/source/library/lux/tool/compiler/reference/variable.lux index 7dd3cdc4c..bb93abe4b 100644 --- a/stdlib/source/library/lux/tool/compiler/reference/variable.lux +++ b/stdlib/source/library/lux/tool/compiler/reference/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/tool/compiler/version.lux b/stdlib/source/library/lux/tool/compiler/version.lux index 1c8b12785..2fd579803 100644 --- a/stdlib/source/library/lux/tool/compiler/version.lux +++ b/stdlib/source/library/lux/tool/compiler/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/tool/interpreter.lux b/stdlib/source/library/lux/tool/interpreter.lux index da8c16991..ffad15a59 100644 --- a/stdlib/source/library/lux/tool/interpreter.lux +++ b/stdlib/source/library/lux/tool/interpreter.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control @@ -6,7 +6,7 @@ ["[0]" try (.only Try)] ["ex" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [type (.only sharing) ["[0]" check]] diff --git a/stdlib/source/library/lux/tool/mediator.lux b/stdlib/source/library/lux/tool/mediator.lux index 296639661..2d41358ad 100644 --- a/stdlib/source/library/lux/tool/mediator.lux +++ b/stdlib/source/library/lux/tool/mediator.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Source Module) [world diff --git a/stdlib/source/library/lux/type.lux b/stdlib/source/library/lux/type.lux index 933d0e03c..5fd9c1cc7 100644 --- a/stdlib/source/library/lux/type.lux +++ b/stdlib/source/library/lux/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function as let) ["@" target] @@ -13,20 +13,20 @@ ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid equivalence)] + ["[0]" text (.use "[1]#[0]" monoid equivalence)] [collection ["[0]" array] - ["[0]" list (.open: "[1]#[0]" monad monoid mix)]]] + ["[0]" list (.use "[1]#[0]" monad monoid mix)]]] ["[0]" macro (.only) [syntax (.only syntax)] ["^" pattern] ["[0]" code]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]] + ["n" nat (.use "[1]#[0]" decimal)]]] ["[0]" meta (.only) ["[0]" location] - ["[0]" symbol (.open: "[1]#[0]" equivalence codec)]]]]) + ["[0]" symbol (.use "[1]#[0]" equivalence codec)]]]]) (with_template [<name> <tag>] [(def .public (<name> type) diff --git a/stdlib/source/library/lux/type/check.lux b/stdlib/source/library/lux/type/check.lux index 7241146ec..0c91e0c24 100644 --- a/stdlib/source/library/lux/type/check.lux +++ b/stdlib/source/library/lux/type/check.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except try except with) ["@" target] @@ -12,16 +12,16 @@ ["[0]" exception (.only Exception exception:)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" monoid equivalence)] + ["[0]" text (.use "[1]#[0]" monoid equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" set (.only Set)]]] [macro ["^" pattern]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]]]] - ["[0]" // (.open: "[1]#[0]" equivalence)]) + ["n" nat (.use "[1]#[0]" decimal)]]]]] + ["[0]" // (.use "[1]#[0]" equivalence)]) (def !n#= (template (_ reference subject) @@ -132,7 +132,7 @@ ))) )) -(open: "check#[0]" ..monad) +(use "check#[0]" ..monad) (def (var::new id plist) (-> Var Type_Vars Type_Vars) diff --git a/stdlib/source/library/lux/type/dynamic.lux b/stdlib/source/library/lux/type/dynamic.lux index 169e16464..9c41cffff 100644 --- a/stdlib/source/library/lux/type/dynamic.lux +++ b/stdlib/source/library/lux/type/dynamic.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except static) ["[0]" debug] diff --git a/stdlib/source/library/lux/type/implicit.lux b/stdlib/source/library/lux/type/implicit.lux index fb06527c8..733760bf5 100644 --- a/stdlib/source/library/lux/type/implicit.lux +++ b/stdlib/source/library/lux/type/implicit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) [abstract @@ -11,10 +11,10 @@ ["<[0]>" code (.only Parser)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad mix)] + ["[0]" list (.use "[1]#[0]" monad mix)] ["[0]" dictionary (.only Dictionary)]]] ["[0]" macro (.only) ["[0]" code] @@ -23,7 +23,7 @@ ["[0]" number (.only) ["n" nat]]] ["[0]" meta] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check (.only Check)]]]]) (def (type_var id env) diff --git a/stdlib/source/library/lux/type/poly.lux b/stdlib/source/library/lux/type/poly.lux index 997c7b65f..1555bfe9a 100644 --- a/stdlib/source/library/lux/type/poly.lux +++ b/stdlib/source/library/lux/type/poly.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -7,14 +7,14 @@ ["[0]" monad (.only do)]] [control ["[0]" maybe] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" type (.only Env)] ["<[0]>" code (.only Parser)]]] [data ["[0]" product] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary]]] [macro (.only with_symbols) [syntax (.only syntax)] diff --git a/stdlib/source/library/lux/type/primitive.lux b/stdlib/source/library/lux/type/primitive.lux index 274e07b32..52655b950 100644 --- a/stdlib/source/library/lux/type/primitive.lux +++ b/stdlib/source/library/lux/type/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -6,19 +6,19 @@ [monad (.only Monad do)]] [control ["[0]" exception (.only exception:)] - ["<>" parser (.open: "[1]#[0]" monad) + ["<>" parser (.use "[1]#[0]" monad) ["<[0]>" code (.only Parser)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence monoid)] + ["[0]" text (.use "[1]#[0]" equivalence monoid)] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [macro ["^" pattern] ["[0]" code] [syntax (.only syntax) ["|[0]|" export]]] [meta - ["[0]" symbol (.open: "[1]#[0]" codec)]]]] + ["[0]" symbol (.use "[1]#[0]" codec)]]]] ["[0]" //]) (type: Stack diff --git a/stdlib/source/library/lux/type/quotient.lux b/stdlib/source/library/lux/type/quotient.lux index 355e14d0e..bec09aeeb 100644 --- a/stdlib/source/library/lux/type/quotient.lux +++ b/stdlib/source/library/lux/type/quotient.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [abstract diff --git a/stdlib/source/library/lux/type/refinement.lux b/stdlib/source/library/lux/type/refinement.lux index 5b1cec8db..4292f771c 100644 --- a/stdlib/source/library/lux/type/refinement.lux +++ b/stdlib/source/library/lux/type/refinement.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type only) [abstract diff --git a/stdlib/source/library/lux/type/resource.lux b/stdlib/source/library/lux/type/resource.lux index c906fc13e..dd1421e6a 100644 --- a/stdlib/source/library/lux/type/resource.lux +++ b/stdlib/source/library/lux/type/resource.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" meta] @@ -16,7 +16,7 @@ [collection ["[0]" set] ["[0]" sequence (.only Sequence)] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] ["[0]" macro (.only) [syntax (.only syntax)]] [math diff --git a/stdlib/source/library/lux/type/unit.lux b/stdlib/source/library/lux/type/unit.lux index ba76121f0..1b63245bf 100644 --- a/stdlib/source/library/lux/type/unit.lux +++ b/stdlib/source/library/lux/type/unit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [abstract diff --git a/stdlib/source/library/lux/type/unit/scale.lux b/stdlib/source/library/lux/type/unit/scale.lux index efca489a0..c4aa8cbba 100644 --- a/stdlib/source/library/lux/type/unit/scale.lux +++ b/stdlib/source/library/lux/type/unit/scale.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [control diff --git a/stdlib/source/library/lux/type/variance.lux b/stdlib/source/library/lux/type/variance.lux index 53797fc61..68c9b4af3 100644 --- a/stdlib/source/library/lux/type/variance.lux +++ b/stdlib/source/library/lux/type/variance.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [meta diff --git a/stdlib/source/library/lux/world/console.lux b/stdlib/source/library/lux/world/console.lux index b5cc2db91..3017f0ba0 100644 --- a/stdlib/source/library/lux/world/console.lux +++ b/stdlib/source/library/lux/world/console.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -7,11 +7,11 @@ [monad (.only do)]] [control ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["[0]" io (.only IO io) (.open: "[1]#[0]" functor)] + ["[0]" io (.only IO io) (.use "[1]#[0]" functor)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)] ["[0]" atom]]] [data ["[0]" text (.only Char) diff --git a/stdlib/source/library/lux/world/db/jdbc.lux b/stdlib/source/library/lux/world/db/jdbc.lux index 243ced2bf..dca7d1581 100644 --- a/stdlib/source/library/lux/world/db/jdbc.lux +++ b/stdlib/source/library/lux/world/db/jdbc.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and int) [control @@ -8,7 +8,7 @@ ["[0]" try (.only Try)] ["ex" exception] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]] [security ["!" capability (.only capability:)]]] [data diff --git a/stdlib/source/library/lux/world/db/jdbc/input.lux b/stdlib/source/library/lux/world/db/jdbc/input.lux index c0e48dec4..d691dd330 100644 --- a/stdlib/source/library/lux/world/db/jdbc/input.lux +++ b/stdlib/source/library/lux/world/db/jdbc/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and int) [ffi (.only import)] diff --git a/stdlib/source/library/lux/world/db/jdbc/output.lux b/stdlib/source/library/lux/world/db/jdbc/output.lux index a844ac78a..1cfd859e2 100644 --- a/stdlib/source/library/lux/world/db/jdbc/output.lux +++ b/stdlib/source/library/lux/world/db/jdbc/output.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and int) [ffi (.only import)] diff --git a/stdlib/source/library/lux/world/db/sql.lux b/stdlib/source/library/lux/world/db/sql.lux index 5dd75c61e..90b27d4e6 100644 --- a/stdlib/source/library/lux/world/db/sql.lux +++ b/stdlib/source/library/lux/world/db/sql.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Source Definition function and or not type int) [control @@ -6,10 +6,10 @@ [data [number ["i" int]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" template]] [type diff --git a/stdlib/source/library/lux/world/file.lux b/stdlib/source/library/lux/world/file.lux index 17bc128e1..f67b82bc7 100644 --- a/stdlib/source/library/lux/world/file.lux +++ b/stdlib/source/library/lux/world/file.lux @@ -1,4 +1,4 @@ -(.`` (.`` (.using +(.`` (.`` (.require [library [lux (.except open) ["@" target] @@ -6,23 +6,23 @@ ["[0]" monad (.only Monad do)]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] - ["[0]" io (.only IO) (.open: "[1]#[0]" functor)] + ["[0]" io (.only IO) (.use "[1]#[0]" functor)] ["[0]" function] [concurrency ["[0]" async (.only Async)] ["[0]" stm (.only Var STM)]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" product] ["[0]" binary (.only Binary)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)]]] ["[0]" ffi (.only) (.~~ (.for "JavaScript" (.~~ (.these ["[0]" node_js])) diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux index d756ed11c..0b2ae94fe 100644 --- a/stdlib/source/library/lux/world/file/watch.lux +++ b/stdlib/source/library/lux/world/file/watch.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["@" target] @@ -20,14 +20,14 @@ ["%" \\format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor monoid mix)] + ["[0]" list (.use "[1]#[0]" functor monoid mix)] ["[0]" set] ["[0]" array]]] [math [number ["n" nat]]] [time - ["[0]" instant (.only Instant) (.open: "[1]#[0]" equivalence)]] + ["[0]" instant (.only Instant) (.use "[1]#[0]" equivalence)]] [type [primitive (.only primitive representation abstraction)]]]] ["[0]" //]) diff --git a/stdlib/source/library/lux/world/input/keyboard.lux b/stdlib/source/library/lux/world/input/keyboard.lux index baaac2289..8adc006d5 100644 --- a/stdlib/source/library/lux/world/input/keyboard.lux +++ b/stdlib/source/library/lux/world/input/keyboard.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except left right)]]) diff --git a/stdlib/source/library/lux/world/net.lux b/stdlib/source/library/lux/world/net.lux index 1cc6b09a6..2daa67ac6 100644 --- a/stdlib/source/library/lux/world/net.lux +++ b/stdlib/source/library/lux/world/net.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Location)]]) diff --git a/stdlib/source/library/lux/world/net/http.lux b/stdlib/source/library/lux/world/net/http.lux index a39c3d371..8bb920891 100644 --- a/stdlib/source/library/lux/world/net/http.lux +++ b/stdlib/source/library/lux/world/net/http.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/world/net/http/client.lux b/stdlib/source/library/lux/world/net/http/client.lux index c23b58b95..333e4ed5a 100644 --- a/stdlib/source/library/lux/world/net/http/client.lux +++ b/stdlib/source/library/lux/world/net/http/client.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -8,7 +8,7 @@ [control ["[0]" pipe] ["[0]" io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] [concurrency ["[0]" async (.only Async)]] diff --git a/stdlib/source/library/lux/world/net/http/cookie.lux b/stdlib/source/library/lux/world/net/http/cookie.lux index 26ef5688a..c73ffb833 100644 --- a/stdlib/source/library/lux/world/net/http/cookie.lux +++ b/stdlib/source/library/lux/world/net/http/cookie.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except) [control [monad (.only do)] ["[0]" try (.only Try)] - ["p" parser (.open: "[1]#[0]" monad) + ["p" parser (.use "[1]#[0]" monad) ["l" text (.only Parser)]]] [data [number diff --git a/stdlib/source/library/lux/world/net/http/header.lux b/stdlib/source/library/lux/world/net/http/header.lux index a8bc408a0..21b00565a 100644 --- a/stdlib/source/library/lux/world/net/http/header.lux +++ b/stdlib/source/library/lux/world/net/http/header.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/world/net/http/mime.lux b/stdlib/source/library/lux/world/net/http/mime.lux index ff449a568..76a1fe51f 100644 --- a/stdlib/source/library/lux/world/net/http/mime.lux +++ b/stdlib/source/library/lux/world/net/http/mime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/library/lux/world/net/http/query.lux b/stdlib/source/library/lux/world/net/http/query.lux index 72f5c345d..2541a9c6d 100644 --- a/stdlib/source/library/lux/world/net/http/query.lux +++ b/stdlib/source/library/lux/world/net/http/query.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/library/lux/world/net/http/request.lux b/stdlib/source/library/lux/world/net/http/request.lux index 13c57ed23..e4c1eebb9 100644 --- a/stdlib/source/library/lux/world/net/http/request.lux +++ b/stdlib/source/library/lux/world/net/http/request.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control @@ -19,7 +19,7 @@ ["[0]" json (.only JSON) ["<[1]>" \\parser]]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary]]] [macro ["^" pattern]] diff --git a/stdlib/source/library/lux/world/net/http/response.lux b/stdlib/source/library/lux/world/net/http/response.lux index 277f21202..68e9fe674 100644 --- a/stdlib/source/library/lux/world/net/http/response.lux +++ b/stdlib/source/library/lux/world/net/http/response.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except static) [control [concurrency ["[0]" async] - ["[0]" frp (.open: "[1]#[0]" monad)]]] + ["[0]" frp (.use "[1]#[0]" monad)]]] [data ["[0]" text ["[0]" encoding]] @@ -12,7 +12,7 @@ ["[0]" html] ["[0]" css (.only CSS)] ["[0]" context] - ["[0]" json (.only JSON) (.open: "[1]#[0]" codec)]]] + ["[0]" json (.only JSON) (.use "[1]#[0]" codec)]]] ["[0]" io] [world ["[0]" binary (.only Binary)]]]] diff --git a/stdlib/source/library/lux/world/net/http/route.lux b/stdlib/source/library/lux/world/net/http/route.lux index d9f63d9ad..e4454432e 100644 --- a/stdlib/source/library/lux/world/net/http/route.lux +++ b/stdlib/source/library/lux/world/net/http/route.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except or) [control diff --git a/stdlib/source/library/lux/world/net/http/status.lux b/stdlib/source/library/lux/world/net/http/status.lux index dc2ff105f..3a6b2fc67 100644 --- a/stdlib/source/library/lux/world/net/http/status.lux +++ b/stdlib/source/library/lux/world/net/http/status.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// (.only Status)]) diff --git a/stdlib/source/library/lux/world/net/http/version.lux b/stdlib/source/library/lux/world/net/http/version.lux index 0cb62b627..aeaba736b 100644 --- a/stdlib/source/library/lux/world/net/http/version.lux +++ b/stdlib/source/library/lux/world/net/http/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] [// (.only Version)]) diff --git a/stdlib/source/library/lux/world/net/uri.lux b/stdlib/source/library/lux/world/net/uri.lux index ec7c8b984..ad7b61677 100644 --- a/stdlib/source/library/lux/world/net/uri.lux +++ b/stdlib/source/library/lux/world/net/uri.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]]) diff --git a/stdlib/source/library/lux/world/output/video/resolution.lux b/stdlib/source/library/lux/world/output/video/resolution.lux index ebe60cf6d..1e2f58ced 100644 --- a/stdlib/source/library/lux/world/output/video/resolution.lux +++ b/stdlib/source/library/lux/world/output/video/resolution.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/library/lux/world/program.lux b/stdlib/source/library/lux/world/program.lux index f45930389..3ac117ce2 100644 --- a/stdlib/source/library/lux/world/program.lux +++ b/stdlib/source/library/lux/world/program.lux @@ -1,4 +1,4 @@ -(.`` (.`` (.using +(.`` (.`` (.require [library [lux (.except) ["@" target] @@ -7,7 +7,7 @@ [control ["[0]" function] ["[0]" io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)] [concurrency @@ -16,13 +16,13 @@ [parser ["[0]" environment (.only Environment)]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format (.only format)]] [collection ["[0]" array (.only Array)] ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] ["[0]" ffi (.only import) (.~~ (.for "JavaScript" (.~~ (.these ["[0]" node_js])) "{old}" (.~~ (.these ["node_js" //math])) diff --git a/stdlib/source/library/lux/world/shell.lux b/stdlib/source/library/lux/world/shell.lux index 22ef8464b..57f622a46 100644 --- a/stdlib/source/library/lux/world/shell.lux +++ b/stdlib/source/library/lux/world/shell.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] @@ -25,7 +25,7 @@ ["[0]" utf8]]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" mix functor)] + ["[0]" list (.use "[1]#[0]" mix functor)] ["[0]" dictionary]]] [math [number (.only hex) diff --git a/stdlib/source/parser/lux/data/binary.lux b/stdlib/source/parser/lux/data/binary.lux index 117f07a34..61256d42a 100644 --- a/stdlib/source/parser/lux/data/binary.lux +++ b/stdlib/source/parser/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and or nat int rev list type symbol) [ffi (.only)] @@ -7,7 +7,7 @@ [hash (.only Hash)] [monad (.only do)]] [control - ["//" parser (.open: "[1]#[0]" monad)] + ["//" parser (.use "[1]#[0]" monad)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data diff --git a/stdlib/source/parser/lux/data/format/json.lux b/stdlib/source/parser/lux/data/format/json.lux index 2f54560e9..5d1c757bc 100644 --- a/stdlib/source/parser/lux/data/format/json.lux +++ b/stdlib/source/parser/lux/data/format/json.lux @@ -1,17 +1,17 @@ -(.using +(.require [library [lux (.except symbol) [abstract ["[0]" monad (.only do)]] [control - ["//" parser (.open: "[1]#[0]" functor)] + ["//" parser (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" equivalence monoid)] + ["[0]" text (.use "[1]#[0]" equivalence monoid)] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence] ["[0]" dictionary (.only Dictionary)]]] [macro diff --git a/stdlib/source/parser/lux/data/format/xml.lux b/stdlib/source/parser/lux/data/format/xml.lux index 6b2ddf79c..c71f3d20f 100644 --- a/stdlib/source/parser/lux/data/format/xml.lux +++ b/stdlib/source/parser/lux/data/format/xml.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [abstract [monad (.only do)]] [control ["//" parser] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data ["[0]" text @@ -14,7 +14,7 @@ ["[0]" list] ["[0]" dictionary]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence codec)]]]] + ["[0]" symbol (.use "[1]#[0]" equivalence codec)]]]] [\\library ["[0]" / (.only Attribute Attrs Tag XML)]]) diff --git a/stdlib/source/parser/lux/data/text.lux b/stdlib/source/parser/lux/data/text.lux index b6d86b35a..d18a01d6b 100644 --- a/stdlib/source/parser/lux/data/text.lux +++ b/stdlib/source/parser/lux/data/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except and not local) [abstract @@ -9,17 +9,17 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["/" text (.only Char) (.open: "[1]#[0]" monoid)] + ["/" text (.only Char) (.use "[1]#[0]" monoid)] ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro ["^" pattern] ["[0]" code] ["[0]" template]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)]]]]]) + ["n" nat (.use "[1]#[0]" decimal)]]]]]) (type: .public Offset Nat) diff --git a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux index eb2695e96..a8c00087d 100644 --- a/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/parser/lux/tool/compiler/language/lux/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except nat int rev local) [abstract @@ -12,7 +12,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux index 535e03cc0..fa2a7a3af 100644 --- a/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/parser/lux/tool/compiler/language/lux/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function loop i64 local) [abstract diff --git a/stdlib/source/polytypic/lux/abstract/equivalence.lux b/stdlib/source/polytypic/lux/abstract/equivalence.lux index 48accfa31..fce8d86bd 100644 --- a/stdlib/source/polytypic/lux/abstract/equivalence.lux +++ b/stdlib/source/polytypic/lux/abstract/equivalence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -10,10 +10,10 @@ [data ["[0]" product] ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" monoid) + ["[0]" text (.use "[1]#[0]" monoid) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" sequence] ["[0]" array] ["[0]" queue] @@ -24,7 +24,7 @@ ["[0]" code]] [math [number - ["[0]" nat (.open: "[1]#[0]" decimal)] + ["[0]" nat (.use "[1]#[0]" decimal)] ["[0]" int] ["[0]" rev] ["[0]" frac]]] diff --git a/stdlib/source/polytypic/lux/abstract/functor.lux b/stdlib/source/polytypic/lux/abstract/functor.lux index 07f2492cf..1ff6c0398 100644 --- a/stdlib/source/polytypic/lux/abstract/functor.lux +++ b/stdlib/source/polytypic/lux/abstract/functor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -12,7 +12,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad monoid)]]] + ["[0]" list (.use "[1]#[0]" monad monoid)]]] [macro ["[0]" code]] [math diff --git a/stdlib/source/polytypic/lux/data/format/json.lux b/stdlib/source/polytypic/lux/data/format/json.lux index 6c0f18430..8ce7112e3 100644 --- a/stdlib/source/polytypic/lux/data/format/json.lux +++ b/stdlib/source/polytypic/lux/data/format/json.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -16,7 +16,7 @@ [json ["</>" \\parser]]] [collection - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" sequence (.only sequence)] ["[0]" dictionary]]] [macro @@ -24,7 +24,7 @@ ["[0]" code]] [math [number - ["n" nat (.open: "[1]#[0]" decimal)] + ["n" nat (.use "[1]#[0]" decimal)] ["[0]" i64] ["[0]" int] ["[0]" frac]]] diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux index c763171c7..734a31c7c 100644 --- a/stdlib/source/program/aedifex.lux +++ b/stdlib/source/program/aedifex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) [program (.only program:)] @@ -8,12 +8,12 @@ [control ["[0]" io (.only IO)] ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] [parser [environment (.only Environment)]] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data [binary (.only Binary)] ["[0]" text (.only) @@ -25,7 +25,7 @@ [collection ["[0]" set] ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [tool [compiler [language diff --git a/stdlib/source/program/aedifex/action.lux b/stdlib/source/program/aedifex/action.lux index 1e2e25921..d1f388cca 100644 --- a/stdlib/source/program/aedifex/action.lux +++ b/stdlib/source/program/aedifex/action.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/artifact.lux b/stdlib/source/program/aedifex/artifact.lux index 3799bfb74..3b57b0734 100644 --- a/stdlib/source/program/aedifex/artifact.lux +++ b/stdlib/source/program/aedifex/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local) [abstract @@ -7,10 +7,10 @@ [hash (.only Hash)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" order) + ["[0]" text (.use "[1]#[0]" order) ["%" \\format (.only Format)]] [collection - ["[0]" list (.open: "[1]#[0]" monoid)]]] + ["[0]" list (.use "[1]#[0]" monoid)]]] [world ["[0]" file (.only Path)] [net diff --git a/stdlib/source/program/aedifex/artifact/extension.lux b/stdlib/source/program/aedifex/artifact/extension.lux index f78a4b963..e4e8e8a71 100644 --- a/stdlib/source/program/aedifex/artifact/extension.lux +++ b/stdlib/source/program/aedifex/artifact/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type) [data diff --git a/stdlib/source/program/aedifex/artifact/snapshot.lux b/stdlib/source/program/aedifex/artifact/snapshot.lux index 45b54e2cd..23eb701e8 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [abstract diff --git a/stdlib/source/program/aedifex/artifact/snapshot/build.lux b/stdlib/source/program/aedifex/artifact/snapshot/build.lux index 05570de3e..0ff1d45d9 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/build.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/build.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux b/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux index 1886b5b3e..7ebb79ac6 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/stamp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/artifact/snapshot/time.lux b/stdlib/source/program/aedifex/artifact/snapshot/time.lux index 87203845f..87d9c89c7 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/time.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/artifact/snapshot/version.lux b/stdlib/source/program/aedifex/artifact/snapshot/version.lux index 48af92b72..fdd97a517 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/version.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [abstract diff --git a/stdlib/source/program/aedifex/artifact/snapshot/version/value.lux b/stdlib/source/program/aedifex/artifact/snapshot/version/value.lux index c0b528186..0dd217a27 100644 --- a/stdlib/source/program/aedifex/artifact/snapshot/version/value.lux +++ b/stdlib/source/program/aedifex/artifact/snapshot/version/value.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/artifact/time.lux b/stdlib/source/program/aedifex/artifact/time.lux index 9e52e52ca..b4cf0dc02 100644 --- a/stdlib/source/program/aedifex/artifact/time.lux +++ b/stdlib/source/program/aedifex/artifact/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" time] diff --git a/stdlib/source/program/aedifex/artifact/time/date.lux b/stdlib/source/program/aedifex/artifact/time/date.lux index ba908f0af..f6ffea4d6 100644 --- a/stdlib/source/program/aedifex/artifact/time/date.lux +++ b/stdlib/source/program/aedifex/artifact/time/date.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -17,7 +17,7 @@ ["n" nat] ["i" int]]] [time - ["[0]" date (.open: "[1]#[0]" equivalence)] + ["[0]" date (.use "[1]#[0]" equivalence)] ["[0]" year] ["[0]" month]] [type diff --git a/stdlib/source/program/aedifex/artifact/time/time.lux b/stdlib/source/program/aedifex/artifact/time/time.lux index d02667bbc..5349a295f 100644 --- a/stdlib/source/program/aedifex/artifact/time/time.lux +++ b/stdlib/source/program/aedifex/artifact/time/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" time] diff --git a/stdlib/source/program/aedifex/artifact/type.lux b/stdlib/source/program/aedifex/artifact/type.lux index 971b8757a..cba533fdd 100644 --- a/stdlib/source/program/aedifex/artifact/type.lux +++ b/stdlib/source/program/aedifex/artifact/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type)]]) diff --git a/stdlib/source/program/aedifex/artifact/versioning.lux b/stdlib/source/program/aedifex/artifact/versioning.lux index 62a6e8fd2..e85833e70 100644 --- a/stdlib/source/program/aedifex/artifact/versioning.lux +++ b/stdlib/source/program/aedifex/artifact/versioning.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -16,7 +16,7 @@ ["[0]" xml (.only XML) ["<[1]>" \\parser (.only Parser)]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/program/aedifex/cli.lux b/stdlib/source/program/aedifex/cli.lux index c717313cd..8f7185db5 100644 --- a/stdlib/source/program/aedifex/cli.lux +++ b/stdlib/source/program/aedifex/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command.lux b/stdlib/source/program/aedifex/command.lux index 1dae4cffc..fc287b4f1 100644 --- a/stdlib/source/program/aedifex/command.lux +++ b/stdlib/source/program/aedifex/command.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except)]] ["[0]" // diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux index 81a1a855a..15d78527b 100644 --- a/stdlib/source/program/aedifex/command/auto.lux +++ b/stdlib/source/program/aedifex/command/auto.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux index d183b975b..83be613e3 100644 --- a/stdlib/source/program/aedifex/command/build.lux +++ b/stdlib/source/program/aedifex/command/build.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Lux) ["[0]" ffi (.only import)] @@ -6,17 +6,17 @@ [order (.only Order)] [monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)] ["[0]" io (.only IO)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" order) + ["[0]" text (.use "[1]#[0]" order) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)] ["[0]" set]]] [macro diff --git a/stdlib/source/program/aedifex/command/clean.lux b/stdlib/source/program/aedifex/command/clean.lux index de683bce1..40609f4d4 100644 --- a/stdlib/source/program/aedifex/command/clean.lux +++ b/stdlib/source/program/aedifex/command/clean.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command/deploy.lux b/stdlib/source/program/aedifex/command/deploy.lux index e432f5dac..c579f165a 100644 --- a/stdlib/source/program/aedifex/command/deploy.lux +++ b/stdlib/source/program/aedifex/command/deploy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command/deploy/release.lux b/stdlib/source/program/aedifex/command/deploy/release.lux index b709680ad..f41850d02 100644 --- a/stdlib/source/program/aedifex/command/deploy/release.lux +++ b/stdlib/source/program/aedifex/command/deploy/release.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi (.only import)] diff --git a/stdlib/source/program/aedifex/command/deploy/snapshot.lux b/stdlib/source/program/aedifex/command/deploy/snapshot.lux index dcfdc3ba4..0c490f23f 100644 --- a/stdlib/source/program/aedifex/command/deploy/snapshot.lux +++ b/stdlib/source/program/aedifex/command/deploy/snapshot.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command/deps.lux b/stdlib/source/program/aedifex/command/deps.lux index 682bec78c..f0a7b7a9e 100644 --- a/stdlib/source/program/aedifex/command/deps.lux +++ b/stdlib/source/program/aedifex/command/deps.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -10,7 +10,7 @@ [data [collection ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" dictionary]] [text ["%" \\format]]] diff --git a/stdlib/source/program/aedifex/command/install.lux b/stdlib/source/program/aedifex/command/install.lux index f42a8fd65..93bab2d47 100644 --- a/stdlib/source/program/aedifex/command/install.lux +++ b/stdlib/source/program/aedifex/command/install.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/command/pom.lux b/stdlib/source/program/aedifex/command/pom.lux index f156e6f6b..71d8a9223 100644 --- a/stdlib/source/program/aedifex/command/pom.lux +++ b/stdlib/source/program/aedifex/command/pom.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except) [abstract [monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data [text ["%" \\format (.only format)] diff --git a/stdlib/source/program/aedifex/command/test.lux b/stdlib/source/program/aedifex/command/test.lux index c4eb94274..21155222d 100644 --- a/stdlib/source/program/aedifex/command/test.lux +++ b/stdlib/source/program/aedifex/command/test.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -6,7 +6,7 @@ [control [try (.only Try)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data [collection ["[0]" dictionary]]] diff --git a/stdlib/source/program/aedifex/command/version.lux b/stdlib/source/program/aedifex/command/version.lux index 68293c94c..83d13af8a 100644 --- a/stdlib/source/program/aedifex/command/version.lux +++ b/stdlib/source/program/aedifex/command/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [control diff --git a/stdlib/source/program/aedifex/dependency.lux b/stdlib/source/program/aedifex/dependency.lux index 92fe6b7ce..b5d251167 100644 --- a/stdlib/source/program/aedifex/dependency.lux +++ b/stdlib/source/program/aedifex/dependency.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [abstract @@ -7,10 +7,10 @@ [hash (.only Hash)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" order) + ["[0]" text (.use "[1]#[0]" order) ["%" \\format (.only format)]]]]] ["[0]" // - ["[1]" artifact (.only Artifact) (.open: "[1]#[0]" order) + ["[1]" artifact (.only Artifact) (.use "[1]#[0]" order) [type (.only Type)]]]) (type: .public Dependency diff --git a/stdlib/source/program/aedifex/dependency/deployment.lux b/stdlib/source/program/aedifex/dependency/deployment.lux index 85dd6fa2d..6a2c64817 100644 --- a/stdlib/source/program/aedifex/dependency/deployment.lux +++ b/stdlib/source/program/aedifex/dependency/deployment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) [abstract @@ -18,7 +18,7 @@ [collection ["[0]" dictionary] ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" monoid)]]] + ["[0]" list (.use "[1]#[0]" monoid)]]] [time ["[0]" instant (.only Instant)]]]] ["[0]" /// diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index dc647464a..7145a1ffe 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["@" target] @@ -11,7 +11,7 @@ ["[0]" predicate (.only Predicate)]] [control ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only Exception exception:)] [concurrency ["[0]" async (.only Async)]]] @@ -27,7 +27,7 @@ [collection ["[0]" dictionary (.only Dictionary)] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor monoid)]]] + ["[0]" list (.use "[1]#[0]" functor monoid)]]] [math [number ["n" nat] diff --git a/stdlib/source/program/aedifex/dependency/status.lux b/stdlib/source/program/aedifex/dependency/status.lux index b8a962142..f3355b418 100644 --- a/stdlib/source/program/aedifex/dependency/status.lux +++ b/stdlib/source/program/aedifex/dependency/status.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/format.lux b/stdlib/source/program/aedifex/format.lux index cd10c675f..ac1cf8916 100644 --- a/stdlib/source/program/aedifex/format.lux +++ b/stdlib/source/program/aedifex/format.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" monad)] + ["[0]" list (.use "[1]#[0]" monad)] ["[0]" set (.only Set)]]] [macro ["[0]" code] diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux index 5d5890c3a..d114b957e 100644 --- a/stdlib/source/program/aedifex/hash.lux +++ b/stdlib/source/program/aedifex/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi (.only import)] diff --git a/stdlib/source/program/aedifex/input.lux b/stdlib/source/program/aedifex/input.lux index 99dc93542..0cbe189b0 100644 --- a/stdlib/source/program/aedifex/input.lux +++ b/stdlib/source/program/aedifex/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/local.lux b/stdlib/source/program/aedifex/local.lux index a6236a469..157cb24eb 100644 --- a/stdlib/source/program/aedifex/local.lux +++ b/stdlib/source/program/aedifex/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/program/aedifex/metadata.lux b/stdlib/source/program/aedifex/metadata.lux index 3ba470501..2608d146c 100644 --- a/stdlib/source/program/aedifex/metadata.lux +++ b/stdlib/source/program/aedifex/metadata.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [data diff --git a/stdlib/source/program/aedifex/metadata/artifact.lux b/stdlib/source/program/aedifex/metadata/artifact.lux index 9bbb002bb..ddc9e3200 100644 --- a/stdlib/source/program/aedifex/metadata/artifact.lux +++ b/stdlib/source/program/aedifex/metadata/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -21,7 +21,7 @@ ["[0]" xml (.only XML) ["<[1]>" \\parser (.only Parser)]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/program/aedifex/metadata/snapshot.lux b/stdlib/source/program/aedifex/metadata/snapshot.lux index 1ea744765..b5cbeb2a7 100644 --- a/stdlib/source/program/aedifex/metadata/snapshot.lux +++ b/stdlib/source/program/aedifex/metadata/snapshot.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type) [abstract @@ -22,7 +22,7 @@ ["[0]" xml (.only XML) ["<[1]>" \\parser (.only Parser)]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math [number ["n" nat]]] diff --git a/stdlib/source/program/aedifex/package.lux b/stdlib/source/program/aedifex/package.lux index 46a40927b..6484c5e3e 100644 --- a/stdlib/source/program/aedifex/package.lux +++ b/stdlib/source/program/aedifex/package.lux @@ -1,10 +1,10 @@ -(.using +(.require [library [lux (.except local) [abstract [equivalence (.only Equivalence)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data ["[0]" sum] ["[0]" product] diff --git a/stdlib/source/program/aedifex/parser.lux b/stdlib/source/program/aedifex/parser.lux index 435e0fb79..6bedce20b 100644 --- a/stdlib/source/program/aedifex/parser.lux +++ b/stdlib/source/program/aedifex/parser.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except Module type) [abstract [monad (.only do)]] [control ["[0]" maybe] - ["<>" parser (.open: "[1]#[0]" functor) + ["<>" parser (.use "[1]#[0]" functor) ["<[0]>" code (.only Parser)]]] [data ["[0]" text] diff --git a/stdlib/source/program/aedifex/pom.lux b/stdlib/source/program/aedifex/pom.lux index 334a06f46..69b8d5c98 100644 --- a/stdlib/source/program/aedifex/pom.lux +++ b/stdlib/source/program/aedifex/pom.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) [abstract [monad (.only do)]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try (.only Try)] ["[0]" exception] ["<>" parser]] @@ -15,7 +15,7 @@ ["[0]" xml (.only Tag XML) ["<[1]>" \\parser (.only Parser)]]] [collection - ["[0]" list (.open: "[1]#[0]" monoid functor mix)] + ["[0]" list (.use "[1]#[0]" monoid functor mix)] ["[0]" set] ["[0]" dictionary]]] [meta diff --git a/stdlib/source/program/aedifex/profile.lux b/stdlib/source/program/aedifex/profile.lux index 5758a3795..5e07a1c18 100644 --- a/stdlib/source/program/aedifex/profile.lux +++ b/stdlib/source/program/aedifex/profile.lux @@ -1,20 +1,20 @@ -(.using +(.require [library [lux (.except Info Source Module) [abstract [monoid (.only Monoid)] [equivalence (.only Equivalence)]] [control - ["[0]" maybe (.open: "[1]#[0]" monoid)] + ["[0]" maybe (.use "[1]#[0]" monoid)] ["[0]" exception (.only exception:)]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" monoid)] + ["[0]" list (.use "[1]#[0]" monoid)] ["[0]" set (.only Set)] ["[0]" dictionary (.only Dictionary) - ["[0]" plist (.only PList) (.open: "[1]#[0]" monoid)]]]] + ["[0]" plist (.only PList) (.use "[1]#[0]" monoid)]]]] [macro ["^" pattern] ["[0]" template]] @@ -32,8 +32,8 @@ [module [descriptor (.only Module)]]]]]]]] [// - ["[0]" runtime (.only Runtime) (.open: "[1]#[0]" equivalence)] - ["[0]" dependency (.only Dependency) (.open: "[1]#[0]" equivalence)] + ["[0]" runtime (.only Runtime) (.use "[1]#[0]" equivalence)] + ["[0]" dependency (.only Dependency) (.use "[1]#[0]" equivalence)] ["[0]" artifact (.only Artifact) ["[0]" type]] [repository diff --git a/stdlib/source/program/aedifex/project.lux b/stdlib/source/program/aedifex/project.lux index 0d1fb6559..2a63427cf 100644 --- a/stdlib/source/program/aedifex/project.lux +++ b/stdlib/source/program/aedifex/project.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -14,7 +14,7 @@ [collection ["[0]" dictionary (.only Dictionary)] ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" mix)]]]]] + ["[0]" list (.use "[1]#[0]" mix)]]]]] ["[0]" // ["[1]" profile (.only Name Profile)]]) diff --git a/stdlib/source/program/aedifex/repository.lux b/stdlib/source/program/aedifex/repository.lux index 2b092ad41..49cb01312 100644 --- a/stdlib/source/program/aedifex/repository.lux +++ b/stdlib/source/program/aedifex/repository.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/repository/identity.lux b/stdlib/source/program/aedifex/repository/identity.lux index 634423e7c..4f5733651 100644 --- a/stdlib/source/program/aedifex/repository/identity.lux +++ b/stdlib/source/program/aedifex/repository/identity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["[0]" ffi (.only import)] diff --git a/stdlib/source/program/aedifex/repository/local.lux b/stdlib/source/program/aedifex/repository/local.lux index b491e6d12..39a5c8396 100644 --- a/stdlib/source/program/aedifex/repository/local.lux +++ b/stdlib/source/program/aedifex/repository/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/repository/origin.lux b/stdlib/source/program/aedifex/repository/origin.lux index b8556c4c4..46f0822c2 100644 --- a/stdlib/source/program/aedifex/repository/origin.lux +++ b/stdlib/source/program/aedifex/repository/origin.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux index d91047f7c..d939915d8 100644 --- a/stdlib/source/program/aedifex/repository/remote.lux +++ b/stdlib/source/program/aedifex/repository/remote.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/program/aedifex/runtime.lux b/stdlib/source/program/aedifex/runtime.lux index 401a9fa7c..a105b2da9 100644 --- a/stdlib/source/program/aedifex/runtime.lux +++ b/stdlib/source/program/aedifex/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except for) [abstract @@ -8,7 +8,7 @@ ["[0]" text ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monoid)] + ["[0]" list (.use "[1]#[0]" monoid)] ["[0]" dictionary (.only Dictionary)]]] [macro ["[0]" template]] diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux index c29ef5160..67bd9467b 100644 --- a/stdlib/source/program/compositor.lux +++ b/stdlib/source/program/compositor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Module) [type (.only sharing)] @@ -11,7 +11,7 @@ ["[0]" maybe] ["[0]" try (.only Try)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data [binary (.only Binary)] ["[0]" product] diff --git a/stdlib/source/specification/aedifex/repository.lux b/stdlib/source/specification/aedifex/repository.lux index 777040e35..9cc2e0f2d 100644 --- a/stdlib/source/specification/aedifex/repository.lux +++ b/stdlib/source/specification/aedifex/repository.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/compositor.lux b/stdlib/source/specification/compositor.lux index ad95c3c6f..f8d5dcc97 100644 --- a/stdlib/source/specification/compositor.lux +++ b/stdlib/source/specification/compositor.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract diff --git a/stdlib/source/specification/compositor/analysis/type.lux b/stdlib/source/specification/compositor/analysis/type.lux index 8aae58f13..018683d99 100644 --- a/stdlib/source/specification/compositor/analysis/type.lux +++ b/stdlib/source/specification/compositor/analysis/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract diff --git a/stdlib/source/specification/compositor/common.lux b/stdlib/source/specification/compositor/common.lux index 50383371b..34e5aa19b 100644 --- a/stdlib/source/specification/compositor/common.lux +++ b/stdlib/source/specification/compositor/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [abstract [monad (.only do)]] diff --git a/stdlib/source/specification/compositor/generation/case.lux b/stdlib/source/specification/compositor/generation/case.lux index e1603a517..86c09da51 100644 --- a/stdlib/source/specification/compositor/generation/case.lux +++ b/stdlib/source/specification/compositor/generation/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except case) ["_" test (.only Test)] [abstract @@ -7,13 +7,13 @@ ["[0]" pipe] ["[0]" try (.only Try)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [number ["n" nat] ["f" frac]] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["r" random (.only Random)]] [tool diff --git a/stdlib/source/specification/compositor/generation/common.lux b/stdlib/source/specification/compositor/generation/common.lux index fabd44907..ec8adb582 100644 --- a/stdlib/source/specification/compositor/generation/common.lux +++ b/stdlib/source/specification/compositor/generation/common.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except i64) ["_" test (.only Test)] [abstract @@ -7,13 +7,13 @@ ["[0]" pipe] ["[0]" try (.only Try)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [number ["[0]" i64] ["n" nat] ["i" int] ["f" frac]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" list]]] diff --git a/stdlib/source/specification/compositor/generation/function.lux b/stdlib/source/specification/compositor/generation/function.lux index a7cb2de43..632f0db75 100644 --- a/stdlib/source/specification/compositor/generation/function.lux +++ b/stdlib/source/specification/compositor/generation/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except function) ["_" test (.only Test)] [abstract @@ -10,9 +10,9 @@ [number ["n" nat]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math - ["r" random (.only Random) (.open: "[1]#[0]" monad)]] + ["r" random (.only Random) (.use "[1]#[0]" monad)]] [tool [compiler [analysis (.only Arity)] diff --git a/stdlib/source/specification/compositor/generation/primitive.lux b/stdlib/source/specification/compositor/generation/primitive.lux index f927d5dd2..0a21ad67b 100644 --- a/stdlib/source/specification/compositor/generation/primitive.lux +++ b/stdlib/source/specification/compositor/generation/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract @@ -7,10 +7,10 @@ ["[0]" pipe] ["[0]" try]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [number ["f" frac]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["r" random]] diff --git a/stdlib/source/specification/compositor/generation/reference.lux b/stdlib/source/specification/compositor/generation/reference.lux index c7ba5c2bf..a5244bc8c 100644 --- a/stdlib/source/specification/compositor/generation/reference.lux +++ b/stdlib/source/specification/compositor/generation/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except symbol) ["_" test (.only Test)] [abstract diff --git a/stdlib/source/specification/compositor/generation/structure.lux b/stdlib/source/specification/compositor/generation/structure.lux index bfc6621b9..efdbd3ad2 100644 --- a/stdlib/source/specification/compositor/generation/structure.lux +++ b/stdlib/source/specification/compositor/generation/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract @@ -11,11 +11,11 @@ [number ["n" nat] ["i" int]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" array (.only Array)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["r" random]] ["[0]" ffi (.only import)] diff --git a/stdlib/source/specification/lux/abstract/apply.lux b/stdlib/source/specification/lux/abstract/apply.lux index 385cbfb2d..fd4025b0b 100644 --- a/stdlib/source/specification/lux/abstract/apply.lux +++ b/stdlib/source/specification/lux/abstract/apply.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/codec.lux b/stdlib/source/specification/lux/abstract/codec.lux index 9c91c18e9..acbc07647 100644 --- a/stdlib/source/specification/lux/abstract/codec.lux +++ b/stdlib/source/specification/lux/abstract/codec.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/comonad.lux b/stdlib/source/specification/lux/abstract/comonad.lux index 4050d2660..897c29f06 100644 --- a/stdlib/source/specification/lux/abstract/comonad.lux +++ b/stdlib/source/specification/lux/abstract/comonad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/enum.lux b/stdlib/source/specification/lux/abstract/enum.lux index 021d6ba96..a1cf2820e 100644 --- a/stdlib/source/specification/lux/abstract/enum.lux +++ b/stdlib/source/specification/lux/abstract/enum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/equivalence.lux b/stdlib/source/specification/lux/abstract/equivalence.lux index d7ebc8895..b2b643d4f 100644 --- a/stdlib/source/specification/lux/abstract/equivalence.lux +++ b/stdlib/source/specification/lux/abstract/equivalence.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/specification/lux/abstract/functor.lux b/stdlib/source/specification/lux/abstract/functor.lux index 5551e5a6f..935c37f98 100644 --- a/stdlib/source/specification/lux/abstract/functor.lux +++ b/stdlib/source/specification/lux/abstract/functor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/functor/contravariant.lux b/stdlib/source/specification/lux/abstract/functor/contravariant.lux index 5cb3b75ee..6099ce42a 100644 --- a/stdlib/source/specification/lux/abstract/functor/contravariant.lux +++ b/stdlib/source/specification/lux/abstract/functor/contravariant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/hash.lux b/stdlib/source/specification/lux/abstract/hash.lux index d8294015c..b66181035 100644 --- a/stdlib/source/specification/lux/abstract/hash.lux +++ b/stdlib/source/specification/lux/abstract/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/interval.lux b/stdlib/source/specification/lux/abstract/interval.lux index 2ccb4da32..e0a012e9b 100644 --- a/stdlib/source/specification/lux/abstract/interval.lux +++ b/stdlib/source/specification/lux/abstract/interval.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/mix.lux b/stdlib/source/specification/lux/abstract/mix.lux index 5d3ed3994..d4f0bcadc 100644 --- a/stdlib/source/specification/lux/abstract/mix.lux +++ b/stdlib/source/specification/lux/abstract/mix.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/monad.lux b/stdlib/source/specification/lux/abstract/monad.lux index b4b3f7029..e95ddf67d 100644 --- a/stdlib/source/specification/lux/abstract/monad.lux +++ b/stdlib/source/specification/lux/abstract/monad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/monoid.lux b/stdlib/source/specification/lux/abstract/monoid.lux index 8cc42c232..dedaca77b 100644 --- a/stdlib/source/specification/lux/abstract/monoid.lux +++ b/stdlib/source/specification/lux/abstract/monoid.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/abstract/order.lux b/stdlib/source/specification/lux/abstract/order.lux index 7e6c7a0d2..4d448c958 100644 --- a/stdlib/source/specification/lux/abstract/order.lux +++ b/stdlib/source/specification/lux/abstract/order.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/world/console.lux b/stdlib/source/specification/lux/world/console.lux index e3ab5391e..78953c351 100644 --- a/stdlib/source/specification/lux/world/console.lux +++ b/stdlib/source/specification/lux/world/console.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/world/file.lux b/stdlib/source/specification/lux/world/file.lux index 1b31a1e4c..8e938dcfe 100644 --- a/stdlib/source/specification/lux/world/file.lux +++ b/stdlib/source/specification/lux/world/file.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,17 +7,17 @@ ["[0]" predicate]] [control [io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception] [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding - ["[0]" utf8 (.open: "[1]#[0]" codec)]]] - ["[0]" binary (.only Binary) (.open: "[1]#[0]" equivalence monoid) + ["[0]" utf8 (.use "[1]#[0]" codec)]]] + ["[0]" binary (.only Binary) (.use "[1]#[0]" equivalence monoid) ["$[1]" \\test]] [collection ["[0]" list]]] @@ -26,7 +26,7 @@ [number ["n" nat]]] [time - ["[0]" instant (.only Instant) (.open: "[1]#[0]" equivalence)]]]] + ["[0]" instant (.only Instant) (.use "[1]#[0]" equivalence)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/specification/lux/world/program.lux b/stdlib/source/specification/lux/world/program.lux index 8bfacf0c8..b941158b4 100644 --- a/stdlib/source/specification/lux/world/program.lux +++ b/stdlib/source/specification/lux/world/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/specification/lux/world/shell.lux b/stdlib/source/specification/lux/world/shell.lux index fbd952add..2ac53794c 100644 --- a/stdlib/source/specification/lux/world/shell.lux +++ b/stdlib/source/specification/lux/world/shell.lux @@ -1,18 +1,18 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]] [parser ["[0]" environment (.only Environment)]]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random] diff --git a/stdlib/source/test/aedifex.lux b/stdlib/source/test/aedifex.lux index ccdc14e05..790b09bdc 100644 --- a/stdlib/source/test/aedifex.lux +++ b/stdlib/source/test/aedifex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [program (.only program:)] diff --git a/stdlib/source/test/aedifex/artifact.lux b/stdlib/source/test/aedifex/artifact.lux index 1b9bad2f0..53ae67d84 100644 --- a/stdlib/source/test/aedifex/artifact.lux +++ b/stdlib/source/test/aedifex/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["$[0]" order] ["$[0]" hash]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]] [world diff --git a/stdlib/source/test/aedifex/artifact/extension.lux b/stdlib/source/test/aedifex/artifact/extension.lux index 80b49fdfb..bf2127d23 100644 --- a/stdlib/source/test/aedifex/artifact/extension.lux +++ b/stdlib/source/test/aedifex/artifact/extension.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" set] ["[0]" list]]] diff --git a/stdlib/source/test/aedifex/artifact/snapshot.lux b/stdlib/source/test/aedifex/artifact/snapshot.lux index a318672eb..8312e69f0 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,13 +7,13 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data [format ["[0]" xml ["<[1]>" \\parser]]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] ["$[0]" / ["[1][0]" build] ["[1][0]" stamp] diff --git a/stdlib/source/test/aedifex/artifact/snapshot/build.lux b/stdlib/source/test/aedifex/artifact/snapshot/build.lux index 259698287..c0016b9a6 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/build.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/build.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data [format ["[0]" xml diff --git a/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux b/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux index 36b72daa8..da8755d6f 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/stamp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data [format ["[0]" xml diff --git a/stdlib/source/test/aedifex/artifact/snapshot/time.lux b/stdlib/source/test/aedifex/artifact/snapshot/time.lux index 3b6136ce9..0a748e1b4 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/time.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" text ["<[1]>" \\parser]]] diff --git a/stdlib/source/test/aedifex/artifact/snapshot/version.lux b/stdlib/source/test/aedifex/artifact/snapshot/version.lux index 97b51465d..5285d7598 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/version.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data [format ["[0]" xml diff --git a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux index 0c63a2215..525c4ec32 100644 --- a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux +++ b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,13 +7,13 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] ["<[1]>" \\parser]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int]]] diff --git a/stdlib/source/test/aedifex/artifact/time.lux b/stdlib/source/test/aedifex/artifact/time.lux index c6ba0f2c0..2ef81472a 100644 --- a/stdlib/source/test/aedifex/artifact/time.lux +++ b/stdlib/source/test/aedifex/artifact/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,12 +7,12 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" text ["<[1]>" \\parser]]] [time - ["[0]" instant (.open: "[1]#[0]" equivalence)]] + ["[0]" instant (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/aedifex/artifact/time/date.lux b/stdlib/source/test/aedifex/artifact/time/date.lux index 6d2e4296a..a97bcbb8f 100644 --- a/stdlib/source/test/aedifex/artifact/time/date.lux +++ b/stdlib/source/test/aedifex/artifact/time/date.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" text @@ -18,7 +18,7 @@ ["n" nat] ["i" int]]] [time - ["[0]" date (.open: "[1]#[0]" equivalence)] + ["[0]" date (.use "[1]#[0]" equivalence)] ["[0]" year]]]] [\\program ["[0]" /]]) diff --git a/stdlib/source/test/aedifex/artifact/time/time.lux b/stdlib/source/test/aedifex/artifact/time/time.lux index 33bc56c87..288d6169e 100644 --- a/stdlib/source/test/aedifex/artifact/time/time.lux +++ b/stdlib/source/test/aedifex/artifact/time/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" text ["<[1]>" \\parser]]] diff --git a/stdlib/source/test/aedifex/artifact/type.lux b/stdlib/source/test/aedifex/artifact/type.lux index 003123f40..cf47b1ec5 100644 --- a/stdlib/source/test/aedifex/artifact/type.lux +++ b/stdlib/source/test/aedifex/artifact/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["[0]" set] ["[0]" list]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\program diff --git a/stdlib/source/test/aedifex/artifact/versioning.lux b/stdlib/source/test/aedifex/artifact/versioning.lux index ecd2ed616..fede17e9f 100644 --- a/stdlib/source/test/aedifex/artifact/versioning.lux +++ b/stdlib/source/test/aedifex/artifact/versioning.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data [format ["[0]" xml diff --git a/stdlib/source/test/aedifex/cache.lux b/stdlib/source/test/aedifex/cache.lux index 6456cc824..4d3a64634 100644 --- a/stdlib/source/test/aedifex/cache.lux +++ b/stdlib/source/test/aedifex/cache.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type type) ["_" test (.only Test)] @@ -20,7 +20,7 @@ ["[0]" dictionary] ["[0]" list]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] [world diff --git a/stdlib/source/test/aedifex/cli.lux b/stdlib/source/test/aedifex/cli.lux index a4af47e46..d0aef0468 100644 --- a/stdlib/source/test/aedifex/cli.lux +++ b/stdlib/source/test/aedifex/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -16,7 +16,7 @@ [collection ["[0]" list]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] [\\program ["[0]" / (.only) ["/[1]" // diff --git a/stdlib/source/test/aedifex/command.lux b/stdlib/source/test/aedifex/command.lux index cf3068d3c..27206b0b7 100644 --- a/stdlib/source/test/aedifex/command.lux +++ b/stdlib/source/test/aedifex/command.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/aedifex/command/auto.lux b/stdlib/source/test/aedifex/command/auto.lux index 2d6ed1354..564cf6ab0 100644 --- a/stdlib/source/test/aedifex/command/auto.lux +++ b/stdlib/source/test/aedifex/command/auto.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/command/build.lux b/stdlib/source/test/aedifex/command/build.lux index 47c3ac71a..5aedb67a9 100644 --- a/stdlib/source/test/aedifex/command/build.lux +++ b/stdlib/source/test/aedifex/command/build.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -14,7 +14,7 @@ [parser ["[0]" environment]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary]]] [math diff --git a/stdlib/source/test/aedifex/command/clean.lux b/stdlib/source/test/aedifex/command/clean.lux index 7edf91440..f4e220aa1 100644 --- a/stdlib/source/test/aedifex/command/clean.lux +++ b/stdlib/source/test/aedifex/command/clean.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,10 +11,10 @@ [data [binary (.only Binary)] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/aedifex/command/deploy.lux b/stdlib/source/test/aedifex/command/deploy.lux index 7b709c82d..38aa5aebc 100644 --- a/stdlib/source/test/aedifex/command/deploy.lux +++ b/stdlib/source/test/aedifex/command/deploy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,8 +12,8 @@ [parser ["[0]" environment]]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" binary (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/test/aedifex/command/deps.lux b/stdlib/source/test/aedifex/command/deps.lux index 14d0f040b..4d08505b0 100644 --- a/stdlib/source/test/aedifex/command/deps.lux +++ b/stdlib/source/test/aedifex/command/deps.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ [parser ["[0]" environment]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/test/aedifex/command/install.lux b/stdlib/source/test/aedifex/command/install.lux index a55e96d95..3221f640a 100644 --- a/stdlib/source/test/aedifex/command/install.lux +++ b/stdlib/source/test/aedifex/command/install.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract ["[0]" monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception] [concurrency ["[0]" async (.only Async)]] @@ -13,7 +13,7 @@ ["[0]" environment]]] [data ["[0]" binary] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" set (.only Set)]]] diff --git a/stdlib/source/test/aedifex/command/pom.lux b/stdlib/source/test/aedifex/command/pom.lux index f6ba0e28e..9390cb51b 100644 --- a/stdlib/source/test/aedifex/command/pom.lux +++ b/stdlib/source/test/aedifex/command/pom.lux @@ -1,16 +1,16 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [concurrency ["[0]" async]]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" binary (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) [encoding ["[0]" utf8]]] [format diff --git a/stdlib/source/test/aedifex/command/test.lux b/stdlib/source/test/aedifex/command/test.lux index 7ab540925..d65fbd491 100644 --- a/stdlib/source/test/aedifex/command/test.lux +++ b/stdlib/source/test/aedifex/command/test.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ [parser ["[0]" environment]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary] ["[0]" list]]] diff --git a/stdlib/source/test/aedifex/command/version.lux b/stdlib/source/test/aedifex/command/version.lux index c8f427a71..4873cf31e 100644 --- a/stdlib/source/test/aedifex/command/version.lux +++ b/stdlib/source/test/aedifex/command/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,7 +11,7 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random]] diff --git a/stdlib/source/test/aedifex/dependency.lux b/stdlib/source/test/aedifex/dependency.lux index 93acdb4c6..0a01d3dfe 100644 --- a/stdlib/source/test/aedifex/dependency.lux +++ b/stdlib/source/test/aedifex/dependency.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/dependency/deployment.lux b/stdlib/source/test/aedifex/dependency/deployment.lux index 456897460..181e6b5b7 100644 --- a/stdlib/source/test/aedifex/dependency/deployment.lux +++ b/stdlib/source/test/aedifex/dependency/deployment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,20 +7,20 @@ ["[0]" hash (.only Hash)]] [control ["[0]" io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [concurrency ["[0]" atom (.only Atom)] ["[0]" async]]] [data ["[0]" product] - ["[0]" binary (.only Binary) (.open: "[1]#[0]" equivalence)] + ["[0]" binary (.only Binary) (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format (.only format)]] [collection ["[0]" dictionary (.only Dictionary)] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random (.only Random)] [number @@ -43,7 +43,7 @@ ["[0]" profile] ["[0]" metadata] ["[0]" package (.only Package)] - ["[0]" artifact (.only Artifact) (.open: "[1]#[0]" equivalence) + ["[0]" artifact (.only Artifact) (.use "[1]#[0]" equivalence) ["[1]/[0]" type] ["[1]/[0]" extension]] ["[0]" repository (.only) diff --git a/stdlib/source/test/aedifex/dependency/resolution.lux b/stdlib/source/test/aedifex/dependency/resolution.lux index ae4366042..1507398b6 100644 --- a/stdlib/source/test/aedifex/dependency/resolution.lux +++ b/stdlib/source/test/aedifex/dependency/resolution.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["_" test (.only Test)] @@ -39,7 +39,7 @@ ["[1]" profile] ["[1][0]" package (.only Package)] ["[1][0]" hash] - ["[1][0]" dependency (.only Dependency) (.open: "[1]#[0]" equivalence) + ["[1][0]" dependency (.only Dependency) (.use "[1]#[0]" equivalence) ["[1]/[0]" status]] ["[1][0]" pom] ["[1][0]" artifact (.only Artifact) diff --git a/stdlib/source/test/aedifex/dependency/status.lux b/stdlib/source/test/aedifex/dependency/status.lux index ef3d704f6..bbb7188cb 100644 --- a/stdlib/source/test/aedifex/dependency/status.lux +++ b/stdlib/source/test/aedifex/dependency/status.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["[0]" binary ["[1]T" \\test]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] ["$[0]" /// ["[1][0]" hash]] [\\program diff --git a/stdlib/source/test/aedifex/hash.lux b/stdlib/source/test/aedifex/hash.lux index 28d912a48..1d8569413 100644 --- a/stdlib/source/test/aedifex/hash.lux +++ b/stdlib/source/test/aedifex/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/input.lux b/stdlib/source/test/aedifex/input.lux index 47d8bf0c9..23192f590 100644 --- a/stdlib/source/test/aedifex/input.lux +++ b/stdlib/source/test/aedifex/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/local.lux b/stdlib/source/test/aedifex/local.lux index 9adef30d6..d621d683c 100644 --- a/stdlib/source/test/aedifex/local.lux +++ b/stdlib/source/test/aedifex/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/metadata.lux b/stdlib/source/test/aedifex/metadata.lux index f5179d2a9..00e8062a6 100644 --- a/stdlib/source/test/aedifex/metadata.lux +++ b/stdlib/source/test/aedifex/metadata.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random]]]] ["[0]" / diff --git a/stdlib/source/test/aedifex/metadata/artifact.lux b/stdlib/source/test/aedifex/metadata/artifact.lux index 8dd0ef2b1..5e0a5b41c 100644 --- a/stdlib/source/test/aedifex/metadata/artifact.lux +++ b/stdlib/source/test/aedifex/metadata/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,13 +8,13 @@ ["$[0]" equivalence]]] [control ["[0]" maybe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["[0]" environment]] [concurrency ["[0]" async]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [format ["[0]" xml ["<[1]>" \\parser]]] diff --git a/stdlib/source/test/aedifex/metadata/snapshot.lux b/stdlib/source/test/aedifex/metadata/snapshot.lux index 77975ddad..9d88a0617 100644 --- a/stdlib/source/test/aedifex/metadata/snapshot.lux +++ b/stdlib/source/test/aedifex/metadata/snapshot.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,13 +8,13 @@ ["$[0]" equivalence]]] [control ["[0]" maybe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["[0]" environment]] [concurrency ["[0]" async]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [format ["[0]" xml ["<[1]>" \\parser]]] @@ -23,7 +23,7 @@ [macro ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] ["[0]" time (.only) diff --git a/stdlib/source/test/aedifex/package.lux b/stdlib/source/test/aedifex/package.lux index 42eded5a5..770bbee0a 100644 --- a/stdlib/source/test/aedifex/package.lux +++ b/stdlib/source/test/aedifex/package.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -33,7 +33,7 @@ ["[0]" / (.only) ["/[1]" // ["[1]" profile] - ["[1][0]" hash (.open: "[1]#[0]" equivalence)] + ["[1][0]" hash (.use "[1]#[0]" equivalence)] ["[1][0]" pom] [dependency ["[1][0]" status]] diff --git a/stdlib/source/test/aedifex/parser.lux b/stdlib/source/test/aedifex/parser.lux index f887958b2..c07e675a4 100644 --- a/stdlib/source/test/aedifex/parser.lux +++ b/stdlib/source/test/aedifex/parser.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -15,7 +15,7 @@ [collection ["[0]" set (.only Set)] ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/aedifex/pom.lux b/stdlib/source/test/aedifex/pom.lux index a4956b3a4..8bb184347 100644 --- a/stdlib/source/test/aedifex/pom.lux +++ b/stdlib/source/test/aedifex/pom.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ ["[0]" exception] ["<>" parser]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [format ["[0]" xml (.only) ["<[1]>" \\parser]]]] diff --git a/stdlib/source/test/aedifex/profile.lux b/stdlib/source/test/aedifex/profile.lux index a71284333..815d7fe4c 100644 --- a/stdlib/source/test/aedifex/profile.lux +++ b/stdlib/source/test/aedifex/profile.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,12 +13,12 @@ [parser ["[0]" cli]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" set (.only Set)] ["[0]" dictionary (.only Dictionary)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] [tool diff --git a/stdlib/source/test/aedifex/project.lux b/stdlib/source/test/aedifex/project.lux index e66284a31..5f4ebe03e 100644 --- a/stdlib/source/test/aedifex/project.lux +++ b/stdlib/source/test/aedifex/project.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,13 +8,13 @@ ["$[0]" equivalence] ["$[0]" monoid]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [// diff --git a/stdlib/source/test/aedifex/repository.lux b/stdlib/source/test/aedifex/repository.lux index 5ef8a77c8..024752e67 100644 --- a/stdlib/source/test/aedifex/repository.lux +++ b/stdlib/source/test/aedifex/repository.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/repository/identity.lux b/stdlib/source/test/aedifex/repository/identity.lux index 5b556db20..5c9d77792 100644 --- a/stdlib/source/test/aedifex/repository/identity.lux +++ b/stdlib/source/test/aedifex/repository/identity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/repository/local.lux b/stdlib/source/test/aedifex/repository/local.lux index 5a6be7777..8eadfd24c 100644 --- a/stdlib/source/test/aedifex/repository/local.lux +++ b/stdlib/source/test/aedifex/repository/local.lux @@ -1,17 +1,17 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["[0]" environment]] [concurrency ["[0]" async]]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence)] + ["[0]" binary (.use "[1]#[0]" equivalence)] [text [encoding ["[0]" utf8]]]] diff --git a/stdlib/source/test/aedifex/repository/origin.lux b/stdlib/source/test/aedifex/repository/origin.lux index a414c8371..b99739009 100644 --- a/stdlib/source/test/aedifex/repository/origin.lux +++ b/stdlib/source/test/aedifex/repository/origin.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/aedifex/repository/remote.lux b/stdlib/source/test/aedifex/repository/remote.lux index 1c16ddf09..ceec7c9ec 100644 --- a/stdlib/source/test/aedifex/repository/remote.lux +++ b/stdlib/source/test/aedifex/repository/remote.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,13 +6,13 @@ [monad (.only do)]] [control ["[0]" io (.only IO)] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" monad)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" monad)] ["[0]" exception] ["[0]" function]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" binary (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/test/aedifex/runtime.lux b/stdlib/source/test/aedifex/runtime.lux index dfe5abfac..25471077d 100644 --- a/stdlib/source/test/aedifex/runtime.lux +++ b/stdlib/source/test/aedifex/runtime.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,14 +7,14 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\program diff --git a/stdlib/source/test/lux.lux b/stdlib/source/test/lux.lux index 71f03201e..14bb1ec55 100644 --- a/stdlib/source/test/lux.lux +++ b/stdlib/source/test/lux.lux @@ -1,4 +1,4 @@ -(.`` (.`` (.using +(.`` (.`` (.require [library ["/" lux (.except) [program (.only program:)] @@ -9,28 +9,28 @@ [monad (.only do)]] [control ["[0]" io] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] [concurrency ["[0]" atom (.only Atom)]] [parser ["<[0]>" code]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] - ["[0]" set (.only Set) (.open: "[1]#[0]" equivalence)] + ["[0]" list (.use "[1]#[0]" functor)] + ["[0]" set (.only Set) (.use "[1]#[0]" equivalence)] [dictionary ["[0]" plist]]]] ["[0]" macro (.only) [syntax (.only syntax)] ["^" pattern] - ["[0]" code (.open: "[1]#[0]" equivalence)] + ["[0]" code (.use "[1]#[0]" equivalence)] ["[0]" template]] ["[0]" math - ["[0]" random (.open: "[1]#[0]" functor)] + ["[0]" random (.use "[1]#[0]" functor)] [number [i8 (.only)] [i16 (.only)] @@ -39,8 +39,8 @@ ["r" rev] ["f" frac] ["[0]" i64]]] - ["[0]" meta (.open: "[1]#[0]" monad) - ["[0]" location (.open: "[1]#[0]" equivalence)]]]] + ["[0]" meta (.use "[1]#[0]" monad) + ["[0]" location (.use "[1]#[0]" equivalence)]]]] ... TODO: Must have 100% coverage on tests. ["[0]" / ["[1][0]" abstract] @@ -198,7 +198,7 @@ (def static_return 123) -(/.open: "global#[0]" (..global_returner ..static_return)) +(/.use "global#[0]" (..global_returner ..static_return)) (def for_interface Test @@ -212,7 +212,7 @@ (all _.and (_.coverage [/.implementation] (n.= expected (at local_returner return []))) - (_.coverage [/.open:] + (_.coverage [/.use] (n.= static_return (global#return []))) (_.coverage [/.open] (let [(/.open "local#[0]") local_returner] @@ -403,7 +403,7 @@ (~~ (for @.old (~~ (these)) (_.coverage [/.Source] (..found_crosshair?)))) - (_.coverage [/.using] + (_.coverage [/.require] (`` (with_expansions [<referral> ("lux in-module" "library/lux" library/lux.refer) <alias> (static.random code.text (random.lower_case 1)) <definition> (static.random code.local (random.lower_case 1)) @@ -443,50 +443,50 @@ false)))))] (scenario [])))] - [(.using [<module/0>']) + [(.require [<module/0>']) ("lux def module" []) []] - [(.using [<alias> <module/0>' (.except)]) + [(.require [<alias> <module/0>' (.except)]) ("lux def module" [[<module/0> <alias>]]) [(<referral> <module/0> (.except))]] - [(.using [<alias> <module/0>' (.only <definition>)]) + [(.require [<alias> <module/0>' (.only <definition>)]) ("lux def module" [[<module/0> <alias>]]) [(<referral> <module/0> (.only <definition>))]] - [(.using [<alias> <module/0>' (.except <definition>)]) + [(.require [<alias> <module/0>' (.except <definition>)]) ("lux def module" [[<module/0> <alias>]]) [(<referral> <module/0> (.except <definition>))]] - [(.using [<alias> <module/0>']) + [(.require [<alias> <module/0>']) ("lux def module" []) []] - [(.using [<module/0>' + [(.require [<module/0>' [<alias> <module/1>']]) ("lux def module" [[<m0/1> <alias>]]) [(<referral> <m0/1>)]] - [(.using ["[0]" <module/0>' + [(.require ["[0]" <module/0>' ["[0]" <module/1>']]) ("lux def module" [[<module/0> <module/0>] [<m0/1> <module/1>]]) [(<referral> <module/0>) (<referral> <m0/1>)]] - [(.using ["[0]" <module/0>' + [(.require ["[0]" <module/0>' ["[1]" <module/1>']]) ("lux def module" [[<m0/1> <module/0>]]) [(<referral> <m0/1>)]] - [(.using ["[0]" <module/0>' + [(.require ["[0]" <module/0>' ["[1]" <module/1>' ["[2]" <module/2>']]]) ("lux def module" [[<m0/1/2> <module/0>]]) [(<referral> <m0/1/2>)]] - [(.using [<module/0>' + [(.require [<module/0>' ["[0]" <module/1>' ["[0]" <//>']]]) ("lux def module" [[<m0/1> <module/1>] @@ -494,7 +494,7 @@ [(<referral> <m0/1>) (<referral> <m0/2>)]] - [(.using ["[0]" <module/0>' + [(.require ["[0]" <module/0>' [<module/1>' ["[0]" <\\>']]]) ("lux def module" [[<module/0> <module/0>] @@ -502,7 +502,7 @@ [(<referral> <module/0>) (<referral> <m2/1>)]] - [(.using ["[0]" <module/0>' (.open: "[1]#[0]" <definition>)]) + [(.require ["[0]" <module/0>' (.use "[1]#[0]" <definition>)]) ("lux def module" [[<module/0> <module/0>]]) [(<referral> <module/0> (<open/0> <definition>))]] )))))) diff --git a/stdlib/source/test/lux/abstract.lux b/stdlib/source/test/lux/abstract.lux index a20f2f871..eac73fa40 100644 --- a/stdlib/source/test/lux/abstract.lux +++ b/stdlib/source/test/lux/abstract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/abstract/apply.lux b/stdlib/source/test/lux/abstract/apply.lux index 7eed1d6bc..d7c75cbe2 100644 --- a/stdlib/source/test/lux/abstract/apply.lux +++ b/stdlib/source/test/lux/abstract/apply.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/test/lux/abstract/codec.lux b/stdlib/source/test/lux/abstract/codec.lux index 8d70588c8..284041caf 100644 --- a/stdlib/source/test/lux/abstract/codec.lux +++ b/stdlib/source/test/lux/abstract/codec.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [control ["[0]" try]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [format ["[0]" json (.only JSON)]]] [math diff --git a/stdlib/source/test/lux/abstract/comonad.lux b/stdlib/source/test/lux/abstract/comonad.lux index 9c752b46d..701ec93db 100644 --- a/stdlib/source/test/lux/abstract/comonad.lux +++ b/stdlib/source/test/lux/abstract/comonad.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract diff --git a/stdlib/source/test/lux/abstract/comonad/free.lux b/stdlib/source/test/lux/abstract/comonad/free.lux index 093f5eda1..fcdec85aa 100644 --- a/stdlib/source/test/lux/abstract/comonad/free.lux +++ b/stdlib/source/test/lux/abstract/comonad/free.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ [data [collection ["[0]" list] - ["[0]" stream (.only Stream) (.open: "[1]#[0]" comonad)]]] + ["[0]" stream (.only Stream) (.use "[1]#[0]" comonad)]]] [math ["[0]" random]]]] [\\library diff --git a/stdlib/source/test/lux/abstract/enum.lux b/stdlib/source/test/lux/abstract/enum.lux index 98a139603..cf2434c0f 100644 --- a/stdlib/source/test/lux/abstract/enum.lux +++ b/stdlib/source/test/lux/abstract/enum.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/abstract/equivalence.lux b/stdlib/source/test/lux/abstract/equivalence.lux index 339279e00..2518cdf8c 100644 --- a/stdlib/source/test/lux/abstract/equivalence.lux +++ b/stdlib/source/test/lux/abstract/equivalence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Record) ["_" test (.only Test)] @@ -11,7 +11,7 @@ [control ["[0]" maybe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text] [collection ["[0]" list]]] diff --git a/stdlib/source/test/lux/abstract/functor.lux b/stdlib/source/test/lux/abstract/functor.lux index 33a1df347..9cca3367b 100644 --- a/stdlib/source/test/lux/abstract/functor.lux +++ b/stdlib/source/test/lux/abstract/functor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/abstract/functor/contravariant.lux b/stdlib/source/test/lux/abstract/functor/contravariant.lux index 12b95bf9d..9478cdcf8 100644 --- a/stdlib/source/test/lux/abstract/functor/contravariant.lux +++ b/stdlib/source/test/lux/abstract/functor/contravariant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/abstract/hash.lux b/stdlib/source/test/lux/abstract/hash.lux index 153cd1ec2..d3f877507 100644 --- a/stdlib/source/test/lux/abstract/hash.lux +++ b/stdlib/source/test/lux/abstract/hash.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ [functor ["$[0]" contravariant]]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/abstract/interval.lux b/stdlib/source/test/lux/abstract/interval.lux index 30ac69ccc..2fa7f5023 100644 --- a/stdlib/source/test/lux/abstract/interval.lux +++ b/stdlib/source/test/lux/abstract/interval.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -18,7 +18,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / (.only Interval) (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.only Interval) (.use "[1]#[0]" equivalence)]]) (with_template [<name> <cmp>] [(def .public <name> diff --git a/stdlib/source/test/lux/abstract/mix.lux b/stdlib/source/test/lux/abstract/mix.lux index 8754df110..6e171f7ec 100644 --- a/stdlib/source/test/lux/abstract/mix.lux +++ b/stdlib/source/test/lux/abstract/mix.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/abstract/monad.lux b/stdlib/source/test/lux/abstract/monad.lux index 7cfe4f080..783ac4514 100644 --- a/stdlib/source/test/lux/abstract/monad.lux +++ b/stdlib/source/test/lux/abstract/monad.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [data ["[0]" identity (.only Identity)] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/abstract/monad/free.lux b/stdlib/source/test/lux/abstract/monad/free.lux index 8031bf189..4d08fc8c3 100644 --- a/stdlib/source/test/lux/abstract/monad/free.lux +++ b/stdlib/source/test/lux/abstract/monad/free.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ ["$[0]" monad]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random]]]] [\\library diff --git a/stdlib/source/test/lux/abstract/monoid.lux b/stdlib/source/test/lux/abstract/monoid.lux index 75a5f6863..ceea6703d 100644 --- a/stdlib/source/test/lux/abstract/monoid.lux +++ b/stdlib/source/test/lux/abstract/monoid.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/abstract/order.lux b/stdlib/source/test/lux/abstract/order.lux index 941c9cccb..1dba95703 100644 --- a/stdlib/source/test/lux/abstract/order.lux +++ b/stdlib/source/test/lux/abstract/order.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ [functor ["$[0]" contravariant]]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/abstract/predicate.lux b/stdlib/source/test/lux/abstract/predicate.lux index 1d1839804..28d0eed16 100644 --- a/stdlib/source/test/lux/abstract/predicate.lux +++ b/stdlib/source/test/lux/abstract/predicate.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ [control ["[0]" function]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [math diff --git a/stdlib/source/test/lux/control.lux b/stdlib/source/test/lux/control.lux index 0f99b21b2..84b144332 100644 --- a/stdlib/source/test/lux/control.lux +++ b/stdlib/source/test/lux/control.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except function) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/control/concatenative.lux b/stdlib/source/test/lux/control/concatenative.lux index 26e98f649..ced371a06 100644 --- a/stdlib/source/test/lux/control/concatenative.lux +++ b/stdlib/source/test/lux/control/concatenative.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [monad (.only do)]] [data ["[0]" sum] - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/control/concurrency/actor.lux b/stdlib/source/test/lux/control/concurrency/actor.lux index db84ea614..ecc435a72 100644 --- a/stdlib/source/test/lux/control/concurrency/actor.lux +++ b/stdlib/source/test/lux/control/concurrency/actor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -22,7 +22,7 @@ ["[0]" / (.only) [// ["[0]" atom (.only Atom)] - ["[0]" async (.only Async Resolver) (.open: "[1]#[0]" monad)] + ["[0]" async (.only Async Resolver) (.use "[1]#[0]" monad)] ["[0]" frp]]]]) (exception: got_wrecked) diff --git a/stdlib/source/test/lux/control/concurrency/async.lux b/stdlib/source/test/lux/control/concurrency/async.lux index 2be98d4d2..c6b1eb864 100644 --- a/stdlib/source/test/lux/control/concurrency/async.lux +++ b/stdlib/source/test/lux/control/concurrency/async.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/concurrency/atom.lux b/stdlib/source/test/lux/control/concurrency/atom.lux index 21dbe86d5..43620461b 100644 --- a/stdlib/source/test/lux/control/concurrency/atom.lux +++ b/stdlib/source/test/lux/control/concurrency/atom.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/concurrency/frp.lux b/stdlib/source/test/lux/control/concurrency/frp.lux index e2e8c286d..232e483d7 100644 --- a/stdlib/source/test/lux/control/concurrency/frp.lux +++ b/stdlib/source/test/lux/control/concurrency/frp.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -14,7 +14,7 @@ ["[0]" io (.only IO io)]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix monoid)] + ["[0]" list (.use "[1]#[0]" mix monoid)] ["[0]" sequence (.only Sequence)]]] [math ["[0]" random] @@ -25,7 +25,7 @@ [\\library ["[0]" / (.only) [// - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)] ["[0]" atom (.only Atom atom)]]]]) (def injection diff --git a/stdlib/source/test/lux/control/concurrency/semaphore.lux b/stdlib/source/test/lux/control/concurrency/semaphore.lux index 65eef901f..ec1a460c8 100644 --- a/stdlib/source/test/lux/control/concurrency/semaphore.lux +++ b/stdlib/source/test/lux/control/concurrency/semaphore.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -15,10 +15,10 @@ ["[0]" async (.only Async)] ["[0]" atom (.only Atom)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/control/concurrency/stm.lux b/stdlib/source/test/lux/control/concurrency/stm.lux index 3400840ff..c5f5ce325 100644 --- a/stdlib/source/test/lux/control/concurrency/stm.lux +++ b/stdlib/source/test/lux/control/concurrency/stm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/control/concurrency/thread.lux b/stdlib/source/test/lux/control/concurrency/thread.lux index e9e9f0c03..87ba8859a 100644 --- a/stdlib/source/test/lux/control/concurrency/thread.lux +++ b/stdlib/source/test/lux/control/concurrency/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/continuation.lux b/stdlib/source/test/lux/control/continuation.lux index b0055b0b3..b65f1f41f 100644 --- a/stdlib/source/test/lux/control/continuation.lux +++ b/stdlib/source/test/lux/control/continuation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/exception.lux b/stdlib/source/test/lux/control/exception.lux index b755a370b..e36deb494 100644 --- a/stdlib/source/test/lux/control/exception.lux +++ b/stdlib/source/test/lux/control/exception.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random] diff --git a/stdlib/source/test/lux/control/function.lux b/stdlib/source/test/lux/control/function.lux index e867ccdfd..bb688959f 100644 --- a/stdlib/source/test/lux/control/function.lux +++ b/stdlib/source/test/lux/control/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/function/contract.lux b/stdlib/source/test/lux/control/function/contract.lux index ea99016d5..fcff396f1 100644 --- a/stdlib/source/test/lux/control/function/contract.lux +++ b/stdlib/source/test/lux/control/function/contract.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/function/inline.lux b/stdlib/source/test/lux/control/function/inline.lux index ed01e9b0c..441ddef3c 100644 --- a/stdlib/source/test/lux/control/function/inline.lux +++ b/stdlib/source/test/lux/control/function/inline.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/function/memo.lux b/stdlib/source/test/lux/control/function/memo.lux index 093f32626..ed8410fa1 100644 --- a/stdlib/source/test/lux/control/function/memo.lux +++ b/stdlib/source/test/lux/control/function/memo.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,12 +6,12 @@ [monad (.only do)]] [control ["[0]" io (.only IO)] - ["[0]" state (.only State) (.open: "[1]#[0]" monad)]] + ["[0]" state (.only State) (.use "[1]#[0]" monad)]] [data ["[0]" product] [collection ["[0]" dictionary (.only Dictionary)] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/test/lux/control/function/mixin.lux b/stdlib/source/test/lux/control/function/mixin.lux index 3e03102fd..e84f4293a 100644 --- a/stdlib/source/test/lux/control/function/mixin.lux +++ b/stdlib/source/test/lux/control/function/mixin.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/test/lux/control/function/mutual.lux b/stdlib/source/test/lux/control/function/mutual.lux index 433c51b7e..1ec851f5d 100644 --- a/stdlib/source/test/lux/control/function/mutual.lux +++ b/stdlib/source/test/lux/control/function/mutual.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [text ["%" \\format (.only format)]]] [math diff --git a/stdlib/source/test/lux/control/io.lux b/stdlib/source/test/lux/control/io.lux index 6260f5a74..a9185804e 100644 --- a/stdlib/source/test/lux/control/io.lux +++ b/stdlib/source/test/lux/control/io.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/lazy.lux b/stdlib/source/test/lux/control/lazy.lux index 5c9551f71..bdc81dc94 100644 --- a/stdlib/source/test/lux/control/lazy.lux +++ b/stdlib/source/test/lux/control/lazy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/maybe.lux b/stdlib/source/test/lux/control/maybe.lux index 1ca6c8498..6240eb5ec 100644 --- a/stdlib/source/test/lux/control/maybe.lux +++ b/stdlib/source/test/lux/control/maybe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ ["$[0]" apply] ["$[0]" monad]]] [control - ["[0]" io (.open: "[1]#[0]" monad)] + ["[0]" io (.use "[1]#[0]" monad)] ["[0]" pipe]] [data ["[0]" text] @@ -23,7 +23,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" monoid monad)]]) + ["[0]" / (.use "[1]#[0]" monoid monad)]]) (def .public test Test diff --git a/stdlib/source/test/lux/control/parser.lux b/stdlib/source/test/lux/control/parser.lux index 9d852ad86..b9a6da76f 100644 --- a/stdlib/source/test/lux/control/parser.lux +++ b/stdlib/source/test/lux/control/parser.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -14,10 +14,10 @@ [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/control/parser/cli.lux b/stdlib/source/test/lux/control/parser/cli.lux index c0d0ba4f6..46f04712c 100644 --- a/stdlib/source/test/lux/control/parser/cli.lux +++ b/stdlib/source/test/lux/control/parser/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["[0]" try] ["<>" parser]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [macro @@ -16,7 +16,7 @@ [math ["[0]" random] [number - ["n" nat (.open: "[1]#[0]" decimal)]]]]] + ["n" nat (.use "[1]#[0]" decimal)]]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/control/parser/code.lux b/stdlib/source/test/lux/control/parser/code.lux index 959285faa..a3ba95629 100644 --- a/stdlib/source/test/lux/control/parser/code.lux +++ b/stdlib/source/test/lux/control/parser/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except local global) ["_" test (.only Test)] @@ -17,7 +17,7 @@ ["^" pattern] ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" functor)] + ["[0]" random (.only Random) (.use "[1]#[0]" functor)] [number ["[0]" nat] ["[0]" int] diff --git a/stdlib/source/test/lux/control/parser/environment.lux b/stdlib/source/test/lux/control/parser/environment.lux index ad4bb4711..bc4d924b3 100644 --- a/stdlib/source/test/lux/control/parser/environment.lux +++ b/stdlib/source/test/lux/control/parser/environment.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["[0]" try] ["[0]" exception]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary]]] [math @@ -17,7 +17,7 @@ ["n" nat]]]]] [\\library ["[0]" / (.only) - ["/[1]" // (.open: "[1]#[0]" monad)]]]) + ["/[1]" // (.use "[1]#[0]" monad)]]]) (def .public test Test diff --git a/stdlib/source/test/lux/control/parser/tree.lux b/stdlib/source/test/lux/control/parser/tree.lux index 9564e58e1..9ac82705e 100644 --- a/stdlib/source/test/lux/control/parser/tree.lux +++ b/stdlib/source/test/lux/control/parser/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/parser/type.lux b/stdlib/source/test/lux/control/parser/type.lux index 4764eb381..7109f9b76 100644 --- a/stdlib/source/test/lux/control/parser/type.lux +++ b/stdlib/source/test/lux/control/parser/type.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [monad (.only do)]] [control @@ -20,7 +20,7 @@ [number ["n" nat]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence)]]]] + ["[0]" symbol (.use "[1]#[0]" equivalence)]]]] [\\library ["[0]" / (.only) ["/[1]" //]]]) diff --git a/stdlib/source/test/lux/control/pipe.lux b/stdlib/source/test/lux/control/pipe.lux index e818021a2..721b4a975 100644 --- a/stdlib/source/test/lux/control/pipe.lux +++ b/stdlib/source/test/lux/control/pipe.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [monad (.only do)]] [data ["[0]" identity] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random] diff --git a/stdlib/source/test/lux/control/reader.lux b/stdlib/source/test/lux/control/reader.lux index 57d862206..60feab123 100644 --- a/stdlib/source/test/lux/control/reader.lux +++ b/stdlib/source/test/lux/control/reader.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/region.lux b/stdlib/source/test/lux/control/region.lux index 31e6f2f8c..37969d317 100644 --- a/stdlib/source/test/lux/control/region.lux +++ b/stdlib/source/test/lux/control/region.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [type (.only sharing)] diff --git a/stdlib/source/test/lux/control/remember.lux b/stdlib/source/test/lux/control/remember.lux index 2e1a93f38..0ddedd7bd 100644 --- a/stdlib/source/test/lux/control/remember.lux +++ b/stdlib/source/test/lux/control/remember.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -17,7 +17,7 @@ ["%" \\format (.only format)]]] [math [number (.only hex)] - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]] [time ["[0]" date (.only Date)] ["[0]" instant] diff --git a/stdlib/source/test/lux/control/security/capability.lux b/stdlib/source/test/lux/control/security/capability.lux index efaae0687..d61e32bbe 100644 --- a/stdlib/source/test/lux/control/security/capability.lux +++ b/stdlib/source/test/lux/control/security/capability.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/security/policy.lux b/stdlib/source/test/lux/control/security/policy.lux index 52e0f786f..5a403c049 100644 --- a/stdlib/source/test/lux/control/security/policy.lux +++ b/stdlib/source/test/lux/control/security/policy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["$[0]" apply] ["$[0]" monad]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [macro ["^" pattern]] [math diff --git a/stdlib/source/test/lux/control/state.lux b/stdlib/source/test/lux/control/state.lux index 728304f50..988378358 100644 --- a/stdlib/source/test/lux/control/state.lux +++ b/stdlib/source/test/lux/control/state.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/thread.lux b/stdlib/source/test/lux/control/thread.lux index e57457306..40dd3f60f 100644 --- a/stdlib/source/test/lux/control/thread.lux +++ b/stdlib/source/test/lux/control/thread.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/control/try.lux b/stdlib/source/test/lux/control/try.lux index b039e6221..e887e38a8 100644 --- a/stdlib/source/test/lux/control/try.lux +++ b/stdlib/source/test/lux/control/try.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["[0]" pipe] ["[0]" io]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/control/writer.lux b/stdlib/source/test/lux/control/writer.lux index 2b873c6e7..cd37f2c71 100644 --- a/stdlib/source/test/lux/control/writer.lux +++ b/stdlib/source/test/lux/control/writer.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -14,7 +14,7 @@ ["[0]" io]] [data ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data.lux b/stdlib/source/test/lux/data.lux index e4668dfc4..b8f19ff62 100644 --- a/stdlib/source/test/lux/data.lux +++ b/stdlib/source/test/lux/data.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/binary.lux b/stdlib/source/test/lux/data/binary.lux index cdb0d9101..4ae5fc849 100644 --- a/stdlib/source/test/lux/data/binary.lux +++ b/stdlib/source/test/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [ffi (.only)] @@ -21,12 +21,12 @@ [data ["[0]" sum] ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" sequence] ["[0]" set] [array @@ -45,7 +45,7 @@ [meta ["[0]" symbol]]]] [\\library - ["[0]" / (.only) (.open: "[1]#[0]" equivalence) + ["[0]" / (.only) (.use "[1]#[0]" equivalence) ["!" \\unsafe] ["[0]" \\format] ["[0]" \\parser]]]) diff --git a/stdlib/source/test/lux/data/bit.lux b/stdlib/source/test/lux/data/bit.lux index 7b6b72d08..a0ee85ca0 100644 --- a/stdlib/source/test/lux/data/bit.lux +++ b/stdlib/source/test/lux/data/bit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/collection.lux b/stdlib/source/test/lux/data/collection.lux index 2f85ba057..83351d7c1 100644 --- a/stdlib/source/test/lux/data/collection.lux +++ b/stdlib/source/test/lux/data/collection.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/data/collection/array.lux b/stdlib/source/test/lux/data/collection/array.lux index 73d2b7b3a..d2be45fa4 100644 --- a/stdlib/source/test/lux/data/collection/array.lux +++ b/stdlib/source/test/lux/data/collection/array.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,10 +13,10 @@ ["$[0]" equivalence] ["$[0]" functor (.only Injection)]]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" bit] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list] ["[0]" set]]] diff --git a/stdlib/source/test/lux/data/collection/bits.lux b/stdlib/source/test/lux/data/collection/bits.lux index a53a0f042..a96aff9cc 100644 --- a/stdlib/source/test/lux/data/collection/bits.lux +++ b/stdlib/source/test/lux/data/collection/bits.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/collection/dictionary.lux b/stdlib/source/test/lux/data/collection/dictionary.lux index e4207f540..f9eeb51fe 100644 --- a/stdlib/source/test/lux/data/collection/dictionary.lux +++ b/stdlib/source/test/lux/data/collection/dictionary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,13 +9,13 @@ ["$[0]" equivalence] ["$[0]" functor (.only Injection)]]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try] ["[0]" exception]] [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set]]] [math ["[0]" random] diff --git a/stdlib/source/test/lux/data/collection/dictionary/ordered.lux b/stdlib/source/test/lux/data/collection/dictionary/ordered.lux index c90d91cda..24f9415b8 100644 --- a/stdlib/source/test/lux/data/collection/dictionary/ordered.lux +++ b/stdlib/source/test/lux/data/collection/dictionary/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,15 +9,15 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library diff --git a/stdlib/source/test/lux/data/collection/dictionary/plist.lux b/stdlib/source/test/lux/data/collection/dictionary/plist.lux index 46874e2d1..4b83ece89 100644 --- a/stdlib/source/test/lux/data/collection/dictionary/plist.lux +++ b/stdlib/source/test/lux/data/collection/dictionary/plist.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,9 +8,9 @@ ["$[0]" equivalence] ["$[0]" monoid]]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text] [collection ["[0]" set] diff --git a/stdlib/source/test/lux/data/collection/list.lux b/stdlib/source/test/lux/data/collection/list.lux index 61d1f7a0d..c90d09e27 100644 --- a/stdlib/source/test/lux/data/collection/list.lux +++ b/stdlib/source/test/lux/data/collection/list.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -21,7 +21,7 @@ [data ["[0]" bit] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" set]]] [math @@ -30,7 +30,7 @@ ["n" nat] ["[0]" int]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" monad)]]) + ["[0]" / (.use "[1]#[0]" monad)]]) (def bounded_size (Random Nat) diff --git a/stdlib/source/test/lux/data/collection/queue.lux b/stdlib/source/test/lux/data/collection/queue.lux index c5fe69611..d047930f2 100644 --- a/stdlib/source/test/lux/data/collection/queue.lux +++ b/stdlib/source/test/lux/data/collection/queue.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,10 +8,10 @@ ["$[0]" equivalence] ["$[0]" functor (.only Injection)]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" monoid)]]] + ["[0]" list (.use "[1]#[0]" monoid)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data/collection/queue/priority.lux b/stdlib/source/test/lux/data/collection/queue/priority.lux index 9013b4a44..13e01a0b3 100644 --- a/stdlib/source/test/lux/data/collection/queue/priority.lux +++ b/stdlib/source/test/lux/data/collection/queue/priority.lux @@ -1,13 +1,13 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract ["[0]" monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/data/collection/sequence.lux b/stdlib/source/test/lux/data/collection/sequence.lux index c6d9f6d4d..ac58c3008 100644 --- a/stdlib/source/test/lux/data/collection/sequence.lux +++ b/stdlib/source/test/lux/data/collection/sequence.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -15,17 +15,17 @@ ["[0]" try (.only Try)] ["[0]" exception]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" set]]] [math ["[0]" random] [number ["n" nat]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" monad)]]) + ["[0]" / (.use "[1]#[0]" monad)]]) (def signatures Test diff --git a/stdlib/source/test/lux/data/collection/set.lux b/stdlib/source/test/lux/data/collection/set.lux index 7dfd3b682..f4544abf4 100644 --- a/stdlib/source/test/lux/data/collection/set.lux +++ b/stdlib/source/test/lux/data/collection/set.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["$[0]" hash] ["$[0]" monoid]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [math @@ -18,7 +18,7 @@ [number ["n" nat]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.use "[1]#[0]" equivalence)]]) (def gen_nat (Random Nat) diff --git a/stdlib/source/test/lux/data/collection/set/multi.lux b/stdlib/source/test/lux/data/collection/set/multi.lux index 6a05d80c9..1b48f0fd0 100644 --- a/stdlib/source/test/lux/data/collection/set/multi.lux +++ b/stdlib/source/test/lux/data/collection/set/multi.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,10 +10,10 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/data/collection/set/ordered.lux b/stdlib/source/test/lux/data/collection/set/ordered.lux index f95f2e481..8827b719f 100644 --- a/stdlib/source/test/lux/data/collection/set/ordered.lux +++ b/stdlib/source/test/lux/data/collection/set/ordered.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,11 +8,11 @@ [\\specification ["$[0]" equivalence]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library diff --git a/stdlib/source/test/lux/data/collection/stack.lux b/stdlib/source/test/lux/data/collection/stack.lux index 64339fccd..51dbc5dba 100644 --- a/stdlib/source/test/lux/data/collection/stack.lux +++ b/stdlib/source/test/lux/data/collection/stack.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ [control ["[0]" maybe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data/collection/stream.lux b/stdlib/source/test/lux/data/collection/stream.lux index 398873f2f..b8b40e495 100644 --- a/stdlib/source/test/lux/data/collection/stream.lux +++ b/stdlib/source/test/lux/data/collection/stream.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data/collection/tree.lux b/stdlib/source/test/lux/data/collection/tree.lux index a302565f9..6e5c5fde7 100644 --- a/stdlib/source/test/lux/data/collection/tree.lux +++ b/stdlib/source/test/lux/data/collection/tree.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,7 +11,7 @@ [data ["[0]" product] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/data/collection/tree/finger.lux b/stdlib/source/test/lux/data/collection/tree/finger.lux index bad7dec35..2f9e4c374 100644 --- a/stdlib/source/test/lux/data/collection/tree/finger.lux +++ b/stdlib/source/test/lux/data/collection/tree/finger.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence monoid)] + ["[0]" text (.use "[1]#[0]" equivalence monoid)] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data/collection/tree/zipper.lux b/stdlib/source/test/lux/data/collection/tree/zipper.lux index c98560160..19f4d71ed 100644 --- a/stdlib/source/test/lux/data/collection/tree/zipper.lux +++ b/stdlib/source/test/lux/data/collection/tree/zipper.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["$[0]" comonad]]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data ["[0]" product] ["[0]" text] diff --git a/stdlib/source/test/lux/data/color.lux b/stdlib/source/test/lux/data/color.lux index a59494de6..aa77f88f9 100644 --- a/stdlib/source/test/lux/data/color.lux +++ b/stdlib/source/test/lux/data/color.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/color/named.lux b/stdlib/source/test/lux/data/color/named.lux index 4365468df..49aeb9f7f 100644 --- a/stdlib/source/test/lux/data/color/named.lux +++ b/stdlib/source/test/lux/data/color/named.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/format/json.lux b/stdlib/source/test/lux/data/format/json.lux index 1f626c15d..4dd656edd 100644 --- a/stdlib/source/test/lux/data/format/json.lux +++ b/stdlib/source/test/lux/data/format/json.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Variant Record) ["_" test (.only Test)] @@ -17,17 +17,17 @@ ["[0]" pipe] ["[0]" maybe] ["[0]" exception] - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" product] ["[0]" bit] ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" sequence (.only sequence) (.open: "[1]#[0]" functor)] + ["[0]" sequence (.only sequence) (.use "[1]#[0]" functor)] ["[0]" dictionary (.only Dictionary)] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] ["[0]" macro (.only) ["^" pattern] ["[0]" syntax (.only syntax)] @@ -48,7 +48,7 @@ ["[0]" \\polytypic] ["[0]" \\parser] [\\library - ["[0]" / (.only JSON) (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.only JSON) (.use "[1]#[0]" equivalence)]]) (def !expect (template (_ <pattern> <value>) diff --git a/stdlib/source/test/lux/data/format/tar.lux b/stdlib/source/test/lux/data/format/tar.lux index dad5eea06..5cf8a6d35 100644 --- a/stdlib/source/test/lux/data/format/tar.lux +++ b/stdlib/source/test/lux/data/format/tar.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,10 +11,10 @@ ["[0]" exception]] [data ["[0]" product] - ["[0]" binary (.open: "[1]#[0]" equivalence monoid) + ["[0]" binary (.use "[1]#[0]" equivalence monoid) ["<b>" \\parser] ["[0]" \\format]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]] @@ -23,7 +23,7 @@ ["[1]/[0]" block]]] [collection ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [time ["[0]" instant (.only Instant)] ["[0]" duration]] diff --git a/stdlib/source/test/lux/data/format/xml.lux b/stdlib/source/test/lux/data/format/xml.lux index d003276e9..53f9346c0 100644 --- a/stdlib/source/test/lux/data/format/xml.lux +++ b/stdlib/source/test/lux/data/format/xml.lux @@ -1,36 +1,36 @@ -(.using +(.require [library [lux (.except char symbol) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [monad (.only do)] [\\specification ["$[0]" equivalence] ["$[0]" codec]]] [control - ["<>" parser (.open: "[1]#[0]" monad)] + ["<>" parser (.use "[1]#[0]" monad)] ["[0]" maybe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["^" pattern] ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence)]]]] + ["[0]" symbol (.use "[1]#[0]" equivalence)]]]] ["[0]" \\parser] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.use "[1]#[0]" equivalence)]]) (def !expect (template (_ <pattern> <value>) diff --git a/stdlib/source/test/lux/data/identity.lux b/stdlib/source/test/lux/data/identity.lux index b7d1ff001..050117d2d 100644 --- a/stdlib/source/test/lux/data/identity.lux +++ b/stdlib/source/test/lux/data/identity.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/product.lux b/stdlib/source/test/lux/data/product.lux index df2d4dc93..2bfd265f8 100644 --- a/stdlib/source/test/lux/data/product.lux +++ b/stdlib/source/test/lux/data/product.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/sum.lux b/stdlib/source/test/lux/data/sum.lux index fd3f4fecc..d4b18571d 100644 --- a/stdlib/source/test/lux/data/sum.lux +++ b/stdlib/source/test/lux/data/sum.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ [data ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/data/text.lux b/stdlib/source/test/lux/data/text.lux index 15e456a9c..8a71ca938 100644 --- a/stdlib/source/test/lux/data/text.lux +++ b/stdlib/source/test/lux/data/text.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except char) ["_" test (.only Test)] @@ -25,7 +25,7 @@ ["[0]" bit] [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] [tree ["[0]" finger]]] [format @@ -39,7 +39,7 @@ ["^" pattern] ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] ["[0]" modulus] ["[0]" modular] [number @@ -75,7 +75,7 @@ ["[1][0]" unicode ["[1]" set]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]] + ["[0]" / (.use "[1]#[0]" equivalence)]] ["[0]" \\parser] ["[0]" \\format]) diff --git a/stdlib/source/test/lux/data/text/buffer.lux b/stdlib/source/test/lux/data/text/buffer.lux index f11248cd8..3d8e4b250 100644 --- a/stdlib/source/test/lux/data/text/buffer.lux +++ b/stdlib/source/test/lux/data/text/buffer.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/lux/data/text/encoding.lux b/stdlib/source/test/lux/data/text/encoding.lux index a3686fc6a..15c1b5bbb 100644 --- a/stdlib/source/test/lux/data/text/encoding.lux +++ b/stdlib/source/test/lux/data/text/encoding.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,9 +10,9 @@ ["[0]" maybe] ["[0]" try]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" mix)] + ["[0]" list (.use "[1]#[0]" mix)] ["[0]" set]]] [macro ["[0]" template]] diff --git a/stdlib/source/test/lux/data/text/encoding/utf8.lux b/stdlib/source/test/lux/data/text/encoding/utf8.lux index e7cdc660d..e8e4df424 100644 --- a/stdlib/source/test/lux/data/text/encoding/utf8.lux +++ b/stdlib/source/test/lux/data/text/encoding/utf8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/text/escape.lux b/stdlib/source/test/lux/data/text/escape.lux index 082f638c2..b2536f305 100644 --- a/stdlib/source/test/lux/data/text/escape.lux +++ b/stdlib/source/test/lux/data/text/escape.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,8 +12,8 @@ [parser ["<[0]>" code]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.only Char) (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.only Char) (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" set (.only Set)]]] diff --git a/stdlib/source/test/lux/data/text/regex.lux b/stdlib/source/test/lux/data/text/regex.lux index 787d432a6..08403a42d 100644 --- a/stdlib/source/test/lux/data/text/regex.lux +++ b/stdlib/source/test/lux/data/text/regex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] ["<[1]>" \\parser (.only Parser)]]] ["[0]" macro (.only) diff --git a/stdlib/source/test/lux/data/text/unicode/block.lux b/stdlib/source/test/lux/data/text/unicode/block.lux index 4c07e1531..ff4c5b773 100644 --- a/stdlib/source/test/lux/data/text/unicode/block.lux +++ b/stdlib/source/test/lux/data/text/unicode/block.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/data/text/unicode/set.lux b/stdlib/source/test/lux/data/text/unicode/set.lux index e2bbc663c..da4ea8e60 100644 --- a/stdlib/source/test/lux/data/text/unicode/set.lux +++ b/stdlib/source/test/lux/data/text/unicode/set.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,9 +8,9 @@ ["$[0]" equivalence]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection - ["[0]" set (.open: "[1]#[0]" equivalence)]]] + ["[0]" set (.use "[1]#[0]" equivalence)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/debug.lux b/stdlib/source/test/lux/debug.lux index 4888bc61b..77c56d59f 100644 --- a/stdlib/source/test/lux/debug.lux +++ b/stdlib/source/test/lux/debug.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,15 +6,15 @@ [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception] [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]] + ["[0]" list (.use "[1]#[0]" functor)]] [format [json (.only JSON)] [xml (.only XML)]]] diff --git a/stdlib/source/test/lux/documentation.lux b/stdlib/source/test/lux/documentation.lux index ddfc1c876..001e79cfc 100644 --- a/stdlib/source/test/lux/documentation.lux +++ b/stdlib/source/test/lux/documentation.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]] [format ["md" markdown]]] diff --git a/stdlib/source/test/lux/extension.lux b/stdlib/source/test/lux/extension.lux index 81fa7e1df..c61e11805 100644 --- a/stdlib/source/test/lux/extension.lux +++ b/stdlib/source/test/lux/extension.lux @@ -1,4 +1,4 @@ -(.`` (.`` (.using +(.`` (.`` (.require [library [lux (.except) ["[0]" debug] @@ -19,18 +19,18 @@ [abstract ["[0]" monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["<>" parser (.only) ["<[0]>" code]]] [data ["[0]" product] ["[0]" binary (.only) ["[1]F" \\format]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" sequence] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/ffi.js.lux b/stdlib/source/test/lux/ffi.js.lux index 19d33cae6..658afb55b 100644 --- a/stdlib/source/test/lux/ffi.js.lux +++ b/stdlib/source/test/lux/ffi.js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,8 +7,8 @@ [control ["[0]" try]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux index fde11038a..3c6ded17e 100644 --- a/stdlib/source/test/lux/ffi.jvm.lux +++ b/stdlib/source/test/lux/ffi.jvm.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] ["[0]" meta] ["[0]" debug] ["[0]" static] @@ -11,13 +11,13 @@ [control ["[0]" io] ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception] [parser ["<[0]>" code]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" array (.only Array)]]] @@ -26,15 +26,15 @@ ["[0]" code] ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number (.only hex) ["[0]" i64] ["n" nat] - ["i" int (.open: "[1]#[0]" equivalence)] - ["f" frac (.open: "[1]#[0]" equivalence)]]] + ["i" int (.use "[1]#[0]" equivalence)] + ["f" frac (.use "[1]#[0]" equivalence)]]] [target ["[0]" jvm - ["[1]" type (.open: "[1]#[0]" equivalence)]]]]] + ["[1]" type (.use "[1]#[0]" equivalence)]]]]] [\\library ["[0]" /]] ["$[0]" / diff --git a/stdlib/source/test/lux/ffi.lua.lux b/stdlib/source/test/lux/ffi.lua.lux index aac4a2091..7fa095e17 100644 --- a/stdlib/source/test/lux/ffi.lua.lux +++ b/stdlib/source/test/lux/ffi.lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi.old.lux b/stdlib/source/test/lux/ffi.old.lux index 9fc124852..e768fbff8 100644 --- a/stdlib/source/test/lux/ffi.old.lux +++ b/stdlib/source/test/lux/ffi.old.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ [control ["[0]" pipe]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [macro ["[0]" template]] @@ -18,7 +18,7 @@ ["n" nat] ["i" int] ["f" frac]]] - ["[0]" type (.open: "[1]#[0]" equivalence)]]] + ["[0]" type (.use "[1]#[0]" equivalence)]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/ffi.php.lux b/stdlib/source/test/lux/ffi.php.lux index 4e4537188..b047e35fa 100644 --- a/stdlib/source/test/lux/ffi.php.lux +++ b/stdlib/source/test/lux/ffi.php.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [control ["[0]" try]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/ffi.py.lux b/stdlib/source/test/lux/ffi.py.lux index b559ee5c3..55a2597ca 100644 --- a/stdlib/source/test/lux/ffi.py.lux +++ b/stdlib/source/test/lux/ffi.py.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi.rb.lux b/stdlib/source/test/lux/ffi.rb.lux index 7f2c25334..1fc224a9d 100644 --- a/stdlib/source/test/lux/ffi.rb.lux +++ b/stdlib/source/test/lux/ffi.rb.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi.scm.lux b/stdlib/source/test/lux/ffi.scm.lux index 4e4537188..b047e35fa 100644 --- a/stdlib/source/test/lux/ffi.scm.lux +++ b/stdlib/source/test/lux/ffi.scm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [control ["[0]" try]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/ffi/export.js.lux b/stdlib/source/test/lux/ffi/export.js.lux index a0d5dcf16..073463498 100644 --- a/stdlib/source/test/lux/ffi/export.js.lux +++ b/stdlib/source/test/lux/ffi/export.js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi/export.jvm.lux b/stdlib/source/test/lux/ffi/export.jvm.lux index efa8d80fb..b4e827e14 100644 --- a/stdlib/source/test/lux/ffi/export.jvm.lux +++ b/stdlib/source/test/lux/ffi/export.jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,18 +8,18 @@ [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]]] [macro ["[0]" code] ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number (.only hex) ["[0]" i64] - ["[0]" int (.open: "[1]#[0]" equivalence)] - ["[0]" frac (.open: "[1]#[0]" equivalence)]]]]] + ["[0]" int (.use "[1]#[0]" equivalence)] + ["[0]" frac (.use "[1]#[0]" equivalence)]]]]] [\\library ["[0]" / (.only) ["/[1]" //]]]) diff --git a/stdlib/source/test/lux/ffi/export.lua.lux b/stdlib/source/test/lux/ffi/export.lua.lux index 8af9418af..2f3c6fdeb 100644 --- a/stdlib/source/test/lux/ffi/export.lua.lux +++ b/stdlib/source/test/lux/ffi/export.lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi/export.py.lux b/stdlib/source/test/lux/ffi/export.py.lux index a0d5dcf16..073463498 100644 --- a/stdlib/source/test/lux/ffi/export.py.lux +++ b/stdlib/source/test/lux/ffi/export.py.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/ffi/export.rb.lux b/stdlib/source/test/lux/ffi/export.rb.lux index 3b17b4c2c..64b57eee8 100644 --- a/stdlib/source/test/lux/ffi/export.rb.lux +++ b/stdlib/source/test/lux/ffi/export.rb.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/locale.lux b/stdlib/source/test/lux/locale.lux index 8d114aacd..b7c99d34a 100644 --- a/stdlib/source/test/lux/locale.lux +++ b/stdlib/source/test/lux/locale.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,9 +8,9 @@ ["$[0]" equivalence] ["$[0]" hash]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["[0]" encoding (.only Encoding)]] [collection ["[0]" list]]]]] diff --git a/stdlib/source/test/lux/locale/language.lux b/stdlib/source/test/lux/locale/language.lux index 010328aeb..feb665622 100644 --- a/stdlib/source/test/lux/locale/language.lux +++ b/stdlib/source/test/lux/locale/language.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["[0]" text] [collection ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/locale/territory.lux b/stdlib/source/test/lux/locale/territory.lux index 8ad7741d7..5791c88d0 100644 --- a/stdlib/source/test/lux/locale/territory.lux +++ b/stdlib/source/test/lux/locale/territory.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["[0]" text] [collection ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/macro.lux b/stdlib/source/test/lux/macro.lux index bbedbc302..445792fb6 100644 --- a/stdlib/source/test/lux/macro.lux +++ b/stdlib/source/test/lux/macro.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,11 +6,11 @@ [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["<[0]>" code]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format (.only format)]] [collection @@ -18,7 +18,7 @@ [macro ["^" pattern]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" functor)] + ["[0]" random (.only Random) (.use "[1]#[0]" functor)] [number ["n" nat]]] ["[0]" meta (.only) @@ -27,7 +27,7 @@ [\\library ["[0]" / (.only) [syntax (.only syntax)] - ["[0]" code (.open: "[1]#[0]" equivalence)] + ["[0]" code (.use "[1]#[0]" equivalence)] ["[0]" template]]] ["[0]" / ["[1][0]" code] diff --git a/stdlib/source/test/lux/macro/code.lux b/stdlib/source/test/lux/macro/code.lux index ee22f74ce..172aeb2ee 100644 --- a/stdlib/source/test/lux/macro/code.lux +++ b/stdlib/source/test/lux/macro/code.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,9 +12,9 @@ ["[0]" product] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] [meta diff --git a/stdlib/source/test/lux/macro/local.lux b/stdlib/source/test/lux/macro/local.lux index 96d883a6e..708741dfe 100644 --- a/stdlib/source/test/lux/macro/local.lux +++ b/stdlib/source/test/lux/macro/local.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except with) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/macro/pattern.lux b/stdlib/source/test/lux/macro/pattern.lux index b1047a7ea..2f28518bd 100644 --- a/stdlib/source/test/lux/macro/pattern.lux +++ b/stdlib/source/test/lux/macro/pattern.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [macro ["[0]" code]] [math diff --git a/stdlib/source/test/lux/macro/syntax.lux b/stdlib/source/test/lux/macro/syntax.lux index 8af853dbf..f39809d9b 100644 --- a/stdlib/source/test/lux/macro/syntax.lux +++ b/stdlib/source/test/lux/macro/syntax.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/macro/syntax/check.lux b/stdlib/source/test/lux/macro/syntax/check.lux index 5177ef24b..b671b807e 100644 --- a/stdlib/source/test/lux/macro/syntax/check.lux +++ b/stdlib/source/test/lux/macro/syntax/check.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ [math ["[0]" random (.only Random)]] [macro - ["[0]" code (.open: "[1]#[0]" equivalence)]]]] + ["[0]" code (.use "[1]#[0]" equivalence)]]]] [\\library ["[0]" /]] ["$[0]" /// diff --git a/stdlib/source/test/lux/macro/syntax/declaration.lux b/stdlib/source/test/lux/macro/syntax/declaration.lux index 87756b7e3..9a23d3051 100644 --- a/stdlib/source/test/lux/macro/syntax/declaration.lux +++ b/stdlib/source/test/lux/macro/syntax/declaration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/macro/syntax/definition.lux b/stdlib/source/test/lux/macro/syntax/definition.lux index b3fba4489..8238856c9 100644 --- a/stdlib/source/test/lux/macro/syntax/definition.lux +++ b/stdlib/source/test/lux/macro/syntax/definition.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ ["<>" parser (.only) ["<[0]>" code]]] [macro - ["[0]" code (.open: "[1]#[0]" equivalence)]] + ["[0]" code (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]] [meta diff --git a/stdlib/source/test/lux/macro/syntax/export.lux b/stdlib/source/test/lux/macro/syntax/export.lux index f1a4c2ff0..5d2a0d23a 100644 --- a/stdlib/source/test/lux/macro/syntax/export.lux +++ b/stdlib/source/test/lux/macro/syntax/export.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,11 +6,11 @@ [monad (.only do)]] [control ["[0]" maybe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["<[0]>" code]]] [macro - ["[0]" code (.open: "[1]#[0]" equivalence)]] + ["[0]" code (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/macro/syntax/input.lux b/stdlib/source/test/lux/macro/syntax/input.lux index 19c15072d..9a865ff13 100644 --- a/stdlib/source/test/lux/macro/syntax/input.lux +++ b/stdlib/source/test/lux/macro/syntax/input.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/macro/syntax/type/variable.lux b/stdlib/source/test/lux/macro/syntax/type/variable.lux index e811c8a57..f242a972a 100644 --- a/stdlib/source/test/lux/macro/syntax/type/variable.lux +++ b/stdlib/source/test/lux/macro/syntax/type/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [parser ["<[0]>" code]]] [math diff --git a/stdlib/source/test/lux/macro/template.lux b/stdlib/source/test/lux/macro/template.lux index ee2176248..2b8733643 100644 --- a/stdlib/source/test/lux/macro/template.lux +++ b/stdlib/source/test/lux/macro/template.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math.lux b/stdlib/source/test/lux/math.lux index 4d3464ef6..ad1107e49 100644 --- a/stdlib/source/test/lux/math.lux +++ b/stdlib/source/test/lux/math.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/math/infix.lux b/stdlib/source/test/lux/math/infix.lux index badd95dc1..7e5aa1cd0 100644 --- a/stdlib/source/test/lux/math/infix.lux +++ b/stdlib/source/test/lux/math/infix.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/math/logic/continuous.lux b/stdlib/source/test/lux/math/logic/continuous.lux index fd4c1d97f..b16d7d3db 100644 --- a/stdlib/source/test/lux/math/logic/continuous.lux +++ b/stdlib/source/test/lux/math/logic/continuous.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/logic/fuzzy.lux b/stdlib/source/test/lux/math/logic/fuzzy.lux index 8aeab5de4..8336d39ef 100644 --- a/stdlib/source/test/lux/math/logic/fuzzy.lux +++ b/stdlib/source/test/lux/math/logic/fuzzy.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ [functor ["$[0]" contravariant]]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list] ["[0]" set]]] diff --git a/stdlib/source/test/lux/math/modular.lux b/stdlib/source/test/lux/math/modular.lux index bccbdc3e0..b3a516885 100644 --- a/stdlib/source/test/lux/math/modular.lux +++ b/stdlib/source/test/lux/math/modular.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [monad (.only do)] ["[0]" predicate] @@ -16,7 +16,7 @@ ["[0]" exception]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/math/modulus.lux b/stdlib/source/test/lux/math/modulus.lux index c360ffd2d..5109bb34b 100644 --- a/stdlib/source/test/lux/math/modulus.lux +++ b/stdlib/source/test/lux/math/modulus.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/number.lux b/stdlib/source/test/lux/math/number.lux index d5f49461e..eee2638dc 100644 --- a/stdlib/source/test/lux/math/number.lux +++ b/stdlib/source/test/lux/math/number.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/number/complex.lux b/stdlib/source/test/lux/math/number/complex.lux index 2790964d4..dbecb18ad 100644 --- a/stdlib/source/test/lux/math/number/complex.lux +++ b/stdlib/source/test/lux/math/number/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["$[0]" equivalence]]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/test/lux/math/number/frac.lux b/stdlib/source/test/lux/math/number/frac.lux index 9c97d2835..6dd688c59 100644 --- a/stdlib/source/test/lux/math/number/frac.lux +++ b/stdlib/source/test/lux/math/number/frac.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["$[0]" monoid] ["$[0]" codec]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [macro ["[0]" template]] [math diff --git a/stdlib/source/test/lux/math/number/i16.lux b/stdlib/source/test/lux/math/number/i16.lux index 9fbc74498..efc96c804 100644 --- a/stdlib/source/test/lux/math/number/i16.lux +++ b/stdlib/source/test/lux/math/number/i16.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/number/i32.lux b/stdlib/source/test/lux/math/number/i32.lux index 43b9d3547..5c6ae320f 100644 --- a/stdlib/source/test/lux/math/number/i32.lux +++ b/stdlib/source/test/lux/math/number/i32.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/number/i64.lux b/stdlib/source/test/lux/math/number/i64.lux index c389f5119..e281fcb28 100644 --- a/stdlib/source/test/lux/math/number/i64.lux +++ b/stdlib/source/test/lux/math/number/i64.lux @@ -1,9 +1,9 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [abstract [monad (.only do)] [\\specification @@ -13,7 +13,7 @@ [math ["[0]" random (.only Random)]]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence) + ["[0]" / (.use "[1]#[0]" equivalence) [// (.only hex) ["n" nat] ["i" int]]]]) diff --git a/stdlib/source/test/lux/math/number/i8.lux b/stdlib/source/test/lux/math/number/i8.lux index 851d6aef7..c8c791d44 100644 --- a/stdlib/source/test/lux/math/number/i8.lux +++ b/stdlib/source/test/lux/math/number/i8.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/math/number/int.lux b/stdlib/source/test/lux/math/number/int.lux index 9e343f98a..c5fb9e6a2 100644 --- a/stdlib/source/test/lux/math/number/int.lux +++ b/stdlib/source/test/lux/math/number/int.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["$[0]" monoid] ["$[0]" codec]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/test/lux/math/number/nat.lux b/stdlib/source/test/lux/math/number/nat.lux index 9d70c9702..a2ac6589b 100644 --- a/stdlib/source/test/lux/math/number/nat.lux +++ b/stdlib/source/test/lux/math/number/nat.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["$[0]" monoid] ["$[0]" codec]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random]]]] [\\library diff --git a/stdlib/source/test/lux/math/number/ratio.lux b/stdlib/source/test/lux/math/number/ratio.lux index 147853cf7..9865db7ed 100644 --- a/stdlib/source/test/lux/math/number/ratio.lux +++ b/stdlib/source/test/lux/math/number/ratio.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,15 +10,15 @@ ["$[0]" monoid] ["$[0]" codec]]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library ["[0]" / (.only) [// - ["n" nat (.open: "[1]#[0]" equivalence)]]]]) + ["n" nat (.use "[1]#[0]" equivalence)]]]]) (def part (Random Nat) diff --git a/stdlib/source/test/lux/math/number/rev.lux b/stdlib/source/test/lux/math/number/rev.lux index 932ab3e25..570013717 100644 --- a/stdlib/source/test/lux/math/number/rev.lux +++ b/stdlib/source/test/lux/math/number/rev.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["$[0]" monoid] ["$[0]" codec]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random]]]] [\\library @@ -21,7 +21,7 @@ [// (.only hex) ["n" nat] ["f" frac] - ["[0]" i64 (.open: "[1]#[0]" hash)]]]]) + ["[0]" i64 (.use "[1]#[0]" hash)]]]]) (def signature Test diff --git a/stdlib/source/test/lux/meta.lux b/stdlib/source/test/lux/meta.lux index 2b99ba948..51b89ebfc 100644 --- a/stdlib/source/test/lux/meta.lux +++ b/stdlib/source/test/lux/meta.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [equivalence (.only Equivalence)] [monad (.only do)] @@ -12,14 +12,14 @@ ["$[0]" monad]]] [control ["[0]" maybe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)] + ["[0]" list (.use "[1]#[0]" functor monoid)] ["[0]" set]]] [macro ["^" pattern]] @@ -29,7 +29,7 @@ ["n" nat]]] [meta ["[0]" location] - ["[0]" symbol (.open: "[1]#[0]" equivalence)]]]] + ["[0]" symbol (.use "[1]#[0]" equivalence)]]]] [\\library ["[0]" /]] ["[0]" / diff --git a/stdlib/source/test/lux/meta/configuration.lux b/stdlib/source/test/lux/meta/configuration.lux index ff85808b5..c6c78c549 100644 --- a/stdlib/source/test/lux/meta/configuration.lux +++ b/stdlib/source/test/lux/meta/configuration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ ["$[0]" equivalence] ["$[0]" monoid]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception] ["<>" parser (.only) ["<[0]>" code]]] @@ -22,7 +22,7 @@ [syntax (.only syntax)] ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/meta/location.lux b/stdlib/source/test/lux/meta/location.lux index 5016b6aca..de92d9eac 100644 --- a/stdlib/source/test/lux/meta/location.lux +++ b/stdlib/source/test/lux/meta/location.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/meta/symbol.lux b/stdlib/source/test/lux/meta/symbol.lux index 3e279949b..f7825cfe8 100644 --- a/stdlib/source/test/lux/meta/symbol.lux +++ b/stdlib/source/test/lux/meta/symbol.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux index 6767da8dd..360cbaa5f 100644 --- a/stdlib/source/test/lux/meta/version.lux +++ b/stdlib/source/test/lux/meta/version.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/program.lux b/stdlib/source/test/lux/program.lux index 91078279e..fb87397ee 100644 --- a/stdlib/source/test/lux/program.lux +++ b/stdlib/source/test/lux/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/static.lux b/stdlib/source/test/lux/static.lux index ebc642bb7..95896cb7c 100644 --- a/stdlib/source/test/lux/static.lux +++ b/stdlib/source/test/lux/static.lux @@ -1,18 +1,18 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] ["@" target] ["[0]" meta] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [macro ["[0]" code]] [math - ["[0]" random (.open: "[1]#[0]" functor)] + ["[0]" random (.use "[1]#[0]" functor)] [number ["n" nat] ["i" int] diff --git a/stdlib/source/test/lux/target.lux b/stdlib/source/test/lux/target.lux index 549a9059f..f0010eb83 100644 --- a/stdlib/source/test/lux/target.lux +++ b/stdlib/source/test/lux/target.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/target/js.lux b/stdlib/source/test/lux/target/js.lux index 82462679f..2494bf9b3 100644 --- a/stdlib/source/test/lux/target/js.lux +++ b/stdlib/source/test/lux/target/js.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,18 +9,18 @@ [control ["[0]" pipe] ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.only \n) (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.only \n) (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int] diff --git a/stdlib/source/test/lux/target/jvm.lux b/stdlib/source/test/lux/target/jvm.lux index 322631e71..b3cd98618 100644 --- a/stdlib/source/test/lux/target/jvm.lux +++ b/stdlib/source/test/lux/target/jvm.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except Type Primitive Label type int) ["[0]" ffi (.only import)] @@ -13,8 +13,8 @@ [concurrency ["[0]" atom]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] ["[0]" binary ["[1]" \\format]] @@ -23,9 +23,9 @@ ["[0]" dictionary] ["[0]" sequence] ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int] @@ -37,7 +37,7 @@ ["[0]" / ["[1][0]" loader (.only Library)] ["[1][0]" version] - ["[1][0]" modifier (.open: "[1]#[0]" monoid)] + ["[1][0]" modifier (.use "[1]#[0]" monoid)] ["[1][0]" field] ["[1][0]" method (.only Method)] ["[1][0]" class] diff --git a/stdlib/source/test/lux/target/lua.lux b/stdlib/source/test/lux/target/lua.lux index 0ada22cf1..738eb18c4 100644 --- a/stdlib/source/test/lux/target/lua.lux +++ b/stdlib/source/test/lux/target/lua.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,18 +12,18 @@ [control ["[0]" pipe] ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.only \n) (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.only \n) (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int] diff --git a/stdlib/source/test/lux/target/python.lux b/stdlib/source/test/lux/target/python.lux index 44c9e4dc9..7fa88daf7 100644 --- a/stdlib/source/test/lux/target/python.lux +++ b/stdlib/source/test/lux/target/python.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,25 +12,25 @@ ["$[0]" hash]]] [control ["[0]" function] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int] ["f" frac] ["[0]" i64]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.use "[1]#[0]" equivalence)]]) (ffi.import (eval [Text] "try" "?" Any)) diff --git a/stdlib/source/test/lux/target/ruby.lux b/stdlib/source/test/lux/target/ruby.lux index 7c6b3fcf6..234fef0ef 100644 --- a/stdlib/source/test/lux/target/ruby.lux +++ b/stdlib/source/test/lux/target/ruby.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,17 +11,17 @@ ["$[0]" equivalence]]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor)] + ["[0]" list (.use "[1]#[0]" functor)] ["[0]" set]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number (.only hex) ["n" nat] ["i" int] @@ -35,7 +35,7 @@ [world ["[0]" file]]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]]) + ["[0]" / (.use "[1]#[0]" equivalence)]]) (ffi.import (eval [Text] "try" "?" Any)) diff --git a/stdlib/source/test/lux/test.lux b/stdlib/source/test/lux/test.lux index 3cf4b7f51..215c9fab8 100644 --- a/stdlib/source/test/lux/test.lux +++ b/stdlib/source/test/lux/test.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) [abstract @@ -10,7 +10,7 @@ ["[0]" async] ["[0]" atom (.only Atom)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]] [collection ["[0]" list] diff --git a/stdlib/source/test/lux/time.lux b/stdlib/source/test/lux/time.lux index ccce44873..656dfcdbd 100644 --- a/stdlib/source/test/lux/time.lux +++ b/stdlib/source/test/lux/time.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,7 +11,7 @@ ["$[0]" codec]]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" text (.only) diff --git a/stdlib/source/test/lux/time/date.lux b/stdlib/source/test/lux/time/date.lux index 7a805e4ec..c97fd626e 100644 --- a/stdlib/source/test/lux/time/date.lux +++ b/stdlib/source/test/lux/time/date.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["$[0]" enum] ["$[0]" codec]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" text diff --git a/stdlib/source/test/lux/time/day.lux b/stdlib/source/test/lux/time/day.lux index 3f820e733..53271cc96 100644 --- a/stdlib/source/test/lux/time/day.lux +++ b/stdlib/source/test/lux/time/day.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,14 +12,14 @@ ["$[0]" enum] ["$[0]" codec]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data [collection ["[0]" list] ["[0]" set]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library diff --git a/stdlib/source/test/lux/time/duration.lux b/stdlib/source/test/lux/time/duration.lux index 3778516a1..c46204175 100644 --- a/stdlib/source/test/lux/time/duration.lux +++ b/stdlib/source/test/lux/time/duration.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,7 +11,7 @@ ["$[0]" monoid] ["$[0]" codec]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/time/instant.lux b/stdlib/source/test/lux/time/instant.lux index 66ccccb65..3899c04b9 100644 --- a/stdlib/source/test/lux/time/instant.lux +++ b/stdlib/source/test/lux/time/instant.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -15,12 +15,12 @@ ["[0]" io]] [data [collection - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random]] [time ["[0]" duration (.only Duration)] - ["[0]" day (.only Day) (.open: "[1]#[0]" enum)]]]] + ["[0]" day (.only Day) (.use "[1]#[0]" enum)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/time/month.lux b/stdlib/source/test/lux/time/month.lux index 5399a9a87..751d0f3f7 100644 --- a/stdlib/source/test/lux/time/month.lux +++ b/stdlib/source/test/lux/time/month.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,12 +12,12 @@ ["$[0]" enum] ["$[0]" codec]]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/time/year.lux b/stdlib/source/test/lux/time/year.lux index ed50e138b..0e0dee518 100644 --- a/stdlib/source/test/lux/time/year.lux +++ b/stdlib/source/test/lux/time/year.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ ["[0]" try] ["[0]" exception]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [text ["%" \\format (.only format)]]] [math diff --git a/stdlib/source/test/lux/tool.lux b/stdlib/source/test/lux/tool.lux index 25345fcae..8f0d06503 100644 --- a/stdlib/source/test/lux/tool.lux +++ b/stdlib/source/test/lux/tool.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/tool/compiler/arity.lux b/stdlib/source/test/lux/tool/compiler/arity.lux index 6dcbfcac9..ffff0f3e6 100644 --- a/stdlib/source/test/lux/tool/compiler/arity.lux +++ b/stdlib/source/test/lux/tool/compiler/arity.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux index 37b298b3c..4e0aa40a5 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -15,21 +15,21 @@ ["[0]" function] ["[0]" maybe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [macro ["[0]" template]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["i" int] ["f" frac] ["r" rev]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence)] + ["[0]" symbol (.use "[1]#[0]" equivalence)] ["[0]" configuration ["$[1]" \\test]]] [tool @@ -63,7 +63,7 @@ ["[1][0]" symbol] ["[0]" location ["[2][1]" /] - ["[1]" \\library (.open: "[1]#[0]" equivalence)]]]]]]) + ["[1]" \\library (.use "[1]#[0]" equivalence)]]]]]]) (def !expect (template (_ <expectation> <computation>) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/complex.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/complex.lux index b68171b90..069b07187 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/complex.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,11 +8,11 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux index df0ff10b0..9f3d0b5ac 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/coverage.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,23 +9,23 @@ ["$[0]" equivalence]]] [control ["[0]" pipe] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only Exception)]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]] [collection ["[0]" set] ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" functor mix)]]] + ["[0]" list (.use "[1]#[0]" functor mix)]]] [macro ["^" pattern]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number - ["n" nat (.open: "[1]#[0]" interval)] + ["n" nat (.use "[1]#[0]" interval)] ["i" int] ["r" rev] ["f" frac]]]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux index 90d337051..88a527b3e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/inference.lux @@ -1,23 +1,23 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only Exception)]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] ["[0]" macro (.only) ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] [meta @@ -25,7 +25,7 @@ ["$[1]" \\test]] ["[0]" configuration ["$[1]" \\test]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check (.only Check)]]]] [\\library ["[0]" / (.only) @@ -42,7 +42,7 @@ ["[1]/[0]" analysis ["[1]" lux]]]] [/// - ["[2][0]" phase (.open: "[1]#[0]" monad)] + ["[2][0]" phase (.use "[1]#[0]" monad)] [meta ["[0]" archive]]]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux index cf1ee869c..0563892be 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/macro.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,18 +8,18 @@ ["$[0]" equivalence]]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection - ["[0]" list (.open: "[1]#[0]" monad)]]] + ["[0]" list (.use "[1]#[0]" monad)]]] ["[0]" macro (.only) - ["[0]" code (.open: "[1]#[0]" equivalence)]] + ["[0]" code (.use "[1]#[0]" equivalence)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]] ["[0]" meta (.only) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux index fc075bd16..6880c5ad4 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,11 +6,11 @@ ["[0]" monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list] ["[0]" set]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux index e7739df16..c79fae369 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/pattern.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,10 +7,10 @@ [\\specification ["$[0]" equivalence]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["f" frac]]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux index a0c29f7a0..8959c72c9 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/scope.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,8 +6,8 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" product] @@ -26,7 +26,7 @@ [phase ["[1][0]" extension]] [/// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [reference ["[1][0]" variable (.only Register Variable)]]]]]]] ["$[0]" // diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/simple.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/simple.lux index b292022ad..b029f6add 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/simple.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/simple.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,10 +7,10 @@ [\\specification ["$[0]" equivalence]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["f" frac]]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux index 4e02553e4..b67b6bd4a 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/analysis/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" product]] [math @@ -14,7 +14,7 @@ [meta ["[0]" configuration ["$[1]" \\test]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]] [\\library ["[0]" / (.only) @@ -24,7 +24,7 @@ [phase ["[2][0]" extension]] [/// - ["[2][0]" phase (.open: "[1]#[0]" functor)]]]]]]) + ["[2][0]" phase (.use "[1]#[0]" functor)]]]]]]) (def .public random_state (Random Lux) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux index 3ac028ac3..894713848 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -18,7 +18,7 @@ ["[0]" random] [number ["n" nat]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]] [\\library ["[0]" / (.only) @@ -36,7 +36,7 @@ ["[1][0]" type (.only) ["$[1]" \\test]]] [/// - ["[0]" phase (.open: "[1]#[0]" monad)] + ["[0]" phase (.use "[1]#[0]" monad)] [meta ["[0]" archive]]]]]]] ["[0]" / diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux index 5891bb218..0564c82db 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/case.lux @@ -1,11 +1,11 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" product] @@ -15,7 +15,7 @@ ["[0]" code]] [math ["[0]" random]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]] [\\library ["[0]" / (.only) @@ -36,7 +36,7 @@ ["[2][0]" inference ["$[1]" \\test]]] [/// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta ["[0]" archive]]]]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux index 499b7a7ec..0e3b6130b 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/complex.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,22 +6,22 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.only Try) (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.only Try) (.use "[1]#[0]" functor)] ["[0]" exception (.only Exception)]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" text (.only) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" monad monoid)] + ["[0]" list (.use "[1]#[0]" monad monoid)] ["[0]" set]]] ["[0]" macro (.only) ["^" pattern] ["[0]" code]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat] ["f" frac]]] @@ -30,7 +30,7 @@ ["$[1]" \\test]] ["[0]" configuration ["$[1]" \\test]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["[0]" check]]]] [\\library ["[0]" / (.only) @@ -48,7 +48,7 @@ ["[2][0]" complex] ["[2][0]" scope]] [/// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta ["[0]" archive]]]]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux index e5ed71930..bae25b39f 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [monad (.only do)]] [control ["[0]" function] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" product] @@ -23,7 +23,7 @@ [meta ["[0]" symbol ["$[1]" \\test]]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["$[1]" \\test] ["[0]" check]]]] [\\library @@ -43,7 +43,7 @@ ["[2][0]" inference ["$[1]" \\test]]] [/// - ["[1][0]" phase (.open: "[1]#[0]" monad)] + ["[1][0]" phase (.use "[1]#[0]" monad)] [meta ["[0]" archive]]]]]]]]) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux index 20f666efe..fd64eff38 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,14 +6,14 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" product] ["[0]" text]] [math ["[0]" random]] - ["[0]" type (.open: "[1]#[0]" equivalence) + ["[0]" type (.use "[1]#[0]" equivalence) ["$[1]" \\test]]]] [\\library ["[0]" / (.only) @@ -27,7 +27,7 @@ ["[2][0]" type (.only) ["$[1]" \\test]]] [/// - ["[1][0]" phase (.open: "[1]#[0]" monad)]]]]]]]) + ["[1][0]" phase (.use "[1]#[0]" monad)]]]]]]]) (def .public test Test diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux index cfd9df933..ebc162c9e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/simple.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract [monad (.only do)]] [control @@ -24,7 +24,7 @@ ["[2][0]" type] ["[2][0]" module]] [/// - ["[1][0]" phase (.open: "[1]#[0]" functor)]]]]]]) + ["[1][0]" phase (.use "[1]#[0]" functor)]]]]]]) (def (analysis state module type it ?) (-> Lux Text Type (Operation Analysis) (-> Analysis Bit) Bit) diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux index d081e2cbf..08e310f54 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,12 +12,12 @@ ["[0]" try] ["[0]" exception]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" dictionary] - ["[0]" list (.open: "[1]#[0]" mix)]]] + ["[0]" list (.use "[1]#[0]" mix)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux index 72a38e623..2fbfdc967 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/extension/analysis/lux.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except i64 int primitive) [abstract ["[0]" monad (.only do)]] @@ -14,7 +14,7 @@ ["[0]" atom]]] [data ["[0]" product]] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [macro ["[0]" code]] [meta diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux index 9e37ebf65..e4a2814b4 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)]] ["[0]" / diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux index bb45ee381..ba8a98e65 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/case.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract @@ -6,7 +6,7 @@ ["[0]" monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" sum] ["[0]" text (.only) @@ -17,7 +17,7 @@ ["[0]" rev] ["[0]" frac]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix monoid)] + ["[0]" list (.use "[1]#[0]" functor mix monoid)] ["[0]" set]]] [math ["[0]" random (.only Random)]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux index b93fd3c22..44f51ced1 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/function.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract @@ -12,7 +12,7 @@ [number ["n" nat]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix monoid)] + ["[0]" list (.use "[1]#[0]" functor mix monoid)] ["[0]" dictionary (.only Dictionary)] ["[0]" set]]] [macro diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/loop.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/loop.lux index 38058930e..860312b0b 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/loop.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/loop.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except structure loop function) ["_" test (.only Test)] [abstract @@ -10,9 +10,9 @@ [number ["n" nat]] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]] [\\ ["[0]" / [//// diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux index b0fd4e5e2..50526091e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except primitive) [abstract ["[0]" monad (.only do)]] [control @@ -10,7 +10,7 @@ ["n" nat]] [collection ["[0]" list]]] - ["r" math/random (.only Random) (.open: "[1]#[0]" monad)] + ["r" math/random (.only Random) (.use "[1]#[0]" monad)] ["_" test (.only Test)] [meta ["[0]" symbol]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux index 500a45325..ed3f4cf05 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/structure.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) [abstract ["[0]" monad (.only do)]] @@ -10,7 +10,7 @@ ["[0]" pipe] ["[0]" try]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" product] [number ["n" nat]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/variable.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/variable.lux index 6cdbb6ba4..6db68f4c9 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/variable.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/synthesis/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [lux (.except) ["_" test (.only Test)] [abstract @@ -14,7 +14,7 @@ [number ["n" nat]] [collection - ["[0]" list (.open: "[1]#[0]" functor mix)] + ["[0]" list (.use "[1]#[0]" functor mix)] ["[0]" dictionary (.only Dictionary)]]] [macro ["^" pattern]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/syntax.lux b/stdlib/source/test/lux/tool/compiler/language/lux/syntax.lux index 08a7dd4b4..52e957f9c 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/syntax.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/syntax.lux @@ -1,11 +1,11 @@ -(.using +(.require [lux (.except) [abstract/monad (.only do)] [data ["%" text/format (.only format)] [number ["n" nat]]] - ["r" math/random (.only Random) (.open: "[1]#[0]" monad)] + ["r" math/random (.only Random) (.use "[1]#[0]" monad)] ["_" test (.only Test)] [control ["[0]" try] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis.lux index 8b5620394..f0efbce19 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,7 +12,7 @@ ["[0]" bit] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [macro ["^" pattern]] [math diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux index 6b4e22b3a..67022657e 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/member.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/member.lux index cb6eecc2b..f9a892715 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/member.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/member.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,8 +8,8 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/side.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/side.lux index 1fb2caec2..236f373e1 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/side.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/access/side.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,8 +8,8 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/simple.lux b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/simple.lux index 6c6260ba4..67cf4f719 100644 --- a/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/simple.lux +++ b/stdlib/source/test/lux/tool/compiler/language/lux/synthesis/simple.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,8 +8,8 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive.lux b/stdlib/source/test/lux/tool/compiler/meta/archive.lux index 2fe7ddc98..12596c093 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["%" \\format (.only format)]] [collection ["[0]" list] - ["[0]" set (.open: "[1]#[0]" equivalence)] + ["[0]" set (.use "[1]#[0]" equivalence)] ["[0]" sequence]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux index 5bb35f439..4801f7569 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact/category.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact/category.lux index af39aec3d..5eb23ba3e 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/artifact/category.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/artifact/category.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [\\specification ["$[0]" equivalence]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux index 221380e77..fe3230d7c 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/key.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux index 0924b7d6e..33aed16e6 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/module/descriptor.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/module/descriptor.lux index 379fb92de..1357295a1 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/module/descriptor.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/module/descriptor.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,14 +7,14 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] ["[0]" binary ["[1]" \\format] ["<[1]>" \\parser]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux index 0647858d3..4637d7f39 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/module/document.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,7 +6,7 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception]] [data ["[0]" binary @@ -19,7 +19,7 @@ [\\library ["[0]" / (.only) [/// - ["[1][0]" signature (.open: "[1]#[0]" equivalence)] + ["[1][0]" signature (.use "[1]#[0]" equivalence)] ["[1][0]" key]]]] ["[0]" /// ["[1][0]" signature]]) diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux index 2c6a5c206..2a1732cb8 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/registry.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" product] ["[0]" text] @@ -16,7 +16,7 @@ [collection ["[0]" sequence (.only Sequence)] ["[0]" set (.only Set)] - ["[0]" list (.open: "[1]#[0]" mix functor)]]] + ["[0]" list (.use "[1]#[0]" mix functor)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux index 4f21b086b..683ed09b4 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/signature.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,10 +7,10 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] ["[0]" binary ["[1]F" \\format] ["<[1]>" \\parser]]] diff --git a/stdlib/source/test/lux/tool/compiler/meta/archive/unit.lux b/stdlib/source/test/lux/tool/compiler/meta/archive/unit.lux index 2dc7e3477..3bdef20a8 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/archive/unit.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/archive/unit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache.lux b/stdlib/source/test/lux/tool/compiler/meta/cache.lux index ae8df8e37..68ba4e7fb 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux index a05484a04..09821245e 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/archive.lux @@ -1,15 +1,15 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [concurrency ["[0]" async]]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence)] + ["[0]" binary (.use "[1]#[0]" equivalence)] [collection ["[0]" sequence]]] [math diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux index 679bdfc47..7d3fa626d 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/artifact.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,9 +7,9 @@ [control ["[0]" try] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [data - ["[0]" binary (.open: "[1]#[0]" equivalence) + ["[0]" binary (.use "[1]#[0]" equivalence) ["$[1]" \\test]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux index 69993bdf6..0dd66344f 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/module.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["[0]" try] ["[0]" exception] [concurrency - ["[0]" async (.only Async) (.open: "[1]#[0]" monad)]]] + ["[0]" async (.only Async) (.use "[1]#[0]" monad)]]] [math ["[0]" random]] [world diff --git a/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux b/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux index db1ab573d..02d6402fb 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cache/purge.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/tool/compiler/meta/cli.lux b/stdlib/source/test/lux/tool/compiler/meta/cli.lux index f4230a2f8..fe630e128 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cli.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cli.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,20 +6,20 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["<>" parser (.only) ["<[0]>" cli]]] [data ["[0]" product] ["[0]" text] [collection - ["[0]" list (.open: "[1]#[0]" monoid monad)]]] + ["[0]" list (.use "[1]#[0]" monoid monad)]]] [math ["[0]" random (.only Random)] [number ["n" nat]]] [meta - ["[0]" configuration (.open: "[1]#[0]" equivalence) + ["[0]" configuration (.use "[1]#[0]" equivalence) ["$[1]" \\test]]]]] [\\library ["[0]" / (.only) diff --git a/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux b/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux index 988f032f8..66a7997d5 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/cli/compiler.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [\\specification ["$[0]" equivalence]]] [control - ["[0]" try (.open: "[1]#[0]" functor)]] + ["[0]" try (.use "[1]#[0]" functor)]] [data ["[0]" text ["<[1]>" \\parser]]] diff --git a/stdlib/source/test/lux/tool/compiler/meta/context.lux b/stdlib/source/test/lux/tool/compiler/meta/context.lux index 8137243dc..66837e5a3 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/context.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/context.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["[0]" text] [collection ["[0]" set] - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random (.only Random)] [number diff --git a/stdlib/source/test/lux/tool/compiler/meta/export.lux b/stdlib/source/test/lux/tool/compiler/meta/export.lux index 1058fb18c..07c9affa7 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/export.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/export.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,17 +6,17 @@ [monad (.only do)]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] [concurrency ["[0]" async]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [format ["[0]" tar]] - ["[0]" binary (.only Binary) (.open: "[1]#[0]" equivalence) + ["[0]" binary (.only Binary) (.use "[1]#[0]" equivalence) ["<[1]>" \\parser]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/test/lux/tool/compiler/meta/import.lux b/stdlib/source/test/lux/tool/compiler/meta/import.lux index 363fef1e5..6c98680d0 100644 --- a/stdlib/source/test/lux/tool/compiler/meta/import.lux +++ b/stdlib/source/test/lux/tool/compiler/meta/import.lux @@ -1,24 +1,24 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" functor)] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception] [concurrency ["[0]" async]]] [data ["[0]" product] - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" binary (.only Binary) (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" binary (.only Binary) (.use "[1]#[0]" equivalence) ["[0]" \\format] ["<[1]>" \\parser]] ["[0]" format ["[0]" tar (.only Tar)]] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)] [encoding ["[0]" utf8]]] diff --git a/stdlib/source/test/lux/tool/compiler/phase.lux b/stdlib/source/test/lux/tool/compiler/phase.lux index 7a1d960cc..adad18aac 100644 --- a/stdlib/source/test/lux/tool/compiler/phase.lux +++ b/stdlib/source/test/lux/tool/compiler/phase.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,10 +9,10 @@ ["$[0]" monad]]] [control ["[0]" pipe] - ["[0]" try (.open: "[1]#[0]" functor)] + ["[0]" try (.use "[1]#[0]" functor)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random] diff --git a/stdlib/source/test/lux/tool/compiler/reference.lux b/stdlib/source/test/lux/tool/compiler/reference.lux index eda2f8381..73b499525 100644 --- a/stdlib/source/test/lux/tool/compiler/reference.lux +++ b/stdlib/source/test/lux/tool/compiler/reference.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,14 +8,14 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format]]] [math ["[0]" random (.only Random)] [number ["n" nat]]] [meta - ["[0]" symbol (.open: "[1]#[0]" equivalence)]]]] + ["[0]" symbol (.use "[1]#[0]" equivalence)]]]] [\\library ["[0]" / (.only) ["[0]" variable (.only Register)]]] diff --git a/stdlib/source/test/lux/tool/compiler/reference/variable.lux b/stdlib/source/test/lux/tool/compiler/reference/variable.lux index 977fdbaf3..8036cab58 100644 --- a/stdlib/source/test/lux/tool/compiler/reference/variable.lux +++ b/stdlib/source/test/lux/tool/compiler/reference/variable.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["$[0]" equivalence] ["$[0]" hash]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] [math ["[0]" random (.only Random)]]]] [\\library diff --git a/stdlib/source/test/lux/tool/compiler/version.lux b/stdlib/source/test/lux/tool/compiler/version.lux index 695c36644..c2824f567 100644 --- a/stdlib/source/test/lux/tool/compiler/version.lux +++ b/stdlib/source/test/lux/tool/compiler/version.lux @@ -1,12 +1,12 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] [abstract [monad (.only do)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/lux/type.lux b/stdlib/source/test/lux/type.lux index 7972ba4e8..d2c1ba0b1 100644 --- a/stdlib/source/test/lux/type.lux +++ b/stdlib/source/test/lux/type.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except symbol) ["_" test (.only Test)] @@ -10,20 +10,20 @@ ["[0]" pipe] ["[0]" maybe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list] ["[0]" array]]] [macro ["^" pattern] - ["[0]" code (.open: "[1]#[0]" equivalence)]] + ["[0]" code (.use "[1]#[0]" equivalence)]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library - ["[0]" / (.open: "[1]#[0]" equivalence)]] + ["[0]" / (.use "[1]#[0]" equivalence)]] ["[0]" / ["[1][0]" primitive] ["[1][0]" check] diff --git a/stdlib/source/test/lux/type/check.lux b/stdlib/source/test/lux/type/check.lux index ebc227760..194692533 100644 --- a/stdlib/source/test/lux/type/check.lux +++ b/stdlib/source/test/lux/type/check.lux @@ -1,8 +1,8 @@ -(.using +(.require [library [lux (.except type symbol) ["_" test (.only Test)] - ["[0]" type (.open: "[1]#[0]" equivalence)] + ["[0]" type (.use "[1]#[0]" equivalence)] [abstract ["[0]" monad (.only do)] [\\specification @@ -15,17 +15,17 @@ ["[0]" try] ["[0]" exception (.only exception:)]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] ["[0]" product] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection - ["[0]" list (.open: "[1]#[0]" functor monoid)] + ["[0]" list (.use "[1]#[0]" functor monoid)] ["[0]" set]]] [macro ["^" pattern]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)] [number ["n" nat]]]]] [\\library diff --git a/stdlib/source/test/lux/type/dynamic.lux b/stdlib/source/test/lux/type/dynamic.lux index 326c92375..595a1da05 100644 --- a/stdlib/source/test/lux/type/dynamic.lux +++ b/stdlib/source/test/lux/type/dynamic.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -8,7 +8,7 @@ ["[0]" try] ["[0]" exception]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random (.only Random)] diff --git a/stdlib/source/test/lux/type/implicit.lux b/stdlib/source/test/lux/type/implicit.lux index 276a9c051..299ae7464 100644 --- a/stdlib/source/test/lux/type/implicit.lux +++ b/stdlib/source/test/lux/type/implicit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ [monad (.only do)] ["[0]" enum]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [math diff --git a/stdlib/source/test/lux/type/primitive.lux b/stdlib/source/test/lux/type/primitive.lux index 6b6f56535..dfd3aa939 100644 --- a/stdlib/source/test/lux/type/primitive.lux +++ b/stdlib/source/test/lux/type/primitive.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,7 +11,7 @@ [parser ["<[0]>" code]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)]] + ["[0]" text (.use "[1]#[0]" equivalence)]] ["[0]" macro (.only) [syntax (.only syntax)] ["[0]" code] diff --git a/stdlib/source/test/lux/type/quotient.lux b/stdlib/source/test/lux/type/quotient.lux index 6d1d85f6f..72d39b19d 100644 --- a/stdlib/source/test/lux/type/quotient.lux +++ b/stdlib/source/test/lux/type/quotient.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,12 +7,12 @@ [\\specification ["$[0]" equivalence]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random (.only Random)] [number - ["n" nat (.open: "[1]#[0]" equivalence)]]]]] + ["n" nat (.use "[1]#[0]" equivalence)]]]]] [\\library ["[0]" /]]) diff --git a/stdlib/source/test/lux/type/refinement.lux b/stdlib/source/test/lux/type/refinement.lux index b30e4a19d..ce23ba709 100644 --- a/stdlib/source/test/lux/type/refinement.lux +++ b/stdlib/source/test/lux/type/refinement.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -6,10 +6,10 @@ [predicate (.only Predicate)] [monad (.only do)]] [control - ["[0]" maybe (.open: "[1]#[0]" monad)]] + ["[0]" maybe (.use "[1]#[0]" monad)]] [data [collection - ["[0]" list (.open: "[1]#[0]" functor)]]] + ["[0]" list (.use "[1]#[0]" functor)]]] [math ["[0]" random] [number diff --git a/stdlib/source/test/lux/type/resource.lux b/stdlib/source/test/lux/type/resource.lux index 8bd0f85d4..f8e44bcb4 100644 --- a/stdlib/source/test/lux/type/resource.lux +++ b/stdlib/source/test/lux/type/resource.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -16,7 +16,7 @@ ["<[0]>" code]]] [data ["[0]" identity (.only Identity)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] ["[0]" macro (.only) [syntax (.only syntax)] diff --git a/stdlib/source/test/lux/type/unit.lux b/stdlib/source/test/lux/type/unit.lux index 048be4d5b..6835769ba 100644 --- a/stdlib/source/test/lux/type/unit.lux +++ b/stdlib/source/test/lux/type/unit.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/type/unit/scale.lux b/stdlib/source/test/lux/type/unit/scale.lux index 589e553ab..aa5d6fc1a 100644 --- a/stdlib/source/test/lux/type/unit/scale.lux +++ b/stdlib/source/test/lux/type/unit/scale.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ ["[0]" random (.only Random)] [number ["i" int] - ["[0]" ratio (.open: "[1]#[0]" equivalence)]]]]] + ["[0]" ratio (.use "[1]#[0]" equivalence)]]]]] [\\library ["[0]" / (.only) ["/[1]" //]]]) diff --git a/stdlib/source/test/lux/type/variance.lux b/stdlib/source/test/lux/type/variance.lux index 1914fe807..da2b5207c 100644 --- a/stdlib/source/test/lux/type/variance.lux +++ b/stdlib/source/test/lux/type/variance.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/world.lux b/stdlib/source/test/lux/world.lux index 51002f660..19576d27d 100644 --- a/stdlib/source/test/lux/world.lux +++ b/stdlib/source/test/lux/world.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)]]] diff --git a/stdlib/source/test/lux/world/console.lux b/stdlib/source/test/lux/world/console.lux index cc43e3860..acc05df1f 100644 --- a/stdlib/source/test/lux/world/console.lux +++ b/stdlib/source/test/lux/world/console.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -9,7 +9,7 @@ ["[0]" try (.only Try)] ["[0]" exception (.only exception:)]] [data - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]]] [math ["[0]" random]]]] diff --git a/stdlib/source/test/lux/world/file.lux b/stdlib/source/test/lux/world/file.lux index 3f8cb84f4..f287e0652 100644 --- a/stdlib/source/test/lux/world/file.lux +++ b/stdlib/source/test/lux/world/file.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -12,8 +12,8 @@ ["[0]" async (.only Async)] ["[0]" atom (.only Atom)]]] [data - ["[0]" binary (.only Binary) (.open: "[1]#[0]" monoid)] - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" binary (.only Binary) (.use "[1]#[0]" monoid)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary (.only Dictionary)] ["[0]" list]]] diff --git a/stdlib/source/test/lux/world/file/watch.lux b/stdlib/source/test/lux/world/file/watch.lux index 78e239524..21e653751 100644 --- a/stdlib/source/test/lux/world/file/watch.lux +++ b/stdlib/source/test/lux/world/file/watch.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -11,13 +11,13 @@ [concurrency ["[0]" async (.only Async)]]] [data - ["[0]" binary (.only Binary) (.open: "[1]#[0]" equivalence)] - ["[0]" text (.open: "[1]#[0]" equivalence) + ["[0]" binary (.only Binary) (.use "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence) ["%" \\format (.only format)]] [collection ["[0]" list]]] [math - ["[0]" random (.only Random) (.open: "[1]#[0]" monad)]]]] + ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]] [\\library ["[0]" / (.only) ["/[1]" //]]] diff --git a/stdlib/source/test/lux/world/input/keyboard.lux b/stdlib/source/test/lux/world/input/keyboard.lux index a2db959e7..fdb0dda38 100644 --- a/stdlib/source/test/lux/world/input/keyboard.lux +++ b/stdlib/source/test/lux/world/input/keyboard.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,7 +7,7 @@ [control ["[0]" maybe]] [data - ["[0]" bit (.open: "[1]#[0]" equivalence)] + ["[0]" bit (.use "[1]#[0]" equivalence)] [collection ["[0]" list] ["[0]" set (.only Set)]]] diff --git a/stdlib/source/test/lux/world/net/http/client.lux b/stdlib/source/test/lux/world/net/http/client.lux index 1572f30d3..ee7ed16d2 100644 --- a/stdlib/source/test/lux/world/net/http/client.lux +++ b/stdlib/source/test/lux/world/net/http/client.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -10,7 +10,7 @@ ["[0]" try (.only Try)] ["[0]" function] [concurrency - ["[0]" async (.open: "[1]#[0]" functor)]]] + ["[0]" async (.use "[1]#[0]" functor)]]] [data ["[0]" binary] ["[0]" product] diff --git a/stdlib/source/test/lux/world/net/http/status.lux b/stdlib/source/test/lux/world/net/http/status.lux index 4ba760537..1dfd7833b 100644 --- a/stdlib/source/test/lux/world/net/http/status.lux +++ b/stdlib/source/test/lux/world/net/http/status.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except all) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/world/output/video/resolution.lux b/stdlib/source/test/lux/world/output/video/resolution.lux index d7fa6e20b..1135566e6 100644 --- a/stdlib/source/test/lux/world/output/video/resolution.lux +++ b/stdlib/source/test/lux/world/output/video/resolution.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] diff --git a/stdlib/source/test/lux/world/program.lux b/stdlib/source/test/lux/world/program.lux index dac2768c9..545401bee 100644 --- a/stdlib/source/test/lux/world/program.lux +++ b/stdlib/source/test/lux/world/program.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -7,13 +7,13 @@ [control ["[0]" pipe] ["[0]" io] - ["[0]" maybe (.open: "[1]#[0]" functor)] + ["[0]" maybe (.use "[1]#[0]" functor)] ["[0]" try] ["[0]" exception] [parser [environment (.only Environment)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" dictionary] ["[0]" list]]] diff --git a/stdlib/source/test/lux/world/shell.lux b/stdlib/source/test/lux/world/shell.lux index dd83fd31b..6a3679e3d 100644 --- a/stdlib/source/test/lux/world/shell.lux +++ b/stdlib/source/test/lux/world/shell.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["_" test (.only Test)] @@ -13,7 +13,7 @@ [parser ["[0]" environment (.only Environment)]]] [data - ["[0]" text (.open: "[1]#[0]" equivalence)] + ["[0]" text (.use "[1]#[0]" equivalence)] [collection ["[0]" list]]] [math diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux index a59239afb..c5774734c 100644 --- a/stdlib/source/unsafe/lux/data/binary.lux +++ b/stdlib/source/unsafe/lux/data/binary.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except) ["@" target] diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux index ef81167d2..b0c56e886 100644 --- a/stdlib/source/unsafe/lux/data/collection/array.lux +++ b/stdlib/source/unsafe/lux/data/collection/array.lux @@ -1,4 +1,4 @@ -(.using +(.require [library [lux (.except type list) ["@" target] |