aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/target/r.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/target/r.lux')
-rw-r--r--stdlib/source/library/lux/target/r.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/target/r.lux b/stdlib/source/library/lux/target/r.lux
index 2499ce6c2..6e0b19d2a 100644
--- a/stdlib/source/library/lux/target/r.lux
+++ b/stdlib/source/library/lux/target/r.lux
@@ -26,7 +26,7 @@
Text
(template [<type> <super>+]
- [(with_expansions [<kind> (template.identifier [<type> "'"])]
+ [(with_expansions [<kind> (template.symbol [<type> "'"])]
(abstract: .public (<kind> kind) Any)
(`` (type: .public <type> (|> Any <kind> (~~ (template.spliced <super>+))))))]
@@ -34,7 +34,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<kind> (template.identifier [<type> "'"])]
+ [(with_expansions [<kind> (template.symbol [<type> "'"])]
(abstract: .public (<kind> kind) Any)
(`` (type: .public (<type> <brand>) (|> <brand> <kind> (~~ (template.spliced <super>+))))))]
@@ -208,13 +208,13 @@
0 (.list)
_ (|> arity
list.indices
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -223,7 +223,7 @@
(..apply (.list <inputs>) function))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(-> [<types>] Expression)
(<apply> (..var <function>))))]