guile-devel
[Top][All Lists]
Advanced

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

Bug in documentation for `load'?


From: Andreas Rottmann
Subject: Bug in documentation for `load'?
Date: Sat, 25 Sep 2010 16:04:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi!

It appears to me that the docs for `load' are wrong (both in 1.8 and
1.9):

 -- Scheme Procedure: load filename [reader]
     Load FILENAME and evaluate its contents in the top-level
     environment.  The load paths are not searched.

The last sentence seems to be wrong, as `load' is actually
`load-module':

% guile                  
guile> load
#<procedure load-module (filename . reader)>

% ~/.system/stow/guile-1.9.12/bin/guile
...
scheme@(guile-user)> load
$1 = #<procedure load-module (filename #:optional reader)>

So, AFAICS, `load' uses the load paths (and only the load paths).

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>



reply via email to

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