corrections from @jltaylor-us
original commit: a499d394300750ad18278469e2196ca021d9e4aa
This commit is contained in:
parent
211fe4cbd7
commit
c9135367bc
|
@ -485,7 +485,7 @@ syntax for ephemeron pairs.
|
||||||
\endschemedisplay
|
\endschemedisplay
|
||||||
|
|
||||||
\noindent
|
\noindent
|
||||||
As for weak pairs, the last two expressions of the middle example
|
As with weak pairs, the last two expressions of the middle example
|
||||||
above may in fact return \scheme{(a . b)} if a garbage collection
|
above may in fact return \scheme{(a . b)} if a garbage collection
|
||||||
promoting the pair into an older generation occurs prior to the
|
promoting the pair into an older generation occurs prior to the
|
||||||
assignment of \scheme{x} to \scheme{*}. In the last example above,
|
assignment of \scheme{x} to \scheme{*}. In the last example above,
|
||||||
|
@ -504,7 +504,7 @@ reference, and that non-weak reference prevents the car field from becoming
|
||||||
\schemedisplay
|
\schemedisplay
|
||||||
(ephemeron-pair? (ephemeron-cons 'a 'b)) ;=> #t
|
(ephemeron-pair? (ephemeron-cons 'a 'b)) ;=> #t
|
||||||
(ephemeron-pair? (cons 'a 'b)) ;=> #f
|
(ephemeron-pair? (cons 'a 'b)) ;=> #f
|
||||||
(ephemeron-pair? (weaj-cons 'a 'b)) ;=> #f
|
(ephemeron-pair? (weak-cons 'a 'b)) ;=> #f
|
||||||
(ephemeron-pair? "oops") ;=> #f
|
(ephemeron-pair? "oops") ;=> #f
|
||||||
\endschemedisplay
|
\endschemedisplay
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user