> On Sep 21, 2015, at 11:49 PM, Mark H Weaver wrote:
>
>> 2. The comments say integers are converted to exact and floating point
>> to inexact, but the code will convert 1.0 to exact.
>
> In Scheme terminology, 1.0 is an integer.
But in guile-2.0.11:
scheme@(guile-user)> (exact? (string->numb
Matt Wette writes:
> On Sep 21, 2015, at 1:08 PM, Ludovic Courtès wrote:
>
>
> David Thompson skribis:
>
> JSON is an commonly encountered format when writing web
> applications,
> much like XML, and I think it would be a good idea if the core
>
Hi David,
Sorry for the long delay.
David Thompson writes:
> JSON is an commonly encountered format when writing web applications,
> much like XML, and I think it would be a good idea if the core Guile
> distribution had an SXML equivalent for JSON. This patch introduces
> such an interface in
> On Sep 21, 2015, at 1:08 PM, Ludovic Courtès wrote:
>
> David Thompson skribis:
>
>> JSON is an commonly encountered format when writing web applications,
>> much like XML, and I think it would be a good idea if the core Guile
>> distribution had an SXML equivalent for JSON. This patch intr
David Thompson skribis:
> JSON is an commonly encountered format when writing web applications,
> much like XML, and I think it would be a good idea if the core Guile
> distribution had an SXML equivalent for JSON. This patch introduces
> such an interface in the (ice-9 json) module.
There’s al
I tested this, including with the fixes specified in the email.
(ice-9 json) seems to be working great... I'd love to see it
merged!
Noticed a couple of small issues after I sent the initial patch that
I've fixed in my local git branch:
David Thompson writes:
> +(define-module (ice-9 json)
> + #:use-module (ice-9 match)
> + #:use-module (srfi srfi-1)
> + #:export (read-json write-json))
No need to import SRFI-1.
> +(defi