Created
October 10, 2019 15:09
-
-
Save lokedhs/714626d90457d4b269b48cd9cc8a75c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun foo () | |
(let* ((line (make-instance 'cluffer-standard-line:line)) | |
(buf (make-instance 'cluffer-standard-buffer:buffer :initial-line line)) | |
(cursor (make-instance 'cluffer-standard-line:right-sticky-cursor))) | |
(cluffer:attach-cursor cursor line) | |
(cluffer:insert-item cursor "foo") | |
(cluffer:insert-item cursor "bar") | |
buf)) | |
#| Output: | |
There is no applicable method for the generic function | |
#<STANDARD-GENERIC-FUNCTION CLUFFER:ITEM-COUNT (6)> | |
when called with arguments | |
(#<CLUFFER-STANDARD-LINE:LINE {100A96A3F3}>). | |
[Condition of type SB-PCL::NO-APPLICABLE-METHOD-ERROR] | |
See also: | |
Common Lisp Hyperspec, 7.6.6 [:section] | |
|# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment