[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use module does not works in .guile
From: |
Damien Mattei |
Subject: |
Re: use module does not works in .guile |
Date: |
Sun, 2 May 2021 22:32:55 +0200 |
my edited .guile was not in $HOME, it works now....
On Sun, May 2, 2021 at 6:11 PM Damien Mattei <damien.mattei@gmail.com>
wrote:
> i comment it out because ,anyway ,it won't works!
>
> On Sun, May 2, 2021 at 3:03 PM Nala Ginrut <nalaginrut@gmail.com> wrote:
>
>> 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))
>>>
>>