Hi Vivien, On Tue, Apr 30, 2024 at 12:06 PM Vivien Kraus <viv...@planete-kraus.eu> wrote: > > Le mardi 30 avril 2024 à 11:40 -0400, Thompson, David a écrit : > > * Initial support for Guile's define-module syntax. Currently limited > > to #:pure modules as Hoot does not yet provide the (guile) module > > which is implicitly imported by impure modules. > > Could you briefly explain how we can make such a pure module, but which > exports something? I tried to add #:pure to a module of mine, and it > complains that I’m calling define…
Here's a short example from the game jam template: https://gitlab.com/spritely/guile-hoot-game-jam-template/-/blob/main/modules/dom/document.scm?ref_type=heads I suspect the issue is that you are not importing (scheme base) which provides the 'define' syntax and all the basic Scheme stuff. A pure module assumes nothing. > Thank you for the release anyway. :) Hope this helps! - Dave