File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
redex-doc/redex/scribblings/ref Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ stands for repetition unless otherwise indicated):
29
29
(in-hole term term)
30
30
hole
31
31
(mf-apply identifier term ... )
32
- literal ]
32
+ datum ]
33
33
[term-sequence
34
34
term
35
35
,@expr
@@ -63,15 +63,18 @@ them.}
63
63
@item{A term written @racket[(mf-apply f arg ... )] asserts that @racket[f]
64
64
is a @tech{metafunction} and produces the term @racket[(f arg ... )].}
65
65
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
+
67
70
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,
69
72
70
73
@racketblock[
71
74
(term-let ([a 1 ]) (term #hash((x . a))))
72
75
]
73
76
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 ))].}
75
78
]
76
79
77
80
@defform*[[(term @#,tttterm) (term @#,tttterm #:lang lang-id)]]{
You can’t perform that action at this time.
0 commit comments