Skip to content

Commit

Permalink
Work around a clasp type inference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ruricolist committed May 4, 2024
1 parent 05162a5 commit fd23737
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion macro-tools.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ directly into Lisp code:
`(if (arrayp ,seq)
,vector-form
,array-form))))
#-(or sbcl abcl ccl)
#+clasp
`(if (listp ,seq) ,list-form ,array-form)
#-(or sbcl abcl ccl clasp)
`(if (listp ,seq) ,list-form ,vector-form)))

(defmacro vector-dispatch (vec &body (bit-vector-form vector-form))
Expand Down

0 comments on commit fd23737

Please sign in to comment.