aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/debug.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 00:38:20 -0400
committerEduardo Julian2022-06-12 00:38:20 -0400
commitb48ea68a83d01903554c7696c77eedaaf1035680 (patch)
treec342d8094c3158de16526f874ca9624418cd2dd2 /stdlib/source/library/lux/debug.lux
parent7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff)
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'stdlib/source/library/lux/debug.lux')
-rw-r--r--stdlib/source/library/lux/debug.lux18
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/library/lux/debug.lux b/stdlib/source/library/lux/debug.lux
index 64f1cb80f..942db335e 100644
--- a/stdlib/source/library/lux/debug.lux
+++ b/stdlib/source/library/lux/debug.lux
@@ -146,7 +146,7 @@
(def: .public (inspection value)
Inspector
(with_expansions [<jvm> (let [object (as java/lang/Object value)]
- (`` (<| (~~ (template [<class> <processing>]
+ (`` (<| (~~ (with_template [<class> <processing>]
[(case (ffi.as <class> object)
{.#Some value}
(`` (|> value (~~ (template.spliced <processing>))))
@@ -184,7 +184,7 @@
@.js
(case (ffi.type_of value)
- (^.template [<type_of> <then>]
+ (^.with_template [<type_of> <then>]
[<type_of>
(`` (|> value (~~ (template.spliced <then>))))])
(["boolean" [(as .Bit) %.bit]]
@@ -219,7 +219,7 @@
@.python
(case (..str (..type value))
- (^.template [<type_of> <class_of> <then>]
+ (^.with_template [<type_of> <class_of> <then>]
[(^.or <type_of> <class_of>)
(`` (|> value (~~ (template.spliced <then>))))])
(["<type 'bool'>" "<class 'bool'>" [(as .Bit) %.bit]]
@@ -251,7 +251,7 @@
@.lua
(case (..type value)
- (^.template [<type_of> <then>]
+ (^.with_template [<type_of> <then>]
[<type_of>
(`` (|> value (~~ (template.spliced <then>))))])
(["boolean" [(as .Bit) %.bit]]
@@ -292,7 +292,7 @@
(as ..Object)
Object::to_s)]]
(let [value_class (class_of value)]
- (`` (cond (~~ (template [<literal> <type> <format>]
+ (`` (cond (~~ (with_template [<literal> <type> <format>]
[(same? (class_of <literal>) value_class)
(|> value (as <type>) <format>)]
@@ -324,7 +324,7 @@
@.php
(case (..gettype value)
- (^.template [<type_of> <then>]
+ (^.with_template [<type_of> <then>]
[<type_of>
(`` (|> value (~~ (template.spliced <then>))))])
(["boolean" [(as .Bit) %.bit]]
@@ -350,7 +350,7 @@
(..strval value))
@.scheme
- (`` (cond (~~ (template [<when> <then>]
+ (`` (cond (~~ (with_template [<when> <then>]
[(<when> value)
(`` (|> value (~~ (template.spliced <then>))))]
@@ -394,7 +394,7 @@
[_ (<type>.exactly Any)]
(in (function.constant "[]")))
- (~~ (template [<type> <formatter>]
+ (~~ (with_template [<type> <formatter>]
[(do <>.monad
[_ (<type>.sub <type>)]
(in (|>> (as <type>) <formatter>)))]
@@ -410,7 +410,7 @@
(def: (special_representation representation)
(-> (Parser Representation) (Parser Representation))
(`` (all <>.either
- (~~ (template [<type> <formatter>]
+ (~~ (with_template [<type> <formatter>]
[(do <>.monad
[_ (<type>.sub <type>)]
(in (|>> (as <type>) <formatter>)))]