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