i use now the good way to loadmodule:
scheme@(guile-user)> (set! %load-path (reverse (cons "." (reverse
%load-path
scheme@(guile-user)> %load-path
$1 = ("/usr/local/Cellar/guile/2.2.6/share/guile/2.2"
"/usr/local/Cellar/guile/2.2.6/share/guile/site/2.2"
"/usr/local/Cellar/guile/2.2.6/share/g
My template file creates the module (oop gvector). (Probably a bad name for
this module, btw.)
If you load it using load, you will still be in the (guile-user) module, so
you won't see its bindings. To see them, you can do:
(use-modules (oop gvector))
after having loaded the module using load.
make is exported by (oop goops), so yiu always need to do:
(use-modules (oop goops))
to use it.
Also, you should only use use-modules to load proper modules (starting with
define-module). If it is plain scheme code, use load.
Den sön 2 maj 2021 12:15Damien Mattei skrev:
> i use now the good w
juste understood LOL :
scheme@(guile-user)> (use-modules (gvector))
scheme@(guile-user)> (use-modules (oop goops))
scheme@(guile-user)> (define c2 (make ))
needed to load all the modules by hand even if used already by gvector, in
gvector definition, confused
On Sun, May 2, 2021 at 12:1
On Sun, May 02, 2021 at 12:14:37PM +0200, Damien Mattei wrote:
> i use now the good way to loadmodule:
>
> scheme@(guile-user)> (set! %load-path (reverse (cons "." (reverse
> %load-path
Apart from what Mikael says: if you want to modify `%load-path', you
typically want to add your "special" d
hello Mike,
thanks you
our message crossed
i find the same deduction too
On Sun, May 2, 2021 at 12:26 PM Mikael Djurfeldt
wrote:
> make is exported by (oop goops), so yiu always need to do:
>
> (use-modules (oop goops))
>
> to use it.
>
> Also, you should only use use-modules to load proper modu
i have this .guile:
;; Guile config file
;; history
(use-modules (ice-9 readline)
;; does not works:
;; guile object oriented programming system
;;(oop goops)
)
(activate-readline)
;; curly infix as in srfi-105
(read-enable 'curly-infix)
;; set current path in load path
;;(s
It's commented in your code somehow.
On Sun, May 2, 2021, 19:33 Damien Mattei wrote:
> i have this .guile:
>
> ;; Guile config file
>
>
>
> ;; history
> (use-modules (ice-9 readline)
> ;; does not works:
> ;; guile object oriented programming system
> ;;(oop goops)
> )
>
> (activ
Il giorno dom, 02/05/2021 alle 13.32 +0200, Damien Mattei ha scritto:
> i have this .guile:
>
> ;; Guile config file
>
>
>
> ;; history
> (use-modules (ice-9 readline)
> ;; does not works:
> ;; guile object oriented programming system
> ;;(oop goops)
(oop goops) is commented out. I
i comment it out because ,anyway ,it won't works!
On Sun, May 2, 2021 at 3:03 PM Nala Ginrut wrote:
> It's commented in your code somehow.
>
> On Sun, May 2, 2021, 19:33 Damien Mattei wrote:
>
>> i have this .guile:
>>
>> ;; Guile config file
>>
>>
>>
>> ;; history
>> (use-modules (ice-9 readli
Hello Guilers,
I'm pleased to announce Guile-INI 0.1.0 -- the first version of an INI
format[1] parser for GNU Guile:
https://github.com/artyom-poptsov/guile-ini/releases/tag/v0.1.0
Also Guile-INI is the first project that uses the Guile State Machine
Compiler (Guile-SMC)[2] to produce the fini
my edited .guile was not in $HOME, it works now
On Sun, May 2, 2021 at 6:11 PM Damien Mattei
wrote:
> i comment it out because ,anyway ,it won't works!
>
> On Sun, May 2, 2021 at 3:03 PM Nala Ginrut wrote:
>
>> It's commented in your code somehow.
>>
>> On Sun, May 2, 2021, 19:33 Damien Mat
12 matches
Mail list logo