commit 215adc59c2ea9f24264102a8cfcb14d8fb71e3fb parent 7d53bf6c3056d25d580ca2ce4a023ecac3471f54 Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz> Date: Mon, 5 Feb 2024 00:33:09 -0500 Environments etc.: Tidy examples. Diffstat:
M | doc/r7rs-small/procedures/environments-and-evaluation.texinfo | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/doc/r7rs-small/procedures/environments-and-evaluation.texinfo b/doc/r7rs-small/procedures/environments-and-evaluation.texinfo @@ -72,16 +72,15 @@ environment, provided the environment is not immutable. Implementations may extend @code{eval} to allow other objects. @lisp -(eval '(* 7 3) (environment '(scheme base))) -@result{} 21 +(eval '(* 7 3) (environment '(scheme base))) @result{} 21 (let ((f (eval '(lambda (f x) (f x x)) (null-environment 5)))) (f + 10)) - @result{} 20 + @result{} 20 (eval '(define foo 32) (environment '(scheme base))) - @result{} @r{error is signaled} + @result{} @r{error is signaled} @end lisp @end deffn