Arc Forumnew | comments | leaders | submitlogin
3 points by palsecam 5378 days ago | link | parent

I agree the interpreter behaviour is kind of strange here.

Anyway, if you don't already know it, use "@@" to escape "@", and not "\@".



2 points by pg 5377 days ago | link

Right: @@ to escape. Eventually I'll take over the reader, but it's not the top priority at the moment.

I'm not sure I'll even keep @strings. I find I don't use them as much as I expected. Does anyone use them a lot?

-----

1 point by rntz 5375 days ago | link

I find them quite useful for my irc bot, although I do run into the problem of not being able to @-substitute a simple variable unless it's going to be followed by something not permissible in a symbol. In particular, colons will be parsed as part of the symbol, which is a PITA. There is a workaround for this, but it's ugly:

  arc> (with (nick 'hbovik msg "hullo there") "@(idfn nick): @msg")
  "hbovik: hullo there"

-----

1 point by coconutrandom 5376 days ago | link

I tried for half a second, but dropped it in favor of string substitution.

-----