|
From: | Alaric Snell-Pym |
Subject: | Re: [Chicken-hackers] blob-literal read syntax |
Date: | Mon, 18 Oct 2010 13:48:05 +0100 |
User-agent: | Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.1.9) Gecko/20100520 Lightning/1.0b2pre Shredder/3.0.4 |
On 10/18/10 13:45, John Cowan wrote:
Christian Kellermann scripsit:Hm does this gain much? The default would be #{..} and if I need #evilbits{...} I could still do so couldn't I? #blob{...} or anything else just adds characters to the default imho. Unless #{ ... } is already in use for something else, I am all for it.R6RS uses #vu8(...), where #v = vector (presumably) and u8 = unsigned byte. This would be extensible to #vs8, #vu16, etc. for SRFI-4 arrays.
Aye, but blobs and SRFI-4 vectors are different things. In my cosy little world, blobs are just an ordered sequence of addressible memory cells, with no particular interpretation of the contents as numbers, characters, or smells, while SRFI-4 places definite semantic models on the contents of a region of memory. So I see a desire to separate the concepts! ABS -- Alaric Snell-Pym http://www.snell-pym.org.uk/alaric/
[Prev in Thread] | Current Thread | [Next in Thread] |