On Tuesday, Carl Eastlund wrote:
> Oops, I hadn't meant to push that to the main repository without
> consulting anyone.  Hope this change is okay, it seemed weird for
> read-json to error instead of producing eof.

I think that the change is ok (and the added test shows a point for
doing it).  But the implementation is broken:

  -> (string->jsexpr "]")
  #<eof>
  -> (string->jsexpr "ndljvnldj")
  #<eof>

Also, there's no reason for a keyword there, right?

(I'm committing a fixed version.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to