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