bug-guile
[Top][All Lists]
Advanced

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

Re: Guile 1.9: bug in load


From: Thien-Thi Nguyen
Subject: Re: Guile 1.9: bug in load
Date: Wed, 18 Nov 2009 06:16:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

() Andy Wingo <address@hidden>
() Mon, 16 Nov 2009 20:23:07 +0100

   However the use case is important. We need to implement a (current-file)
   macro, I think, which should allow for file-relative loads.

Is `current-load-port' still around for official Guile?
If so,

(define (current-file)
  (port-filename (current-load-port)))

might be sufficient.

thi




reply via email to

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