[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/geiser-gauche 0fac12f 048/119: Improve module documentatio
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/geiser-gauche 0fac12f 048/119: Improve module documentation |
Date: |
Sun, 1 Aug 2021 18:27:55 -0400 (EDT) |
branch: elpa/geiser-gauche
commit 0fac12f0dae9e7eed81abe55068e9e1a64f26929
Author: András Simonyi <andras.simonyi@gmail.com>
Commit: András Simonyi <andras.simonyi@gmail.com>
Improve module documentation
---
geiser.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/geiser.scm b/geiser.scm
index 9f1517b..2f1ef89 100644
--- a/geiser.scm
+++ b/geiser.scm
@@ -209,17 +209,20 @@
(let* ((module (find-module mod-name))
(symbols (module-exports module))
(syms-objs
- (map (^x (cons x (global-variable-ref module x)))
- symbols))
+ (sort
+ (map (^x (cons x (global-variable-ref module x)))
+ symbols)
+ string>? (^x (symbol->string (car x)))))
(procs ()) (macros ()) (vars ()))
(dolist (sym-obj syms-objs)
(let ((obj (cdr sym-obj))
(sym (car sym-obj)))
- (cond
- ((is-a? obj <procedure>) (push! procs sym))
- ((or (is-a? obj <macro>)
- (is-a? obj <syntax>)) (push! macros sym))
- (else (push! vars sym)))))
+ (cond
+ ((or (is-a? obj <generic>)
+ (is-a? obj <procedure>)) (push! procs sym))
+ ((or (is-a? obj <macro>)
+ (is-a? obj <syntax>)) (push! macros sym))
+ (else (push! vars sym)))))
(list (cons "procs" (map list procs))
(cons "syntax" (map list macros))
(cons "vars" (map list vars)))))
@@ -239,4 +242,3 @@
(define-macro (geiser:add-to-load-path dir)
`(add-load-path ,dir :after))
-
- [nongnu] elpa/geiser-gauche 6806302 077/119: Cosmetic changes for MELPA, (continued)
- [nongnu] elpa/geiser-gauche 6806302 077/119: Cosmetic changes for MELPA, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0be6e0a 081/119: Add setup elisp file, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche a3b2e3f 009/119: Remove test line, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0050571 021/119: Minor fix in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 7635884 020/119: Minor fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche c96701c 047/119: Continue work on module docs, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 54a360a 029/119: Add symbol manual lookup support, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche f5ddefb 043/119: Prefer current-module visible alternatives in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 4195803 028/119: Prefer longest require arg list in autodoc, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche d5d68fd 039/119: Don't import the geiser module at startup, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 0fac12f 048/119: Improve module documentation,
Philip Kaludercic <=
- [nongnu] elpa/geiser-gauche a0eee47 068/119: Correctly detect current module in the repl, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 4890817 063/119: Add let1 and case-lambda to the syntax rules, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche d71c212 074/119: Add compile to the require list, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 34490de 078/119: Small corrections, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche aeeb8b3 080/119: Minor fix, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche dd68fc7 087/119: Update README.md, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 6dfc178 090/119: Add experimental status warning, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 1e09ad7 092/119: Finish elisp stylistic improvements, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche 9e7ed54 103/119: Bump version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/geiser-gauche ea011ac 111/119: Remove trailing whitespaces, Philip Kaludercic, 2021/08/01