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