Re: [Chicken-hackers] [PATCH] Add support for self-evaluating vectors and srfi-4 vectors (and blobs, for consistency)

2013-05-26 Thread Christian Kellermann
* Peter Bex [130526 14:27]: > Hi all, > > Attached is a patch that will make your heart bleed. With a bleeding heart I have applied this and adjusted it slightly to remove the superflous tests. Cheers, Christian -- In the world, there is nothing more submissive and weak than water. Yet for a

[Chicken-hackers] [PATCH] Add support for self-evaluating vectors and srfi-4 vectors (and blobs, for consistency)

2013-05-26 Thread Peter Bex
Hi all, Attached is a patch that will make your heart bleed. I decided to make blob self-evaluating too, for consistency, because they are a lot like u8vectors. This patch adds an internal ##sys#srfi-4-vector? predicate and exposes it as "number-vector?" in SRFI-4. The internal predicate has to