package.lisp 5.14 KB
Newer Older
Nikodemus Siivola's avatar
Nikodemus Siivola committed
1 2 3
(defpackage :alexandria.0.dev
  (:nicknames :alexandria)
  (:use :cl)
4
  #+sb-package-locks
5
  (:lock t)
6
  (:export
7 8 9
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ;; BLESSED
   ;;
10 11 12 13
   ;; Binding constructs
   #:if-let
   #:when-let
   #:when-let*
14 15 16
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ;; REVIEW IN PROGRESS
   ;;
17
   ;; Control flow
18 19
   ;;
   ;; -- no clear consensus yet --
20
   #:cswitch
21 22
   #:eswitch
   #:switch
23
   ;; -- problem free? --
24
   #:multiple-value-prog2
25
   #:nth-value-or
26 27
   #:whichever
   #:xor
28 29 30
   ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   ;; REVIEW PENDING
   ;;
31 32
   ;; Definitions
   #:define-constant
Nikodemus Siivola's avatar
Nikodemus Siivola committed
33
   ;; Hash tables
34
   #:alist-hash-table
Nikodemus Siivola's avatar
Nikodemus Siivola committed
35
   #:copy-hash-table
Nikodemus Siivola's avatar
Nikodemus Siivola committed
36
   #:ensure-gethash
37
   #:hash-table-alist
Nikodemus Siivola's avatar
Nikodemus Siivola committed
38 39
   #:hash-table-keys
   #:hash-table-plist
40
   #:hash-table-values
Nikodemus Siivola's avatar
Nikodemus Siivola committed
41 42
   #:maphash-keys
   #:maphash-values
43
   #:plist-hash-table
Nikodemus Siivola's avatar
Nikodemus Siivola committed
44
   ;; Functions
Nikodemus Siivola's avatar
Nikodemus Siivola committed
45
   #:compose
Nikodemus Siivola's avatar
Nikodemus Siivola committed
46 47
   #:conjoin
   #:curry
Nikodemus Siivola's avatar
Nikodemus Siivola committed
48 49
   #:disjoin
   #:ensure-function
Attila Lendvai's avatar
Attila Lendvai committed
50
   #:ensure-functionf
Nikodemus Siivola's avatar
Nikodemus Siivola committed
51
   #:multiple-value-compose
52
   #:named-lambda
Nikodemus Siivola's avatar
Nikodemus Siivola committed
53
   #:rcurry
Nikodemus Siivola's avatar
Nikodemus Siivola committed
54
   ;; Lists
55
   #:alist-plist
Nikodemus Siivola's avatar
Nikodemus Siivola committed
56
   #:appendf
Luis Oliveira's avatar
Luis Oliveira committed
57
   #:nconcf
58 59
   #:reversef
   #:nreversef
Nikodemus Siivola's avatar
Nikodemus Siivola committed
60 61 62
   #:circular-list
   #:circular-list-p
   #:circular-tree-p
Nikodemus Siivola's avatar
Nikodemus Siivola committed
63
   #:doplist
Nikodemus Siivola's avatar
Nikodemus Siivola committed
64
   #:ensure-car
65
   #:ensure-cons
Nikodemus Siivola's avatar
Nikodemus Siivola committed
66
   #:ensure-list
67
   #:flatten
Nikodemus Siivola's avatar
Nikodemus Siivola committed
68 69
   #:lastcar
   #:make-circular-list
70 71
   #:map-product
   #:mappend
72 73
   #:nunionf
   #:plist-alist
Nikodemus Siivola's avatar
Nikodemus Siivola committed
74
   #:proper-list
75
   #:proper-list-length
76
   #:proper-list-p
77
   #:remove-from-plist
78 79 80
   #:remove-from-plistf
   #:delete-from-plist
   #:delete-from-plistf
Nikodemus Siivola's avatar
Nikodemus Siivola committed
81
   #:set-equal
82
   #:setp
83
   #:unionf
Nikodemus Siivola's avatar
Nikodemus Siivola committed
84
   ;; Numbers
85
   #:binomial-coefficient
Nikodemus Siivola's avatar
Nikodemus Siivola committed
86
   #:clamp
87 88
   #:count-permutations
   #:factorial
Nikodemus Siivola's avatar
Nikodemus Siivola committed
89
   #:gaussian-random
90
   #:iota
Nikodemus Siivola's avatar
Nikodemus Siivola committed
91
   #:lerp
92
   #:map-iota
93 94
   #:maxf
   #:mean
Nikodemus Siivola's avatar
Nikodemus Siivola committed
95 96 97
   #:median
   #:minf
   #:standard-deviation
98 99
   #:subfactorial
   #:variance
Nikodemus Siivola's avatar
Nikodemus Siivola committed
100 101
   ;; Arrays
   #:array-index
102
   #:array-length
Nikodemus Siivola's avatar
Nikodemus Siivola committed
103 104 105
   #:copy-array
   ;; Sequences
   #:copy-sequence
106 107 108 109
   #:deletef
   #:emptyp
   #:ends-with
   #:ends-with-subseq
Nikodemus Siivola's avatar
Nikodemus Siivola committed
110
   #:extremum
Nikodemus Siivola's avatar
Nikodemus Siivola committed
111 112
   #:first-elt
   #:last-elt
Nikodemus Siivola's avatar
Nikodemus Siivola committed
113
   #:length=
114 115
   #:map-combinations
   #:map-derangements
116
   #:map-permutations
Nikodemus Siivola's avatar
Nikodemus Siivola committed
117 118
   #:proper-sequence
   #:random-elt
119
   #:removef
120
   #:rotate
Nikodemus Siivola's avatar
Nikodemus Siivola committed
121
   #:sequence-of-length-p
122
   #:shuffle
123 124
   #:starts-with
   #:starts-with-subseq
Nikodemus Siivola's avatar
Nikodemus Siivola committed
125 126 127
   ;; Macros
   #:once-only
   #:parse-body
128
   #:parse-ordinary-lambda-list
129 130
   #:with-gensyms
   #:with-unique-names
Nikodemus Siivola's avatar
Nikodemus Siivola committed
131 132 133
   ;; Symbols
   #:ensure-symbol
   #:format-symbol
134
   #:make-gensym
Nikodemus Siivola's avatar
Nikodemus Siivola committed
135
   #:make-gensym-list
136
   #:make-keyword
137 138
   ;; Strings
   #:string-designator
Nikodemus Siivola's avatar
Nikodemus Siivola committed
139
   ;; Types
140 141 142 143 144 145
   #:negative-double-float
   #:negative-fixnum-p
   #:negative-float
   #:negative-float-p
   #:negative-long-float
   #:negative-long-float-p
146
   #:negative-rational
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
   #:negative-rational-p
   #:negative-real
   #:negative-single-float-p
   #:non-negative-double-float
   #:non-negative-double-float-p
   #:non-negative-fixnum
   #:non-negative-fixnum-p
   #:non-negative-float
   #:non-negative-float-p
   #:non-negative-integer-p
   #:non-negative-long-float
   #:non-negative-rational
   #:non-negative-real-p
   #:non-negative-short-float-p
   #:non-negative-single-float
   #:non-negative-single-float-p
   #:non-positive-double-float
   #:non-positive-double-float-p
   #:non-positive-fixnum
   #:non-positive-fixnum-p
   #:non-positive-float
   #:non-positive-float-p
   #:non-positive-integer
   #:non-positive-rational
   #:non-positive-real
   #:non-positive-real-p
   #:non-positive-short-float
   #:non-positive-short-float-p
   #:non-positive-single-float-p
   #:ordinary-lambda-list-keywords
   #:positive-double-float
   #:positive-double-float-p
   #:positive-fixnum
   #:positive-fixnum-p
   #:positive-float
   #:positive-float-p
   #:positive-integer
   #:positive-rational
   #:positive-real
   #:positive-real-p
   #:positive-short-float
   #:positive-short-float-p
   #:positive-single-float
   #:positive-single-float-p
   #:coercef
   #:negative-double-float-p
   #:negative-fixnum
   #:negative-integer
   #:negative-integer-p
   #:negative-real-p
   #:negative-short-float
   #:negative-short-float-p
   #:negative-single-float
   #:non-negative-integer
   #:non-negative-long-float-p
   #:non-negative-rational-p
   #:non-negative-real
   #:non-negative-short-float
   #:non-positive-integer-p
   #:non-positive-long-float
   #:non-positive-long-float-p
   #:non-positive-rational-p
   #:non-positive-single-float
Nikodemus Siivola's avatar
Nikodemus Siivola committed
210
   #:of-type
211 212 213 214
   #:positive-integer-p
   #:positive-long-float
   #:positive-long-float-p
   #:positive-rational-p
Nikodemus Siivola's avatar
Nikodemus Siivola committed
215
   #:type=
216
   ;; Conditions
Nikodemus Siivola's avatar
Nikodemus Siivola committed
217
   #:required-argument
218 219
   #:ignore-some-conditions
   #:simple-style-warning
220
   #:simple-reader-error
221
   #:simple-parse-error
222
   #:simple-program-error
223
   #:unwind-protect-case
224 225
   ;; Features
   #:featurep
226 227 228
   ;; io
   #:with-input-from-file
   #:with-output-to-file
229
   #:read-stream-content-into-string
230 231
   #:read-file-into-string
   #:write-string-into-file
232
   #:read-stream-content-into-byte-vector
233 234
   #:read-file-into-byte-vector
   #:write-byte-vector-into-file
235 236
   #:copy-stream
   #:copy-file
237
   ;; new additions collected at the end (subject to removal or further changes)
Attila Lendvai's avatar
Attila Lendvai committed
238
   #:symbolicate
239 240
   #:assoc-value
   #:rassoc-value
241 242 243
   #:destructuring-case
   #:destructuring-ccase
   #:destructuring-ecase
Nikodemus Siivola's avatar
Nikodemus Siivola committed
244
   ))