IRC channel logs
2023-11-14.log
back to list of logs
<civodul>rlb: hello! have you been able to take a look at incoming patches lately? :-) <mwnaylor>Does guile have a partial function? ex. (define plus5 (partial + 5)) <lloda>you can do (define (plus5 x) (+ 5 x)) <lloda>srfi-26 gives you (define plus5 (cut + <> 5)) <mwnaylor>Will have to get used to different syntax. <ron77>hello is it possible to code in scheme with emacs? instead of guile-studio? <mwnaylor>emacs has geiser and geiser-guile. This gives us a guile repl. <mhcat>does guile have something like srfi-197 (chain, like as-> in clojure) currently or planned? <apteryx>no, but if it's a final srfi, you could try adding it into Guile <apteryx>what's the best way to find a node in a tree? <apteryx>I know of ((sxpath '(// id)) tree), but not how to filter based on its *text* value <apteryx>fun, we can't use (if (and-let* ...) fallback) <rekado>cow_2001: is this when launching with “guix shell --pure”? <rekado>cow_2001: something may have changed in the way Emacs from Guix sets up the search path.