chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] ANN: The `str#' macro


From: Felix
Subject: Re: [Chicken-users] ANN: The `str#' macro
Date: Sat, 25 Jun 2011 21:27:14 +0200 (CEST)

From: Kon Lovett <address@hidden>
Subject: [Chicken-users] ANN: The `str#' macro
Date: Sat, 25 Jun 2011 10:59:05 -0700

> 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)
> 

Hey, very handy. Thanks for telling us!


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]