Skip to content

Commit

Permalink
Re-added mv-bind. Fixed bug in abbrev.
Browse files Browse the repository at this point in the history
  • Loading branch information
vseloved committed Jun 13, 2011
1 parent 13c9456 commit a7f05ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions bind.lisp
Expand Up @@ -23,8 +23,7 @@ is similar to <_:fun let* />, rather than <_:fun let />"
(car rez)))

(defparameter *bind-dispatch-table*
(make-array 0 :fill-pointer t
#+openmcl :adjustable #+openmcl t)
(make-array 0 :fill-pointer t :adjustable t)
"A vector, storing BIND-RULES")

(defmacro def-bind-rule (rule expansion)
Expand Down
4 changes: 2 additions & 2 deletions core.lisp
Expand Up @@ -15,10 +15,10 @@
"Abbreviate a <_:arg long /> MACRO or FUNCTION name as <_:arg short />"
`(eval-always
(cond
((special-operator-p ',long)
(error "Can't ABBREViate a special-operator ~a" ',long))
((macro-function ',long)
(setf (macro-function ',short) (macro-function ',long)))
((special-operator-p ',long)
(error "Can't ABBREViate a special-operator ~a" ',long))
((fboundp ',long)
(setf (fdefinition ',short) (fdefinition ',long)))
(t
Expand Down
3 changes: 1 addition & 2 deletions rutils.asd
Expand Up @@ -6,7 +6,7 @@

(defsystem #:rutils
:name "Reasonable utilities"
:version "0.3.2"
:version "0.3.4"
:maintainer "Vsevolod Dyomkin <vseloved@gmail.com>"
:licence "3-clause MIT licence"
:description "A reasonable collection of basic utilities for syntactic ~
Expand All @@ -15,7 +15,6 @@ CL history by efforts of different individuals, and gathered under ~
the unbrella of a hierarchy of packages, which can be used ~
selectively on demand.
Includes user-space CDR's (see http://cdr.eurolisp.org)"
:depends-on (:closer-mop)
:serial t
:components ((:file "packages")
(:file "impl")
Expand Down
1 change: 0 additions & 1 deletion short.lisp
Expand Up @@ -16,7 +16,6 @@
(:method ((to (eql 'keyword)) smth &key format &allow-other-keys)
(mkeyw smth :format format)))

#-clisp
(abbrev mv-bind multiple-value-bind)
(abbrev ds-bind destructuring-bind)

Expand Down

0 comments on commit a7f05ac

Please sign in to comment.