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
Nothing Can Stop The Progressive Revolution
[alexandria.git]
/
package.lisp
blob
c05f2c009a338c1acb1cd503382b618c1d61882d
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
#:
switch
14
#:
eswitch
15
#:
cswitch
16
#:
whichever
17
#:
xor
18
;; Hash tables
19
#:
copy-hash-table
20
#:
hash-table-keys
21
#:
hash-table-values
22
#:
hash-table-plist
23
#:
hash-table-alist
24
#:
alist-hash-table
25
#:
plist-hash-table
26
#:
maphash-keys
27
#:
maphash-values
28
;; Functions
29
#:
conjoin
30
#:
disjoin
31
#:
curry
32
#:
rcurry
33
#:
compose
34
#:
multiple-value-compose
35
#:
named-lambda
36
;; Lists
37
#:
alist-plist
38
#:
appendf
39
#:
circular-list
40
#:
circular-list-p
41
#:
circular-tree-p
42
#:
ensure-cons
43
#:
ensure-list
44
#:
lastcar
45
#:
make-circular-list
46
#:
nunionf
47
#:
plist-alist
48
#:
proper-list-p
49
#:
proper-list
50
#:
mappend
51
#:
map-product
52
#:
flatten
53
#:
sans
54
#:
remove-from-plist
55
#:
set-equal
56
#:
setp
57
#:
unionf
58
;; Numbers
59
#:
clamp
60
#:
gaussian-random
61
#:
iota
62
#:
lerp
63
#:
maxf
64
#:
mean
65
#:
median
66
#:
minf
67
#:
variance
68
#:
standard-deviation
69
;; Arrays
70
#:
array-index
71
#:
copy-array
72
;; Sequences
73
#:
emptyp
74
#:
copy-sequence
75
#:
first-elt
76
#:
last-elt
77
#:
starts-with
78
#:
ends-with
79
#:
removef
80
#:
deletef
81
#:
proper-sequence
82
#:
random-elt
83
#:
rotate
84
#:
sequence-of-length-p
85
#:
shuffle
86
;; Macros
87
#:
with-unique-names
88
#:
with-gensyms
89
#:
once-only
90
#:
parse-body
91
;; Symbols
92
#:
ensure-symbol
93
#:
format-symbol
94
#:
make-keyword
95
#:
make-gensym-list
96
;; Strings
97
#:
string-designator
98
;; Types
99
#:
of-type
100
#:
type
=
101
;; Errors
102
#:
required-argument
103
))