bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12173: docstrings and .guile


From: Ludovic Courtès
Subject: bug#12173: docstrings and .guile
Date: Wed, 28 Nov 2012 14:33:01 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi!

Ian Price <address@hidden> skribis:

> The issue is simple to reproduce, I added
>
> (define (test)
>   "docs"
>   #f)
>
> to my .guile, and from a new guile repl
>
> scheme@(guile-user)> ,d test
> #f

The issue is that closures returned by ‘eval’ have no docstring:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (procedure-documentation (eval '(lambda (a b) "doc" a)  
(current-module)))
$29 = #f
--8<---------------cut here---------------end--------------->8---

Trying to fix it now.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]