Skip to content
Browse files

Remove use of EXPORT by moving symbols into defpackage where they sho…

…uld be. Small README fixup.
  • Loading branch information...
1 parent fa76421 commit 1109458780e08f54d128ffe7d040ca5a1610e0ae @kingcons committed
Showing with 24 additions and 9 deletions.
  1. +1 −1 README
  2. +0 −7 helpers.lisp
  3. +23 −1 packages.lisp
View
2 README
@@ -6,7 +6,7 @@ The goal is to eliminate as much repitition from binding to web APIs as possible
through judicious use of macros and a variety of other lisp niceties.
We borrow heavily from existing and established lisp code where possible ranging
from drakma, cxml and cl-json to bits of anaphora, metatilities and even
-a few symbol building macros from On Lisp.
+a few symbol building functions from On Lisp.
It's a pretty straightforward library with a chief emphasis on the functions
define-json-request and define-xml-request and a smattering of other helpers.
View
7 helpers.lisp
@@ -3,12 +3,6 @@
(in-package :cl-web-utils)
-(export '(nand nor with-new-thread str-join concat safe-read-from-string
- last1 simple-run mkstr symb ksymb parse-float tail file-info file-mime
- remove-keyword remove-keywords random-nth time-difference md5 helpers
- readable-character-code-p byte-array-to-ascii-string to-json from-json
- eval-always string-starts-with awhen aif))
-
(defmacro nor (&rest forms)
`(not (or ,@forms)))
@@ -148,7 +142,6 @@
(defun string-starts-with (string prefix &key test)
"Returns true if `string` starts with `prefix`.
-
Use the keyword argument `test` (which defaults to `char=`) to check
each character."
(setf test (or (and test (ensure-function test)) #'char=))
View
24 packages.lisp
@@ -14,4 +14,26 @@
#:ksymb
#:random-nth
#:parse-float
- #:md5))
+ #:md5
+; #:awhen
+; #:aif
+; #:byte-array-to-ascii-string
+; #:to-json
+; #:from-json
+; #:anaphoric
+; #:save-binary-file
+; #:string-starts-with
+; #:eval-always
+; #:with-new-thread
+; #:str-join
+; #:safe-read-from-string
+; #:simple-run
+; #:mkstr
+; #:tail
+; #:file-info
+; #:file-mime
+; #:remove-keyword
+; #:remove-keywords
+; #:time-difference
+; #:readable-character-code-p
+ ))

0 comments on commit 1109458

Please sign in to comment.
Something went wrong with that request. Please try again.