[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Add support for self-evaluating vectors and sr
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Add support for self-evaluating vectors and srfi-4 vectors (and blobs, for consistency) |
Date: |
Sun, 26 May 2013 14:27:19 +0200 |
User-agent: |
Mutt/1.4.2.3i |
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 exist in library.scm so we can avoid baking
a dependency on the srfi-4 unit into the evaluator and compiler.
Cheers,
Peter
--
http://www.more-magic.net
0001-Make-vectors-srfi-4-vectors-self-evaluating-for-R7RS.patch
Description: Text document
- [Chicken-hackers] [PATCH] Add support for self-evaluating vectors and srfi-4 vectors (and blobs, for consistency),
Peter Bex <=