<unmatched-paren>is there some kind of path-append procedure in the standard guile libraries? <unmatched-paren>i can just do (string-append "foo" "/" "bar") but path-append would be more convenient <lilyp>I recall writing such a thing some while ago <unmatched-paren>i can't be bothered to write one just for this purpose, so i'll just use string-append as above if there isn't one <lilyp>Well, you can generalize that to (lambda args (string-join args file-name-separator-string)) <unmatched-paren>is there a procedure to pipe some text to a command and return the resulting stdout text? ***lampilelo_ is now known as lampilelo
<unmatched-paren>can i use (match) with '(cons . pairs)? something like this (match foo ((x . xs) ...)) but i don't see it mentioned in the match manual section <lilyp>unmatched-paren: you probably found that out yourself already but (head . tail) is another way of writing lists, so if tail is the cdr of a pair it works just as well <lilyp>but you can't distinguish between (a b) and (a . b) with just that ***bandali_ is now known as bandali