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?
>
> 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 (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 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
>>> want
>>> this.
>>>
>>> -- hendrik
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to racket-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/racket-users/20190905030628.rg4uoaac3zro7ztr%40topoi.pooq.com
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/CAF_itEs8niKiFSvwfoxYs%3D_o-DEa0Etmph_zL_jren0CqzLSFA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAL3TdONXAk9r95T-4Byv9pc9%3DRtBy35df-anqQvJOn8B6YO8aA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaHxRpUjDhYKikUAztu8_0DFgsBVNUAQKHXYrLt81UVeiw%40mail.gmail.com.


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 (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 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
>> want
>> this.
>>
>> -- hendrik
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/20190905030628.rg4uoaac3zro7ztr%40topoi.pooq.com
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAF_itEs8niKiFSvwfoxYs%3D_o-DEa0Etmph_zL_jren0CqzLSFA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL3TdONXAk9r95T-4Byv9pc9%3DRtBy35df-anqQvJOn8B6YO8aA%40mail.gmail.com.


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 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
> want
> this.
>
> -- hendrik
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/20190905030628.rg4uoaac3zro7ztr%40topoi.pooq.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAF_itEs8niKiFSvwfoxYs%3D_o-DEa0Etmph_zL_jren0CqzLSFA%40mail.gmail.com.


[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 want 
this.

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20190905030628.rg4uoaac3zro7ztr%40topoi.pooq.com.