|
From: | GNU bug Tracking System |
Subject: | bug#58066: closed (pretty-print will make data modified by set-cdr! to random value) |
Date: | Wed, 19 Jul 2023 22:18:02 +0000 |
Your message dated Thu, 20 Jul 2023 00:17:10 +0200 with message-id <609596e5ad9cb6b9726d9fe176d12ac07d0b9f26.camel@abou-samra.fr> and subject line Re: bug#58066: pretty-print will make data modified by set-cdr! to random value has caused the debbugs.gnu.org bug report #58066, regarding pretty-print will make data modified by set-cdr! to random value to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 58066: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58066 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: pretty-print will make data modified by set-cdr! to random value Date: Sat, 24 Sep 2022 06:01:13 -0400 GNU Guile 3.0.8 Using `guile3 < file.scm` to run the code below will makes the result of tp unpredictable (pointing to very random things) (use-modules (ice-9 pretty-print)) (define tl '(1 2)) (define tp (cdr tl)) (set-cdr! tp (cons 3 '())) (pretty-print tl) (pretty-print tp) --- However, if i use plain old (display tp), the code will out put expected valve (1 2 3) (3) (define tl '(1 2)) (define tp (cdr tl)) (set-cdr! tp (cons 3 '())) (display tl) (newline) (display tp) (newline) --- Context: I am using guile3's repl and whenever i access a variable's by typing its name after (set-cdr!), the result will goes wild.
--- End Message ---
--- Begin Message ---Subject: Re: bug#58066: pretty-print will make data modified by set-cdr! to random value Date: Thu, 20 Jul 2023 00:17:10 +0200 User-agent: Evolution 3.48.4 (3.48.4-1.fc38) Closing this as a duplicate of https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16060signature.asc
Description: This is a digitally signed message part
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |