Skip to content

Commit 16b01e5

Browse files
authored
Remove "both forms are equivalent"
Only one form is listed. Alternatively, perhaps this is the wrong change and the other form needs to be implemented---I am too ignorant to know (which is why I was reading this page).
1 parent 37a954f commit 16b01e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/docs/reference/metaprogramming/macros.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ title: "Macros"
66
### Macros: Quotes and Splices
77

88
Macros are built on two well-known fundamental operations: quotation and
9-
splicing. Quotation is expressed as `'{...}` for expressions (both forms are
10-
equivalent) and as `'[...]` for types. Splicing is expressed as `${ ... }`.
11-
Additionally, within a quote or a splice we can quote or splice identifiers
12-
directly (i.e. `'e` and `$e`). Readers may notice the resemblance of the two
13-
aforementioned syntactic schemes with the familiar string interpolation syntax.
9+
splicing. Quotation is expressed as `'{...}` for expressions and as `'[...]`
10+
for types. Splicing is expressed as `${ ... }`. Additionally, within a quote
11+
or a splice we can quote or splice identifiers directly (i.e. `'e` and `$e`).
12+
Readers may notice the resemblance of the two aforementioned syntactic
13+
schemes with the familiar string interpolation syntax.
1414

1515
```scala
1616
println(s"Hello, $name, here is the result of 1 + 1 = ${1 + 1}")

0 commit comments

Comments
 (0)