Change to dpkg-source 3.0 (quilt) format
[kmrcl.git] / package.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          package.lisp
6 ;;;; Purpose:       Package definition for kmrcl package
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Apr 2000
9 ;;;;
10 ;;;; This file, part of KMRCL, is Copyright (c) 2002-2010 by Kevin M. Rosenberg
11 ;;;;
12 ;;;; KMRCL users are granted the rights to distribute and use this software
13 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
14 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15 ;;;; *************************************************************************
16
17 (in-package #:cl-user)
18
19 (defpackage #:kmrcl
20   (:nicknames #:kl)
21   (:use #:cl)
22   (:export
23    #:ensure-integer
24    #:mklist
25    #:filter
26    #:map-and-remove-nils
27    #:appendnew
28    #:memo-proc
29    #:memoize
30    #:defun-memo
31    #:_f
32    #:compose
33    #:until
34    #:while
35    #:for
36
37    ;; strings.lisp
38    #:string-trim-whitespace
39    #:string-left-trim-whitespace
40    #:string-right-trim-whitespace
41    #:mapappend
42    #:mapcar-append-string
43    #:mapcar2-append-string
44    #:position-char
45    #:position-not-char
46    #:delimited-string-to-list
47    #:string-delimited-string-to-list
48    #:list-to-delimited-string
49    #:prefixed-fixnum-string
50    #:prefixed-integer-string
51    #:integer-string
52    #:fast-string-search
53    #:string-substitute
54    #:string-to-list-skip-delimiter
55    #:string-starts-with
56    #:count-string-char
57    #:count-string-char-if
58    #:hexchar
59    #:charhex
60    #:encode-uri-string
61    #:decode-uri-string
62    #:uri-query-to-alist
63    #:non-alphanumericp
64    #:random-string
65    #:first-char
66    #:last-char
67    #:ensure-string
68    #:string-right-trim-one-char
69    #:string-strip-ending
70    #:string-maybe-shorten
71    #:string-elide
72    #:shrink-vector
73    #:collapse-whitespace
74    #:string->list
75    #:trim-non-alphanumeric
76    #:binary-sequence-to-hex-string
77    #:remove-char-string
78
79    ;; io.lisp
80    #:indent-spaces
81    #:indent-html-spaces
82    #:print-n-chars
83    #:print-n-strings
84    #:print-list
85    #:print-rows
86    #:write-fixnum
87    #:file-subst
88    #:stream-subst
89    #:null-output-stream
90    #:directory-tree
91    #:write-utime-hms
92    #:write-utime-hm
93    #:write-utime-ymdhms
94    #:write-utime-ymdhm
95    #:write-utime-hms-stream
96    #:write-utime-hm-stream
97    #:write-utime-ymdhms-stream
98    #:write-utime-ymdhm-stream
99    #:with-utime-decoding
100    #:with-utime-decoding-utc-offset
101    #:is-dst
102    #:year
103    #:month
104    #:day-of-month
105    #:hour
106    #:minute
107    #:second
108    #:daylight-p
109    #:zone
110    #:day-of-month
111    #:day-of-week
112    #:+datetime-number-strings+
113    #:utc-offset
114    #:copy-binary-stream
115    #:def-unsigned-int-io
116    #:make-unsigned-int-io-fn
117    #:read-uint2-le #:read-uint2-be #:write-uint2-le #:write-uint2-be
118    #:read-uint3-le #:read-uint3-be #:write-uint3-le #:write-uint3-be
119    #:read-uint4-le #:read-uint4-be #:write-uint4-le #:write-uint4-be
120    #:read-uint5-le #:read-uint5-be #:write-uint5-le #:write-uint5-be
121    #:read-uint6-le #:read-uint6-be #:write-uint6-le #:write-uint6-be
122    #:read-uint7-le #:read-uint7-be #:write-uint7-le #:write-uint7-be
123    #:read-uint8-le #:read-uint8-be #:write-uint8-le #:write-uint8-be
124
125    ;; impl.lisp
126    #:probe-directory
127    #:cwd
128    #:quit
129    #:command-line-arguments
130    #:copy-file
131    #:run-shell-command
132
133    ;; lists.lisp
134    #:remove-from-tree-if
135    #:find-tree
136    #:with-each-file-line
137    #:with-each-stream-line
138    #:remove-keyword
139    #:remove-keywords
140    #:append-sublists
141    #:alist-elem-p
142    #:alistp
143    #:get-alist
144    #:update-alist
145    #:alist-plist
146    #:plist-alist
147    #:update-plist
148    #:get-plist
149    #:flatten
150    #:unique-slot-values
151
152    ;; seq.lisp
153    #:nsubseq
154
155    ;; math.lisp
156    #:ensure-integer
157    #:histogram
158    #:fixnum-width
159    #:scaled-epsilon
160    #:sinc
161    #:numbers-within-percentage
162
163    ;; macros.lisp
164    #:time-iterations
165    #:time-seconds
166    #:in
167    #:mean
168    #:with-gensyms
169    #:let-if
170    #:let-when
171    #:aif
172    #:awhen
173    #:awhile
174    #:aand
175    #:acond
176    #:alambda
177    #:it
178    #:mac
179    #:mv-bind
180    #:deflex
181    #:def-cached-vector
182    #:def-cached-instance
183    #:with-ignore-errors
184    #:ppmx
185    #:defconstant*
186    #:defvar-unbound
187
188    ;; files.lisp
189    #:print-file-contents
190    #:read-stream-to-string
191    #:read-file-to-string
192    #:read-file-to-usb8-array
193    #:read-stream-to-strings
194    #:read-file-to-strings
195
196    ;; strings.lisp
197    #:string-append
198    #:count-string-words
199    #:substitute-string-for-char
200    #:string-trim-last-character
201    #:nstring-trim-last-character
202    #:string-hash
203    #:is-string-empty
204    #:is-char-whitespace
205    #:not-whitespace-char
206    #:is-string-whitespace
207    #:string-invert
208    #:escape-xml-string
209    #:make-usb8-array
210    #:usb8-array-to-string
211    #:string-to-usb8-array
212    #:substitute-chars-strings
213    #:add-sql-quotes
214    #:escape-backslashes
215    #:concat-separated-strings
216    #:print-separated-strings
217    #:lex-string
218    #:split-alphanumeric-string
219
220    ;; strmatch.lisp
221    #:score-multiword-match
222    #:multiword-match
223
224    ;; symbols.lisp
225    #:ensure-keyword
226    #:ensure-keyword-upcase
227    #:ensure-keyword-default-case
228    #:concat-symbol
229    #:concat-symbol-pkg
230    #:show
231    #:show-variables
232    #:show-functions
233
234    ;; From attrib-class.lisp
235    #:attributes-class
236    #:slot-attribute
237    #:slot-attributes
238
239    #:generalized-equal
240
241    ;; From buffered input
242
243    #:make-fields-buffer
244    #:read-buffered-fields
245
246    ;; From datetime.lisp
247    #:pretty-date-ut
248    #:pretty-date
249    #:date-string
250    #:print-float-units
251    #:print-seconds
252    #:posix-time-to-utime
253    #:utime-to-posix-time
254
255    ;; From random.lisp
256    #:seed-random-generator
257    #:random-choice
258
259    ;; From repl.lisp
260    #:make-repl
261    #:init/repl
262
263    ;; From web-utils
264    #:*base-url*
265    #:base-url!
266    #:make-url
267    #:*standard-html-header*
268    #:*standard-xhtml-header*
269    #:*standard-xml-header*
270    #:user-agent-ie-p
271    #:decode-uri-query-string
272    #:split-uri-query-string
273
274    ;; From xml-utils
275    #:sgml-header-stream
276    #:xml-tag-contents
277    #:positions-xml-tag-contents
278    #:cdata-string
279    #:write-cdata
280
281    ;; From console
282    #:*console-msgs*
283    #:cmsg
284    #:cmsg-c
285    #:cmsg-add
286    #:cmsg-remove
287    #:fixme
288
289    ;; byte-stream
290    #:make-binary-array-output-stream
291    #:get-output-stream-data
292    #:dump-output-stream-data
293    #:make-byte-array-input-stream
294
295    ;; sockets.lisp
296    #:make-active-socket
297    #:close-active-socket
298
299    ;; listener.lisp
300    #:init/listener
301    #:stop-all/listener
302    #:listener
303
304    ;; fformat.lisp
305    #:fformat
306
307    ;; os.lisp
308    #:command-output
309    #:run-shell-command-output-stream
310    #:delete-directory-and-files
311    #:file-size
312    #:getpid
313
314    ;; color.lisp
315    #:rgb->hsv
316    #:rgb255->hsv255
317    #:hsv->rgb
318    #:hsv255->rgb255
319    #:hsv-equal
320    #:hsv255-equal
321    #:hsv-similar
322    #:hsv255-similar
323    #:hue-difference
324    #:hue-difference-fixnum
325
326    ;; signals.lisp
327    #:set-signal-handler
328    #:remove-signal-handler
329
330    ;; btree.lisp
331    #:sorted-vector-find
332    #:string-tricmp
333    #:simple-string-tricmp
334    #:number-tricmp
335    #:complex-number-tricmp
336
337    ;; mop.lisp
338    #:short-arg-cesd
339    #:short-arg-dsdc
340    ))