[plt-scheme] Reading and writing paths

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Fri Jan 5 17:44:50 EST 2007

Is the following supposed to work?

(I looked for a mentioning of paths in
section 11.2.4 of the MzScheme manual, but
didn't find anything)

Welcome to DrScheme, version 369.2-svn23dec2006.
[Windows XP, non-standard PLTCOLLECTS]

 > (let ([out (open-output-string)])
     (write (string->path "c:/foo/bar.txt") out)
     (let ([in (open-input-string (get-output-string out))])
       (read in)))
. read: bad syntax `#<'

-- 
Jens Axel Søgaard




Posted on the users mailing list.