File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,15 @@ counted inwards from the outer-most nesting. This was changed to count
302
302
outwards from the inner-most nesting so that expressions can be copied
303
303
to a different nesting depth without needing to change them.
304
304
305
+ This RFC proposes using ` ${ ... } ` as the delimiter for metavariable
306
+ expressions. Available alternatives are:
307
+ * ` $[ ... ] ` , e.g.: ` $[count(value)] `
308
+ * ` $: ` , e.g. ` $:count(value) `
309
+ * ` $@ ` , e.g. ` $@count(value) `
310
+ * ` $! ` , e.g. ` $!count(value) `
311
+ * Another sigil, although ` # ` should be avoided to avoid clashes with the
312
+ ` quote! ` macro.
313
+
305
314
# Prior art
306
315
[ prior-art ] : #prior-art
307
316
@@ -345,4 +354,5 @@ expander to produce.
345
354
346
355
The syntax ` $[...] ` is still invalid, and so remains available for any other
347
356
extensions which may come in the future and don't fit in with metavariable
348
- expression syntax.
357
+ expression syntax. Additionally, any symbol after ` $ ` is also invalid, so
358
+ other sequences, such as ` $@ ` , are available.
You can’t perform that action at this time.
0 commit comments