Hi,

Just added `str#' to the moremacros egg. It behaves like #<# but for regular strings. Might be useful.

(str# "(+ 1 2) = #{(+ 1 2)}") => "(+ 1 2) = 3" <= (conc "(+ 1 2) = " (+ 1 2))

(str# "(+ 1 2) = #(+ 1 2)") => "(+ 1 2) = 3" <= (conc "(+ 1 2) = " (+ 1 2))

(str# "#{23}###{45}")         => "23#45"         <= (conc 23 "#" 45)

(Does not require data-structures to be imported even though conc is used.)

Best Wishes,
Kon


_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to