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