[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's up with 'current-load-port'
From: |
Alex Vong |
Subject: |
Re: What's up with 'current-load-port' |
Date: |
Sun, 04 Nov 2018 20:50:19 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Thomas Morley <address@hidden> writes:
> Hi,
>
> what's up with 'current-load-port'?
>
> Simply checking in a guile-prompt I get:
> guile-1.8: #<primitive-procedure current-load-port>
> guile-2.0.14: #<procedure current-load-port ()>
> guile-2.2.4 and guile-2.9.1:
> ;;; <unknown-location>: warning: possibly unbound variable `current-load-port'
> ERROR: In procedure module-lookup: Unbound variable: current-load-port
>
> It's in the manual, though, without any hint it could be deprecated or
> disabled or the need to use a certain module.
>
> What am I missing?
>
Indeed, looking at the (ice-9 ports) module. It seems the
'current-load-port' procedure is not exported for some reason
(forgotten?). A workaround would be to resolve it directly:
(@@ (ice-9 ports) current-load-port)
>
> Cheers,
> Harm
Cheers,
Alex
signature.asc
Description: PGP signature