Skip to content

Commit ceac4a0

Browse files
committed
edits to the docs change in c47d6e7
1 parent c47d6e7 commit ceac4a0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

redex-doc/redex/scribblings/ref/terms.scrbl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ stands for repetition unless otherwise indicated):
2929
(in-hole term term)
3030
hole
3131
(mf-apply identifier term ...)
32-
literal]
32+
datum]
3333
[term-sequence
3434
term
3535
,@expr
@@ -63,15 +63,18 @@ them.}
6363
@item{A term written @racket[(mf-apply f arg ...)] asserts that @racket[f]
6464
is a @tech{metafunction} and produces the term @racket[(f arg ...)].}
6565

66-
@item{A term written as a literal produces that literal.
66+
@item{A term written as any other @tech[#:doc '(lib "scribblings/reference/reference.scrbl")]{datum}
67+
not listed above produces that @tech[#:doc '(lib "scribblings/reference/reference.scrbl")]{datum}.
68+
For example, @racket[(term (1 x #t))] is the same as @racket['(1 x #t)].
69+
6770
Term substitution and metafunction application do not occur
68-
within literal values. For example,
71+
within compound @tech[#:doc '(lib "scribblings/reference/reference.scrbl")]{datums}. For example,
6972

7073
@racketblock[
7174
(term-let ([a 1]) (term #hash((x . a))))
7275
]
7376

74-
Evaluates to @racket['#hash((x . a))], not @racket['#hash((x . 1))].}
77+
is the same as @racket['#hash((x . a))], not @racket['#hash((x . 1))].}
7578
]
7679

7780
@defform*[[(term @#,tttterm) (term @#,tttterm #:lang lang-id)]]{

0 commit comments

Comments
 (0)