-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.lisp
62 lines (61 loc) · 1.18 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
;;;; package.lisp
(defpackage #:snakes
(:use #:cl #:cl-cont #:iterate)
(:import-from #:iterate #:defmacro-driver #:generate #:for
#:with #:next)
(:import-from #:alexandria #:ensure-list)
(:shadowing-import-from #:cl-utilities #:with-collectors)
(:export
#:generator-stop
#:with-yield
#:yield
#:defgenerator
#:basic-generator
#:generatorp
#:do-generator
#:do-generator-value-list
#:mapc-generator
#:mapcar-generator
#:yield-all
#:take
#:consume
#:do-generators
#:multi-gen
#:*snakes-multi-mode*
;Adaptors
#:function->generator
#:value-func->generator
#:list->generator
#:list->generator-with-tail
#:generator->list
#:sequence->generator
#:file->generator
;Construction tools
#:gen-lambda
#:gen-lambda-with-sticky-stop
#:sticky-stop
;Itertools
#:icount
#:cycle
#:repeat
#:chain
#:enumerate
#:izip
#:izip-longest
#:compress
#:dropwhile
#:takewhile
#:groupby
#:ifilter
#:ifilter-false
#:islice
#:imap
#:starmap
#:tee
#:product
#:permutations
#:combinations
#:combinations-with-replacement
#:reduce-generator
#:take-as-generator
#:in-generator))