bug#58066: pretty-print will make data modified by set-cdr! to random value

2023-07-19 Thread Jean Abou Samra
Closing this as a duplicate of https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16060 signature.asc Description: This is a digitally signed message part

bug#58066: pretty-print will make data modified by set-cdr! to random value

2022-09-25 Thread Jean Abou Samra
Le 24/09/2022 à 12:01, slbtty a écrit : 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-pri

bug#58066: pretty-print will make data modified by set-cdr! to random value

2022-09-25 Thread slbtty
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