Quoting [email protected] (2015-10-06 17:26:17)
> +  (define (line-items str)
> +    ;; Return a list of the whitespace-delimited "words" in a string
> +    (remove string-null?
> +            (map string-trim-both (string-split str char-set:whitespace))))

This strikes me as something generally useful enough to go with general
string manipulation code somewhere. Maybe (guix utils)?

Attachment: signature.asc
Description: signature

Reply via email to