source: project/wiki/vector-lib @ 7341

Last change on this file since 7341 was 7341, checked in by Jim Ursetto, 12 years ago

Changes applied for zbigniew (67.167.53.235) through svnwiki:

update vector-lib wiki

File size: 2.9 KB
Line 
1[[tags:eggs]]
2
3This is version 1.2 of the '''vector-lib''' extension library for Chicken Scheme.
4
5[[toc:]]
6
7== Description
8
9
10
11Reference implementation of [[http://srfi.schemers.org/srfi-43|SRFI-43: Vector library]]
12
13
14== Documentation
15
16
17See the [[http://srfi.schemers.org/srfi-43/srfi-43.html|SRFI-43 document]] for full documentation on the reference implementation.
18
19Also, the following two procedures take {{START}} and {{END}} arguments which are not documented in the SRFI.
20
21 '''procedure:''' (list->vector LIST [START END])
22
23Produce a vector containing the elements in {{LIST}}, which
24must be a proper list, between {{START}}, whose default is 0, and {{END}},
25whose default is the length of {{LIST}}.  It is suggested that if the
26length of {{LIST}} is known in advance, the {{START}} and {{END}} arguments
27be passed, so that {{list->vector}} need not call {{length}} itself.
28
29
30
31 '''procedure:''' (reverse-list->vector LIST [START END])
32
33Produces the same output as {{list->vector}}, but in reverse order.
34
35== About this egg
36
37
38=== Author
39
40
41Taylor Campbell; port by [[http://3e8.org/zb|Zbigniew]]
42
43=== Version history
44
45; 1.2 : Sync to reference implementation as of 2008-01-12
46; 1.1 : Final implementation port (2005-05-24 + patches) by Zbigniew
47; 1.0 : Draft implementation port by William S. Annis
48
49=== License
50
51The reference implementation is public domain.  The egg is covered under the BSD license.
52
53 Copyright (c) 2005-2008 Jim Ursetto.  All rights reserved.
54 
55 Redistribution and use in source and binary forms, with or without
56 modification, are permitted provided that the following conditions are met:
57 
58   Redistributions of source code must retain the above copyright notice,
59   this list of conditions and the following disclaimer. Redistributions in
60   binary form must reproduce the above copyright notice, this list of
61   conditions and the following disclaimer in the documentation and/or
62   other materials provided with the distribution. Neither the name of the
63   author nor the names of its contributors may be used to endorse or
64   promote products derived from this software without specific prior
65   written permission.
66 
67 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
68 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
69 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
70 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
71 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
72 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
73 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
74 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
75 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
76 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
77 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78
Note: See TracBrowser for help on using the repository browser.