From: "Thompson, David" <dthompson2@worcester.edu>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: guile-sjson's first public release (v0.2)!
Date: Wed, 26 Apr 2017 09:57:34 -0400 [thread overview]
Message-ID: <CAJ=RwfacdfCcqSTyamzG==1Qx6v33tKTMbfg9eFZOQ=JDJcGeA@mail.gmail.com> (raw)
In-Reply-To: <87r30fu86o.fsf@dustycloud.org>
On Wed, Apr 26, 2017 at 12:03 AM, Christopher Allan Webber
<cwebber@dustycloud.org> wrote:
> I'd be open to the change... if we're going to do the change, we should
> do it now, when I'm pretty much the only user. I wonder what David
> Thompson thinks?
FWIW this is what Racket does, so there is precedent there, but Mark
Weaver and I explicitly avoided doing this with (ice-9 json) because
vectors are 1) imperative and 2) less convenient to process and
generate. For example, you can no longer use unquote-splicing, which
is unfortunate. Furthermore, if you have a list of objects that you
want to serialize, you now need to do the extra step of calling
list->vector. Lists are the more natural data structure in Scheme for
sequences, so Mark and I thought it was best to stick with them rather
than use vectors even though vectors are more array-like.
Hope this helps,
- Dave
next prev parent reply other threads:[~2017-04-26 13:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 4:18 guile-sjson's first public release (v0.2)! Christopher Allan Webber
2017-04-25 4:54 ` Marko Rauhamaa
2017-04-26 4:03 ` Christopher Allan Webber
2017-04-26 5:14 ` Marko Rauhamaa
2017-04-26 14:55 ` Christopher Allan Webber
2017-04-26 13:57 ` Thompson, David [this message]
2017-04-26 14:57 ` Christopher Allan Webber
2017-04-25 13:06 ` Mark Oteiza
2017-04-26 3:55 ` Christopher Allan Webber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ=RwfacdfCcqSTyamzG==1Qx6v33tKTMbfg9eFZOQ=JDJcGeA@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--cc=cwebber@dustycloud.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).