|
From: | Matt Wette |
Subject: | Re: Trouble trying to use some modules from the docs (Matt Wette) |
Date: | Sat, 16 Jun 2018 06:36:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 06/16/2018 02:35 AM, Zelphir Kaltstahl wrote:
With above code, bytevector import is NOT in the context of your module. TryHello, I have managed to get another case of a binding not being available according to the Guile REPL, this time I have the code and way to reproduce the issue. ;; ===== HELPERS MODULE (networking-lib/helpers.scm) ===== (use-modules (rnrs bytevectors)) (define-module (networking-lib helpers) #:export (display-byte-vector))
(define-module (networking-lib helpers) #:export (display-byte-vector)) (use-modules (rnrs bytevectors)) OR (define-module (networking-lib helpers) #:export (display-byte-vector) #:use-module (rnrs bytevectors))
[Prev in Thread] | Current Thread | [Next in Thread] |