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