Well, if I install the 'guile-sdl' package with Guix, then download the source package of guile-sdl & try running:
I get something across the lines of:
'Unbound variable: datafile'
along with a black box.
datafile is defined in the 'common' file, but (load "common") doesn't work for me.
The slideshow application from the manual works just fine though.
going to bed now
tomorrow I'll try to take a look at guile-sdl
ok, so, here we are
I installed both guile and guile-sdl in my profile
(guix package -i guile guile-sdl)
Then launched guile and loaded a sdl provided package
scheme@(guile-user)> ,use (sdl mixer)
when using libraries, as far as I understand, you're not suupposed to load files directly
You are supposed to load namespaces and then use procedures provided by those namespaces
Ahh that makes sense now! Thanks 😅
functional.cafe is an instance for people interested in functional programming and languages.