guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot compile: srfi-10 define-reader-ctor 'hash '#,(


From: Jan Nieuwenhuizen
Subject: Re: cannot compile: srfi-10 define-reader-ctor 'hash '#,(
Date: Wed, 13 Aug 2014 23:00:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Marko Rauhamaa writes:

>>    {"key0": value, "key1": value}
>
> You mean, like,
>
>    (hash-map->list cons mytable)

No; when fed to `read', that produces a list, right?  Lists, in JSON
would be represented as arrays

   [value0, value1 ..., valuen]

*that* we can communicate using pretty-print and read.

I mean an standardized, ascii/utf-8 non-opaque (#<hash table xyz>)
representation of hash tables, something like

    #,(hash (key0 value0) .. (keyn valuen))

that upon `read', produces a hash table.

Greetings,
Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]