Re: [racket-users] Pict combiners in list form?

2019-09-05 Thread Laurent
Or as a simple hack you can redefine `apply' as a one letter binding like `~'. On Thu, Sep 5, 2019 at 12:52 PM Robby Findler wrote: > Although this is a bit tedious and I write that too much too ... maybe > they should call "flatten" on their arguments or just accept a list of > picts? > >

Re: [racket-users] Pict combiners in list form?

2019-09-05 Thread Robby Findler
Although this is a bit tedious and I write that too much too ... maybe they should call "flatten" on their arguments or just accept a list of picts? Robby On Wed, Sep 4, 2019 at 10:16 PM David Thrane Christiansen < da...@davidchristiansen.dk> wrote: > Hi Hendrik, > > I use apply for that. Eg

Re: [racket-users] Pict combiners in list form?

2019-09-04 Thread David Thrane Christiansen
Hi Hendrik, I use apply for that. Eg (apply hbl-append (pict-width (t " ")) my-list-of-picts). David On Wed, Sep 4, 2019, 20:06 Hendrik Boom wrote: > Is there a way to call the pict combiners (such as ht-append) giving it a > list of argument picts instead of a varying number of argument

[racket-users] Pict combiners in list form?

2019-09-04 Thread Hendrik Boom
Is there a way to call the pict combiners (such as ht-append) giving it a list of argument picts instead of a varying number of argument picts? Perhaps another set of append functions, or another way of calling functions in Racket? I find myself writing list-folowing recursions every time I