How to get batch documentation in Quicklisp

I feel like playing the lottery every time I use Quicklisp. I cannot find a webpage with package listings and documentation.

As a specific example, I searched (ql:system-apropos "random-access-list"), since I implemented an implementation of SRFI-101 , which is based on the purely functional data of Okasakis structures, in CL. I tried this:

[1]> (ql:system-apropos-list "random-access-lists")
(#<QL-DIST:SYSTEM random-access-lists / random-access-lists-20120208-git / quicklisp 2016-03-18>)
[2]> 

I know that the name is random-access-listsnot very specific, so there may be other packages with this name. Last time I was out of luck, and I found 4 partial matches, and the one that was the best was not the package I was looking for.

How to find out more about search results?

+4
source share
3

ASDF:SYSTEM-DESCRIPTION, . -

(defun describe-ql-system (system)
  (let ((system (asdf:find-system
                 (ql-dist:name
                  (ql-dist:ensure-installed
                   (ql-dist:find-system system))))))
    (format t "~a~%~@[~a~%~]"
            (asdf:system-description system)
            (asdf:system-long-description system))))

(describe-ql-system :random-access-lists)
; Persistent, random-access lists.

:

(defun describe-ql-system (system)
  (let ((system (if (typep system 'ql-dist:system)
                    system
                    (ql-dist:find-system system))))
    (unless (null system)
      (ql-dist:ensure-installed system)
      (handler-case
          (let* ((name (ql-dist:name system))
                 (system (asdf:find-system name)))
            (format t "~&~60,,,'=<~; ~a ~;~>~@
                       ~@[Author:         ~a~%~]~
                       ~@[Maintainer:     ~a~%~]~
                       ~@[Description:    ~a~%~]~
                       ~@[Long description:~@
                       ~a~%~]~%"
                    name
                    (asdf:system-author system)
                    (asdf:system-maintainer system)
                    (asdf:system-description system)
                    (asdf:system-long-description system)))
        (asdf:missing-component ())))))
+3

, quickdocs . , , Eitaro Fukamachi, , .

+1

quicklisp/quicklisp- GitHub /$( )/source.txt, , .

, , git , .

0

Source: https://habr.com/ru/post/1649689/


All Articles