From: Sam TH (samth at ccs.neu.edu) Date: Thu Sep 10 12:49:10 EDT 2009 |
|
This program: #lang scheme (display (format "~a~n" '(scheme #,3))) (format "~a~n" '(scheme #,3)) (printf "~a~n" '(scheme #,3)) Produces these results: (scheme (unsyntax 3)) "(scheme (unsyntax 3))\n" (scheme #,3) which rather surprised me. Why is `printf' behaving differently from `format'? -- sam th samth at ccs.neu.edu
Posted on the dev mailing list. |
|