repo.or.cz
/
alexandria.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENSURE-GETHASH
[alexandria.git]
/
package.lisp
blob
52ed5a2f3a9d3540a579f135e842c2954ba9c3a8
1
(
defpackage
:
alexandria
.0
.dev
2
(:
nicknames
:
alexandria
)
3
(:
use
:
cl
)
4
(:
export
5
;; Binding constructs
6
#:
if-let
7
#:
if-let
*
8
#:
when-let
9
#:
when-let
*
10
;; Definitions
11
#:
define-constant
12
;; Control flow
13
#:
cswitch
14
#:
eswitch
15
#:
switch
16
#:
whichever
17
#:
xor
18
;; Hash tables
19
#:
alist-hash-table
20
#:
copy-hash-table
21
#:
ensure-gethash
22
#:
hash-table-alist
23
#:
hash-table-keys
24
#:
hash-table-plist
25
#:
hash-table-values
26
#:
maphash-keys
27
#:
maphash-values
28
#:
plist-hash-table
29
;; Functions
30
#:
compose
31
#:
conjoin
32
#:
curry
33
#:
disjoin
34
#:
ensure-function
35
#:
multiple-value-compose
36
#:
named-lambda
37
#:
rcurry
38
;; Lists
39
#:
alist-plist
40
#:
appendf
41
#:
nconcf
42
#:
circular-list
43
#:
circular-list-p
44
#:
circular-tree-p
45
#:
ensure-car
46
#:
ensure-cons
47
#:
ensure-list
48
#:
flatten
49
#:
lastcar
50
#:
make-circular-list
51
#:
map-product
52
#:
mappend
53
#:
nunionf
54
#:
plist-alist
55
#:
proper-list
56
#:
proper-list-p
57
#:
remove-from-plist
58
#:
remove-from-plistf
59
#:
delete-from-plist
60
#:
delete-from-plistf
61
#:
set-equal
62
#:
setp
63
#:
unionf
64
;; Numbers
65
#:
binomial-coefficient
66
#:
clamp
67
#:
count-permutations
68
#:
factorial
69
#:
gaussian-random
70
#:
iota
71
#:
lerp
72
#:
map-iota
73
#:
maxf
74
#:
mean
75
#:
median
76
#:
minf
77
#:
standard-deviation
78
#:
subfactorial
79
#:
variance
80
;; Arrays
81
#:
array-index
82
#:
array-length
83
#:
copy-array
84
;; Sequences
85
#:
copy-sequence
86
#:
deletef
87
#:
emptyp
88
#:
ends-with
89
#:
ends-with-subseq
90
#:
first-elt
91
#:
last-elt
92
#:
map-combinations
93
#:
map-derangements
94
#:
map-permutations
95
#:
proper-sequence
96
#:
random-elt
97
#:
removef
98
#:
rotate
99
#:
sequence-of-length-p
100
#:
shuffle
101
#:
starts-with
102
#:
starts-with-subseq
103
;; Macros
104
#:
once-only
105
#:
parse-body
106
#:
with-gensyms
107
#:
with-unique-names
108
;; Symbols
109
#:
ensure-symbol
110
#:
format-symbol
111
#:
make-gensym-list
112
#:
make-keyword
113
;; Strings
114
#:
string-designator
115
;; Types
116
#:
of-type
117
#:
type
=
118
#:
coercef
119
;; Conditions
120
#:
required-argument
121
#:
ignore-some-conditions
122
#:
simple-style-warning
123
;; Features
124
#:
featurep
125
))