IRC channel logs
2018-02-08.log
back to list of logs
<Apteryx>what's the equivalent to 'ls' in a guile REPL? <ecraven>does guile have apropos functionality? <ecraven>also, is there a way to get the function lambda list of any function? <ecraven>more specifically, is the ,apropos functionality from the repl exposed as a function? and ,describe too? <janneke>ecraven: have you tried something like: (apropos "list") <ecraven>janneke: that just prints the info, I need it as a list <janneke>also, see module/system/repl/command.scm <ecraven>but I've just copied the command from command.scm, that works fine ;) <janneke>you already answered your own question, good :-) <ecraven>just for your info, https://github.com/ecraven/r7rs-swank contains a mostly working swank backend for guile (and other schemes). run ./guile.sh, and you should be able to M-x slime-connect RET localhost RET 4005 RET and have a working repl with auto-completion and an inspector <ecraven>is there a way to get only the lambda list of a procedure? <ecraven>ah, sorry, a slime backend (the emacs lisp interface thing) <janneke>ecraven: slime is something like geiser, right? <jlicht>hi guile! Using the amazing bytestructures module, how can I 'get' my pointer out again? I would like to use my bytestructures-created structs as arguments to some wrapped glibc functions via `(system foreign)' :-) <jlicht>nvm, I found out about `(bytestructures guile ffi)'.