r9970: fix package name
[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 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    #:encode-uri-string
61    #:decode-uri-string
62    #:non-alphanumericp
63    #:random-string
64    #:first-char
65    #:last-char
66    #:ensure-string
67    #:string-right-trim-one-char
68    #:string-strip-ending
69    #:string-maybe-shorten
70    #:string-elide
71    #:shrink-vector
72    #:collapse-whitespace
73    #:string->list
74    #:trim-non-alphanumeric
75    
76    ;; io.lisp
77    #:indent-spaces
78    #:indent-html-spaces
79    #:print-n-chars
80    #:print-n-strings
81    #:print-list
82    #:print-rows
83    #:write-fixnum
84    #:file-subst
85    #:stream-subst
86    #:null-output-stream
87    #:directory-tree
88    #:write-utime-hms
89    #:write-utime-hm
90    #:write-utime-ymdhms
91    #:write-utime-ymdhm
92    #:write-utime-hms-stream
93    #:write-utime-hm-stream
94    #:write-utime-ymdhms-stream
95    #:write-utime-ymdhm-stream
96    #:with-utime-decoding
97    #:with-utime-decoding-utc-offset
98    #:is-dst
99    #:year
100    #:month
101    #:day-of-month
102    #:hour
103    #:minute
104    #:second
105    #:daylight-p
106    #:zone
107    #:day-of-month
108    #:day-of-week
109    #:+datetime-number-strings+   
110    #:utc-offset
111    
112    ;; impl.lisp
113    #:probe-directory
114    #:cwd
115    #:quit
116    #:command-line-arguments
117    #:shell-command-output
118
119    ;; lists.lisp
120    #:remove-from-tree-if
121    #:find-tree
122    #:with-each-file-line
123    #:with-each-stream-line
124    #:remove-keyword
125    #:remove-keywords
126    #:append-sublists
127    #:alist-elem-p
128    #:alistp
129    #:get-alist
130    #:update-alist
131    #:alist-plist
132    #:plist-alist
133    #:update-plist
134    #:get-plist
135    #:flatten
136
137    ;; seq.lisp
138    #:nsubseq
139    
140    ;; math.lisp
141    #:ensure-integer
142    #:histogram
143    #:fixnum-width
144    #:scaled-epsilon
145    
146    ;; macros.lisp
147    #:time-iterations
148    #:time-seconds
149    #:in
150    #:mean
151    #:with-gensyms
152    #:let-if
153    #:let-when
154    #:aif
155    #:awhen
156    #:awhile
157    #:aand
158    #:acond
159    #:alambda
160    #:it
161    #:mac
162    #:mv-bind
163    #:deflex
164    #:def-cached-vector
165    #:def-cached-instance
166    #:with-ignore-errors
167    #:ppmx
168    #:defconst
169    
170    ;; files.lisp
171    #:print-file-contents
172    #:read-stream-to-string
173    #:read-file-to-string
174    #:read-stream-to-strings
175    #:read-file-to-strings
176    
177    ;; strings.lisp
178    #:string-append
179    #:count-string-words
180    #:substitute-string-for-char
181    #:string-trim-last-character
182    #:nstring-trim-last-character
183    #:string-hash
184    #:is-string-empty
185    #:is-char-whitespace
186    #:not-whitespace-char
187    #:is-string-whitespace
188    #:string-invert
189    #:escape-xml-string
190    #:make-usb8-array
191    #:usb8-array-to-string
192    #:string-to-usb8-array
193    #:substitute-chars-strings
194    #:add-sql-quotes
195    #:escape-backslashes
196    #:concat-separated-strings
197    #:print-separated-strings
198    #:lex-string
199    #:split-alphanumeric-string
200    
201    ;; strmatch.lisp
202    #:score-multiword-match
203    #:multiword-match
204    
205    ;; symbols.lisp
206    #:ensure-keyword
207    #:ensure-keyword-upcase
208    #:ensure-keyword-default-case
209    #:concat-symbol
210    #:concat-symbol-pkg
211    #:show
212    #:show-variables
213    #:show-functions
214    
215    ;; From attrib-class.lisp
216    #:attributes-class
217    #:slot-attribute
218    #:slot-attributes
219
220    #:generalized-equal
221
222    ;; From buffered input
223    
224    #:make-fields-buffer
225    #:read-buffered-fields
226    
227    ;; From datetime.lisp
228    #:pretty-date
229    #:date-string
230    #:print-float-units
231    #:print-seconds
232    #:posix-time-to-utime
233    
234    ;; From random.lisp
235    #:seed-random-generator
236    #:random-choice
237    
238    ;; From repl.lisp
239    #:make-repl
240    #:init/repl
241    
242    ;; From web-utils
243    #:*base-url*
244    #:base-url!
245    #:make-url
246    #:*standard-html-header*
247    #:*standard-xhtml-header*
248    #:*standard-xml-header*
249    #:user-agent-ie-p
250    #:decode-uri-query-string
251    #:split-uri-query-string
252    
253    ;; From xml-utils
254    #:sgml-header-stream
255    #:xml-tag-contents
256    #:positions-xml-tag-contents
257    #:cdata-string
258    #:write-cdata
259    
260    ;; From console
261    #:*console-msgs*
262    #:cmsg
263    #:cmsg-c
264    #:cmsg-add
265    #:cmsg-remove
266    #:fixme
267
268    ;; byte-stream
269    #:make-binary-array-output-stream
270    #:get-output-stream-data
271    #:dump-output-stream-data
272    #:make-byte-array-input-stream
273
274    ;; sockets.lisp
275    #:make-active-socket
276    #:close-active-socket
277    
278    ;; listener.lisp
279    #:init/listener
280    #:stop-all/listener
281    #:listener
282    
283    ;; fformat.lisp
284    #:fformat
285
286    ;; os.lisp
287    #:command-output
288    #:run-shell-command-output-stream
289    #:delete-directory-and-files
290    
291    ;; color.lisp
292    #:rgb->hsv
293    #:rgb255->hsv255
294    #:hsv->rgb
295    #:hsv255->rgb255
296    #:hsv-equal
297    #:hsv255-equal
298    #:hsv-similar
299    #:hsv255-similar
300    #:hue-difference
301    #:hue-difference-fixnum
302    ))
303
304
305