[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use module does not works in .guile
From: |
Nala Ginrut |
Subject: |
Re: use module does not works in .guile |
Date: |
Sun, 2 May 2021 21:03:16 +0800 |
It's commented in your code somehow.
On Sun, May 2, 2021, 19:33 Damien Mattei <damien.mattei@gmail.com> wrote:
> 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
> ;;(set! %load-path (reverse (cons "." (reverse %load-path))))
> ;; the above does not work
> ;; solution is to put this in shell:
> ;; export GUILE_LOAD_PATH="...:."
>
> but (oop goops) is not working in REPL i have to issue an :
>
> scheme@(guile-user)> (use-modules (oop goops))
>