Re: [racket] wxme-port -> string error

2010-10-22 Thread Robby Findler
This is a shortcoming in the current 2htdp/image. It is on my list. Robby On Friday, October 22, 2010, Todd O'Bryan wrote: > I should mention, this is using the latest nightly build and I got the > error when I did > > (read-assignment-file "/path/to/valid/racket/file.rkt") > > Todd > > On Fri,

Re: [racket] wxme-port -> string error

2010-10-22 Thread Todd O'Bryan
I should mention, this is using the latest nightly build and I got the error when I did (read-assignment-file "/path/to/valid/racket/file.rkt") Todd On Fri, Oct 22, 2010 at 10:57 AM, Todd O'Bryan wrote: > I'm trying to read a student program (which might include images or > not) as text, just s

[racket] wxme-port -> string error

2010-10-22 Thread Todd O'Bryan
I'm trying to read a student program (which might include images or not) as text, just so I can look at it. I tried this: #lang racket (require wxme) (define/contract (read-assignment-file path) (-> (or/c string? path-string?) bytes?) (let* ([the-path (if (path-string? path)