@ -345,7 +345,7 @@ Returns @racket[#t] if @racket[_attrs] and @racket[_other-attrs] contain the sam
(attr-ref
(attr-ref
[tx txexpr?]
[tx txexpr?]
[key can-be-txexpr-attr-key?])
[key can-be-txexpr-attr-key?])
txexpr-attr-value?]
can-be-txexpr-attr-value?]
Given a @racket[_key], look up the corresponding @racket[_value] in the attributes of a @racket[_txexpr]. Asking for a nonexistent key produces an error.
Given a @racket[_key], look up the corresponding @racket[_value] in the attributes of a @racket[_txexpr]. Asking for a nonexistent key produces an error.
@examples[#:eval my-eval
@examples[#:eval my-eval
@ -358,7 +358,7 @@ Given a @racket[_key], look up the corresponding @racket[_value] in the attribut
(attr-ref*
(attr-ref*
[tx txexpr?]
[tx txexpr?]
[key can-be-txexpr-attr-key?])
[key can-be-txexpr-attr-key?])
(listof txexpr-attr-value?)]
(listof can-be-txexpr-attr-value?)]
Like @racket[attr-ref], but returns a recursively gathered list of all the @racket[_value]s for that key within @racket[_tx]. Asking for a nonexistent key produces @racket[null].
Like @racket[attr-ref], but returns a recursively gathered list of all the @racket[_value]s for that key within @racket[_tx]. Asking for a nonexistent key produces @racket[null].
@examples[#:eval my-eval
@examples[#:eval my-eval
@ -372,9 +372,9 @@ Like @racket[attr-ref], but returns a recursively gathered list of all the @rack
(attr-set
(attr-set
[tx txexpr?]
[tx txexpr?]
[key can-be-txexpr-attr-key?]
[key can-be-txexpr-attr-key?]
[value txexpr-attr-value?])
[value can-be-txexpr-attr-value?])
txexpr?]
txexpr?]
Given a @racket[_txexpr], set the value of attribute @racket[_key] to @racket[_value]. The function returns the updated @racket[_txexpr].
Given a @racket[_txexpr], set the value of attribute @racket[_key] to @racket[_value]. Return the updated @racket[_txexpr].