IRC channel logs

2018-05-15.log

back to list of logs

***fibratio` is now known as fibration`
***fibration` is now known as fibration
***Raimondii is now known as Raimondi
***Raimondii is now known as Raimondi
<rain1>wingo, i was wondering about GNU readline? whyy its separate from the rest of guile . could we merge it in completely?
<lloda>rain1: iiuc readline is GPL while Guile is LGPL and that's the reason
<rain1>ohh i thought they were both GPL
<rain1>what about integrating a different readline library, that is LGPL or MIT/BSD?
<hugo>About module loading: I can recommend everyone to put (add-to-load-path (dirname (current-filename))) to your main file
<hugo>This adds the directory of the file to the load path
<dadinn>hi all
<dadinn>quick question, what is the recommended way to break up scripts into multiple source files?
<dadinn>1) it seems that using -l flag in the #! \\ !# area doesn't work; 2) i also tried using modules, but as the curent dir (.) is not on the loadpath, this wouldn't work; 3 )and finally using the `-L .` option in the #! \\ !# area doesn't seem to set the current dir to be on the load path either...
<dadinn>any other options?
<hugo>dadinn: Modules is the right way
<hugo>I usually have a main file with a shebang (#!), and then have
<hugo>(add-to-load-path (dirname (current-filename)))
<hugo>Which makes it possible to import modules from the path of the main file