Skip to content

Commit 5fbeabd

Browse files
committed
addressed review comment
1 parent 90ed18b commit 5fbeabd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/reference/metaprogramming/macros-spec.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ private def dynamicPower(x: Double, n: Int): Double =
196196
else x * dynamicPower(x, n - 1)
197197
```
198198

199-
This assumes a `.value` that maps tree nodes representing constants to their values.
199+
In the above, the method `.value` maps a constant expression of the type
200+
`Expr[T]` to its value of the type `T`.
200201

201202
With the right extractors, the "AsFunction" conversion
202203
that maps expressions over functions to functions over expressions can

0 commit comments

Comments
 (0)