[racket] Fix for dherman/json

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Sat Apr 30 07:09:59 EDT 2011

On 29.04.11 20:55, Markku Rontu wrote:
> Hey,
>
> Here's a simple fix for the dherman/json:3:0 module defect #265 handling
> negative numbers.
>
> Replace line 173
>    (let* ([sign (if (eq? (peek-char port) #\-) '(#\-) '())]
> with
>    (let* ([sign (if (eq? (peek-char port) #\-) (begin (read-char port)
> '(#\-)) '())]
> to consume the sign character.
>
> Anybody managing the package these days? I fixed my local copy but it's
> not a very persistent solution. Ideas?

I am afraid we are on our own:

http://planet.plt-scheme.org/trac/ticket/317

-- 
regards,
Jakub Piotr Cłapa


Posted on the users mailing list.