Hi Alex, Yes, it's ok to include only block comment :-)
Best regards, KS On Fri, May 8, 2009 at 1:20 AM, Alexander Burger <[email protected]> wrot= e: > Hi Kriangkrai, > >> But what if we want to mix it with expressions? >> >> =A0 =A0(let (Clr "#EEE" =A0Cls "xxx") >> =A0 =A0 =A0 (pack {$<html><body style=3D3D"background-color:$} Clr {$"> >> =A0 =A0 =A0 =A0 =A0<div class=3D3D"$} Cls {$"> >> =A0 =A0 =A0 =A0 =A0</div> >> =A0 =A0 =A0 =A0 =A0</body></html>$} )) > > Then it gets indeed a bit clumsy, but you can use multiple 'here's and > suitable delimiters: > > (let (Clr "#EEE" =A0Cls "xxx") > =A0 (here "<1>") > =A0 (prin Clr) > =A0 (here "<2>") > =A0 (prin Cls) > =A0 (here) ) > <html><body style=3D"background-color:<1> > "> <div class=3D"<2> > "> </div> > </body></html> > > I see this is not really equivalent, as it lets you not directly write > the text inline, and also does not allow operations on the strings like > 'pack' in your example, but I feel that the unescaped strings are not > the right thing to put into general purpose. Would it be OK if I include > only your #{span comment}# into the standard distribution? > > Cheers, > - Alex > -- > UNSUBSCRIBE: mailto:[email protected]?subject=3dunsubscribe > -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
