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