GNU bug report logs - #12173
eval'd procedures lack docstrings

Previous Next

Package: guile;

Reported by: Ian Price <ianprice90 <at> googlemail.com>

Date: Fri, 10 Aug 2012 19:35:02 UTC

Severity: normal

Fixed in version 2.0.7

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ian Price <ianprice90 <at> googlemail.com>
To: 12173 <at> debbugs.gnu.org
Subject: bug#12173: docstrings and .guile
Date: Fri, 10 Aug 2012 20:25:48 +0100
Hi guilers,

While debugging, I realised the root cause of my problem was that I
could not access procedure documentation for procedures defined in my
.guile

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
scheme@(guile-user)> (define (test) "docs" #f)
scheme@(guile-user)> ,d test
docs

This happens on 32bit fedora 16 on stable-2.0 git commit
1321a36ed61deb9431b41768dc92cb7230c9afa1

-- 
Ian Price -- shift-reset.com

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"





This bug report was last modified 12 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.