From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.lisp.guile.user Subject: Re: guile-sjson's first public release (v0.2)! Date: Wed, 26 Apr 2017 09:57:48 -0500 Message-ID: <87o9vjtdw3.fsf@dustycloud.org> References: <877f29nmri.fsf@dustycloud.org> <87h91dqe7y.fsf@elektro.pacujo.net> <87r30fu86o.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493218696 13019 195.159.176.226 (26 Apr 2017 14:58:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2017 14:58:16 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.2.1 Cc: Guile User To: "Thompson\, David" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Apr 26 16:58:12 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3OOS-0003Ig-Cc for guile-user@m.gmane.org; Wed, 26 Apr 2017 16:58:12 +0200 Original-Received: from localhost ([::1]:55682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3OOY-0002II-59 for guile-user@m.gmane.org; Wed, 26 Apr 2017 10:58:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3OOE-0002ID-Qw for guile-user@gnu.org; Wed, 26 Apr 2017 10:57:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3OOB-0007H1-1R for guile-user@gnu.org; Wed, 26 Apr 2017 10:57:58 -0400 Original-Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:59064) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3OO6-0007Et-Jl; Wed, 26 Apr 2017 10:57:50 -0400 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 2A08F26632; Wed, 26 Apr 2017 10:57:49 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c02::f03c:91ff:feae:cb51 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13639 Archived-At: Thompson, David writes: > On Wed, Apr 26, 2017 at 12:03 AM, Christopher Allan Webber > 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 I think that's the right call. It also means having to not rewrite a lot of my code. ;) So things will stay as they are there!