Sven Hartrumpf
2018-11-20 21:51:55 UTC
Hi.
pp and write (in chicken 5) do not respect the parameter (keyword-style);
Only display respects keyword-style.
#;1> (import (chicken pretty-print))
; loading /usr/local/chicken-5.0.0-x32/lib/chicken/9/chicken.pretty-print.import.so ...
#;2> (keyword-style)
#:suffix
#;3> (write '(arg1: 1))
(#:arg1 1)#;4> (pp '(arg1: 1))
(#:arg1 1)
#;5> (display '(arg1: 1))
(arg1: 1)#;6>
Ciao
Sven
pp and write (in chicken 5) do not respect the parameter (keyword-style);
Only display respects keyword-style.
#;1> (import (chicken pretty-print))
; loading /usr/local/chicken-5.0.0-x32/lib/chicken/9/chicken.pretty-print.import.so ...
#;2> (keyword-style)
#:suffix
#;3> (write '(arg1: 1))
(#:arg1 1)#;4> (pp '(arg1: 1))
(#:arg1 1)
#;5> (display '(arg1: 1))
(arg1: 1)#;6>
Ciao
Sven