IRC channel logs
2017-11-17.log
back to list of logs
<ays>I am just messing around with guile and I was wondering, how can I import a bunch of functions from a file? <davexunit>you can include more than one module as well <delmarre>so gonna be bed bound for the next couple of days <amz3>or whatever yoiu call it <delmarre>that would actually be kinda fun i guess <delmarre>but yeah is there any specific package i should be looking at for making a blog via guile? <delmarre>chicken has html-utils which looks super easy <amz3>I can guess you can use artanis, or my guile boilerplate or maybe dustyweb 8sync <dustyweb>delmarre: if it's just a blog and it's static, I recommend Haunt <dustyweb>otherwise if dynamic yeah amz3's suggestions are some various routes <dustyweb>used for 8sync's site and Guile's and activitypub.rocks and Guix's <delmarre>literally getting "Error: No code for module (haunt ...)" <OrangeShark>yeah, by that I mean you ran configure without any arguments <delmarre>and guile doesn't look there for modules <OrangeShark>you need to add that to the GUILE_LOAD_PATH and GUILE_COMPILED_LOAD_PATH <delmarre>moved the haunt stuff to /usr/share/guile/2.2/ <delmarre>then tried running (add-to-load-path "/usr/local/") after reinstalling it with no prefix <OrangeShark>oh it not /usr/local but it /usr/local/share/guile/2.2 <OrangeShark>$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) <OrangeShark>so that would be /usr/local/share/guile/site/2.2/ for load path and then /usr/local/lib/guile/2.2/ccache/ for compiled <delmarre>now just need to edit the load paths permanently <delmarre>(add-to-load-path) seems to be just for that session <OrangeShark>you can put it in your .profile or .bash_profile or you can put it in a .guile <OrangeShark>export GUILE_LOAD_PATH="/usr/local/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" <OrangeShark>export GUILE_LOAD_COMPILED_PATH="/usr/local/lib/guile/2.2/site-cacche${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_COMPILED_LOAD_PATH"