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