Fix modify macros to comply with the spec
They happened to work in SBCL before, but according to the spec
`define-modify-macro` takes only a symbol as the function argument,
not a lambda or anything else.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 20 Aug 2016 21:03:44 +0000 |
parents |
70f3c369fedb |
children |
768bd70efb57 |
(ql:quickload "cl-d-api")
(defparameter *document-packages*
(list "LOSH"
"LOSH.ARRAYS"
"LOSH.CONTROL-FLOW"
"LOSH.DEBUGGING"
"LOSH.DISTRIBUTIONS"
"LOSH.ELDRITCH-HORRORS"
"LOSH.FILE-IO"
"LOSH.FUNCTIONS"
"LOSH.HASH-SETS"
"LOSH.HASH-TABLES"
"LOSH.ITERATE"
"LOSH.LISTS"
"LOSH.MATH"
"LOSH.MUTATION"
"LOSH.QUEUES"
"LOSH.RANDOM"
"LOSH.SYMBOLS"
"LOSH.WEIGHTLISTS"
))
(defparameter *output-path*
#p"DOCUMENTATION.markdown" )
(defparameter *header*
"This library is my own personal utility belt.
Everything I write in here is MIT/X11 licensed, so you're free to use it if
you want. But I make no guarantees about backwards compatibility -- I might
change and break things at any time. Use this at your own risk.
")
(d-api:generate-documentation
:losh
*output-path*
*document-packages*
*header*
:title "Documentation for `cl-losh`")