aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
authorEduardo Julian2022-03-30 13:12:18 -0400
committerEduardo Julian2022-03-30 13:12:18 -0400
commit1a962ee4b03f51f46a5979bfefc954f35ee3a1b7 (patch)
treeb042049a8ff6036007d57c8253ce203a1ed90744 /stdlib/source/documentation
parent220c804f9136c73058802575ee49f3f769d5599f (diff)
Re-named "as_is" to "these" to avoid confusion with the new type-annotation macro names.
Diffstat (limited to '')
-rw-r--r--stdlib/source/documentation/lux.lux6
-rw-r--r--stdlib/source/documentation/lux/control/concurrency/actor.lux22
-rw-r--r--stdlib/source/documentation/lux/control/parser/analysis.lux2
-rw-r--r--stdlib/source/documentation/lux/world/console.lux4
-rw-r--r--stdlib/source/documentation/lux/world/file.lux10
-rw-r--r--stdlib/source/documentation/lux/world/file/watch.lux8
-rw-r--r--stdlib/source/documentation/lux/world/net/http/client.lux4
-rw-r--r--stdlib/source/documentation/lux/world/shell.lux4
8 files changed, 30 insertions, 30 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index 823f6efc4..be907a73d 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -831,10 +831,10 @@
[(template: (square x)
(* x x))])
-(documentation: /.as_is
+(documentation: /.these
(format "Given a (potentially empty) list of codes, just returns them immediately, without any work done."
\n "This may seen useless, but it has its utility when dealing with controlled-macro-expansion macros.")
- [(with_expansions [<operands> (as_is 1
+ [(with_expansions [<operands> (these 1
2
3
4)]
@@ -1000,7 +1000,7 @@
..undefined
..type_of
..template:
- ..as_is
+ ..these
..char
..for
..``
diff --git a/stdlib/source/documentation/lux/control/concurrency/actor.lux b/stdlib/source/documentation/lux/control/concurrency/actor.lux
index 408a6f897..4a7199952 100644
--- a/stdlib/source/documentation/lux/control/concurrency/actor.lux
+++ b/stdlib/source/documentation/lux/control/concurrency/actor.lux
@@ -1,14 +1,14 @@
(.using
- [library
- [lux {"-" if loop}
- ["$" documentation {"+" documentation:}]
- [data
- [text {"+" \n}
- ["%" format {"+" format}]]]
- [macro
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux {"-" if loop}
+ ["$" documentation {"+" documentation:}]
+ [data
+ [text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: (/.Actor state)
"An entity that can react to messages (mail) sent to it concurrently.")
@@ -44,7 +44,7 @@
(format "Kills the actor by sending mail that will kill it upon processing,"
\n "but allows the actor to handle previous mail."))
-(with_expansions [<examples> (as_is (actor: .public (stack a)
+(with_expansions [<examples> (these (actor: .public (stack a)
(List a)
((on_mail mail state self)
diff --git a/stdlib/source/documentation/lux/control/parser/analysis.lux b/stdlib/source/documentation/lux/control/parser/analysis.lux
index c2a58f279..aa4542f2d 100644
--- a/stdlib/source/documentation/lux/control/parser/analysis.lux
+++ b/stdlib/source/documentation/lux/control/parser/analysis.lux
@@ -27,7 +27,7 @@
"Checks whether there are no more inputs.")
(template [<query> <assertion>]
- [(`` (as_is (`` (documentation: <query>
+ [(`` (these (`` (documentation: <query>
(format "Queries for a " (~~ (template.text [<query>])) " value.")))
(`` (documentation: <assertion>
(format "Assert a specific " (~~ (template.text [<query>])) " value.")))))]
diff --git a/stdlib/source/documentation/lux/world/console.lux b/stdlib/source/documentation/lux/world/console.lux
index 63c9c60f5..bc7cd8818 100644
--- a/stdlib/source/documentation/lux/world/console.lux
+++ b/stdlib/source/documentation/lux/world/console.lux
@@ -38,8 +38,8 @@
..Mock
..mock
($.default /.async)
- (~~ (for @.jvm (~~ (as_is ($.default /.cannot_open)
+ (~~ (for @.jvm (~~ (these ($.default /.cannot_open)
($.default /.cannot_close)
($.default /.default)))
- (~~ (as_is))))]
+ (~~ (these))))]
[]))))
diff --git a/stdlib/source/documentation/lux/world/file.lux b/stdlib/source/documentation/lux/world/file.lux
index c9f9168a1..7d4bddcc6 100644
--- a/stdlib/source/documentation/lux/world/file.lux
+++ b/stdlib/source/documentation/lux/world/file.lux
@@ -72,10 +72,10 @@
($.default /.cannot_make_directory)
($.default /.cannot_find_directory)
($.default /.cannot_read_all_data)
- (~~ (for @.jvm (~~ (as_is ($.default /.cannot_modify_file)
+ (~~ (for @.jvm (~~ (these ($.default /.cannot_modify_file)
($.default /.default)))
- @.js (~~ (as_is ($.default /.default)))
- @.python (~~ (as_is ($.default /.default)))
- @.ruby (~~ (as_is ($.default /.default)))
- (~~ (as_is))))]
+ @.js (~~ (these ($.default /.default)))
+ @.python (~~ (these ($.default /.default)))
+ @.ruby (~~ (these ($.default /.default)))
+ (~~ (these))))]
[/watch.documentation]))))
diff --git a/stdlib/source/documentation/lux/world/file/watch.lux b/stdlib/source/documentation/lux/world/file/watch.lux
index 3db866343..3cf437056 100644
--- a/stdlib/source/documentation/lux/world/file/watch.lux
+++ b/stdlib/source/documentation/lux/world/file/watch.lux
@@ -34,9 +34,9 @@
\n "Must be given a path separator for the file-system.")
[(mock separator)])
-(for @.jvm (as_is (documentation: /.default
+(for @.jvm (these (documentation: /.default
"The default watcher for the default file-system."))
- (as_is))
+ (these))
(.def: .public documentation
(.List $.Module)
@@ -56,6 +56,6 @@
($.default /.all)
($.default /.not_being_watched)
($.default /.cannot_poll_a_non_existent_directory)
- (~~ (for @.jvm (~~ (as_is ..default))
- (~~ (as_is))))]
+ (~~ (for @.jvm (~~ (these ..default))
+ (~~ (these))))]
[]))))
diff --git a/stdlib/source/documentation/lux/world/net/http/client.lux b/stdlib/source/documentation/lux/world/net/http/client.lux
index 17912d11e..a84745c73 100644
--- a/stdlib/source/documentation/lux/world/net/http/client.lux
+++ b/stdlib/source/documentation/lux/world/net/http/client.lux
@@ -48,6 +48,6 @@
..trace
($.default /.async)
($.default /.headers)
- (~~ (for @.jvm (~~ (as_is ($.default /.default)))
- (~~ (as_is))))]
+ (~~ (for @.jvm (~~ (these ($.default /.default)))
+ (~~ (these))))]
[]))))
diff --git a/stdlib/source/documentation/lux/world/shell.lux b/stdlib/source/documentation/lux/world/shell.lux
index b1b8a1de5..cccc8dc3e 100644
--- a/stdlib/source/documentation/lux/world/shell.lux
+++ b/stdlib/source/documentation/lux/world/shell.lux
@@ -50,7 +50,7 @@
($.default /.normal)
($.default /.error)
($.default /.async)
- (~~ (for @.jvm (~~ (as_is ($.default /.no_more_output)
+ (~~ (for @.jvm (~~ (these ($.default /.no_more_output)
($.default /.default)))
- (~~ (as_is))))]
+ (~~ (these))))]
[]))))