Discussion:
,apropos with the git module
Catonano
2018-10-28 13:50:11 UTC
Permalink
I run into a behaviour of the REPL that is getting me confused

it's on Guile 2.2.2 as packaged on Fedora 28

If I import

,use (git repositoy)

then

,apropos repositoy

returns a bunch of functions

If I import

,use (git)

then

,apropos repository

returns nothing

I made a little screencast, it's here

https://peertube.mastodon.host/videos/watch/f580b875-718f-48e3-82bc-a9560568c56b

Is this a bug ? Or am I misunderstanding anything ?
Catonano
2018-10-30 23:37:17 UTC
Permalink
Post by Catonano
I run into a behaviour of the REPL that is getting me confused
it's on Guile 2.2.2 as packaged on Fedora 28
If I import
,use (git repositoy)
then
,apropos repositoy
returns a bunch of functions
If I import
,use (git)
then
,apropos repository
returns nothing
I made a little screencast, it's here
https://peertube.mastodon.host/videos/watch/f580b875-718f-48e3-82bc-a9560568c56b
Is this a bug ? Or am I misunderstanding anything ?
I think I found something

I made this new footage to illustrate it

The git module calls module-use! not on itself but rather on its _public
interface_

This is why ,use and ,apropos couldn't find some bits

https://peertube.mastodon.host/videos/watch/5f1a467e-17cc-42a9-bb21-5996f45bf936
Loading...