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