On Dec 29, 2014, at 7:44 PM, Eli Barzilay <[email protected]> wrote:

> On Tue, Dec 30, 2014 at 1:55 AM, Alexander D. Knauth
> <[email protected]> wrote:
>> 
>>> @~a{x is @x and y is @y})
>> 
>> But this doesn't work for values like images, syntax-objects,
>> mixed-numbers, etc.  that can't be converted to strings properly,
> 
> Yes -- but that's only because of what `~a' etc are doing.  It sounds
> like what you really want is a different set of simple functions that
> actually print stuff instead of generating strings.

That’s part of it, but I also want to be able to have string arguments
print as values with the “”s, and also be able to do stuff like:
@my-format{some stuff
           <~a,~a>@|(foo-x blah) (foo-y blah)|
           more stuff}
Where the place-fillers can be on the same line as the place-holders,
even with a multi-line format string.

> -- 
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to