Commit | Line | Data |
---|---|---|
fdc8fd46 AR |
1 | ;;; srfi-42.scm --- Eager comprehensions |
2 | ||
3 | ;; Copyright (C) 2010 Free Software Foundation, Inc. | |
4 | ||
5 | ;; This library is free software; you can redistribute it and/or | |
6 | ;; modify it under the terms of the GNU Lesser General Public | |
7 | ;; License as published by the Free Software Foundation; either | |
8 | ;; version 3 of the License, or (at your option) any later version. | |
9 | ||
10 | ;; This library is distributed in the hope that it will be useful, | |
11 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | ;; Lesser General Public License for more details. | |
14 | ||
15 | ;; You should have received a copy of the GNU Lesser General Public | |
16 | ;; License along with this library. If not, see | |
17 | ;; <http://www.gnu.org/licenses/>. | |
18 | ||
19 | ;;; Commentary: | |
20 | ||
21 | ;; This module is not yet documented in the Guile Reference Manual. | |
22 | ||
23 | ;;; Code: | |
24 | ||
25 | (define-module (srfi srfi-42) | |
26 | #:export (: | |
27 | :-dispatch-ref | |
28 | :-dispatch-set! | |
29 | :char-range | |
30 | :dispatched | |
31 | :do | |
32 | :generator-proc | |
33 | :integers | |
34 | :let | |
35 | :list | |
36 | :parallel | |
37 | :port | |
38 | :range | |
39 | :real-range | |
40 | :string | |
41 | :until | |
42 | :vector | |
43 | :while | |
44 | any?-ec | |
45 | append-ec | |
46 | dispatch-union | |
47 | do-ec | |
48 | every?-ec | |
49 | first-ec | |
50 | fold-ec | |
51 | fold3-ec | |
52 | last-ec | |
53 | list-ec | |
54 | make-initial-:-dispatch | |
55 | max-ec | |
56 | min-ec | |
57 | product-ec | |
58 | string-append-ec | |
59 | string-ec | |
60 | sum-ec | |
61 | vector-ec | |
62 | vector-of-length-ec)) | |
63 | ||
edb6de0b MW |
64 | (cond-expand-provide (current-module) '(srfi-42)) |
65 | ||
fdc8fd46 | 66 | (include-from-path "srfi/srfi-42/ec.scm") |