* use module does not works in .guile
@ 2021-05-02 11:32 Damien Mattei
2021-05-02 13:03 ` Nala Ginrut
2021-05-02 14:01 ` Adriano Peluso
0 siblings, 2 replies; 5+ messages in thread
From: Damien Mattei @ 2021-05-02 11:32 UTC (permalink / raw)
To: guile-user
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))
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: use module does not works in .guile
2021-05-02 11:32 use module does not works in .guile Damien Mattei
@ 2021-05-02 13:03 ` Nala Ginrut
2021-05-02 16:11 ` Damien Mattei
2021-05-02 14:01 ` Adriano Peluso
1 sibling, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2021-05-02 13:03 UTC (permalink / raw)
To: Damien Mattei; +Cc: guile-user
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))
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: use module does not works in .guile
2021-05-02 13:03 ` Nala Ginrut
@ 2021-05-02 16:11 ` Damien Mattei
2021-05-02 20:32 ` Damien Mattei
0 siblings, 1 reply; 5+ messages in thread
From: Damien Mattei @ 2021-05-02 16:11 UTC (permalink / raw)
Cc: guile-user
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))
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: use module does not works in .guile
2021-05-02 16:11 ` Damien Mattei
@ 2021-05-02 20:32 ` Damien Mattei
0 siblings, 0 replies; 5+ messages in thread
From: Damien Mattei @ 2021-05-02 20:32 UTC (permalink / raw)
To: guile-user
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))
>>>
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: use module does not works in .guile
2021-05-02 11:32 use module does not works in .guile Damien Mattei
2021-05-02 13:03 ` Nala Ginrut
@ 2021-05-02 14:01 ` Adriano Peluso
1 sibling, 0 replies; 5+ messages in thread
From: Adriano Peluso @ 2021-05-02 14:01 UTC (permalink / raw)
To: Damien Mattei, guile-user
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. Is this by mistake ?
> (activate-readline)
[...]
> but (oop goops) is not working in REPL i have to issue an :
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-02 20:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02 11:32 use module does not works in .guile Damien Mattei
2021-05-02 13:03 ` Nala Ginrut
2021-05-02 16:11 ` Damien Mattei
2021-05-02 20:32 ` Damien Mattei
2021-05-02 14:01 ` Adriano Peluso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).