From 16b01e54d03085f16821165ff100ff52ad76d8f2 Mon Sep 17 00:00:00 2001 From: Keith Pinson <3661051+Kazark@users.noreply.github.com> Date: Mon, 13 Jan 2020 10:33:24 -0700 Subject: [PATCH] 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). --- docs/docs/reference/metaprogramming/macros.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/reference/metaprogramming/macros.md b/docs/docs/reference/metaprogramming/macros.md index 984a0550c794..2d05eb2d2a21 100644 --- a/docs/docs/reference/metaprogramming/macros.md +++ b/docs/docs/reference/metaprogramming/macros.md @@ -6,11 +6,11 @@ title: "Macros" ### Macros: Quotes and Splices Macros are built on two well-known fundamental operations: quotation and -splicing. Quotation is expressed as `'{...}` for expressions (both forms are -equivalent) and as `'[...]` for types. Splicing is expressed as `${ ... }`. -Additionally, within a quote or a splice we can quote or splice identifiers -directly (i.e. `'e` and `$e`). Readers may notice the resemblance of the two -aforementioned syntactic schemes with the familiar string interpolation syntax. +splicing. Quotation is expressed as `'{...}` for expressions and as `'[...]` +for types. Splicing is expressed as `${ ... }`. Additionally, within a quote +or a splice we can quote or splice identifiers directly (i.e. `'e` and `$e`). +Readers may notice the resemblance of the two aforementioned syntactic +schemes with the familiar string interpolation syntax. ```scala println(s"Hello, $name, here is the result of 1 + 1 = ${1 + 1}")