Hello, Thomas Morley <thomasmorle...@gmail.com> 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