thanks for the suggestion. Unfortunately, the ... (splat?) operator makes 
this very slow for larger collections.

Christoph


On Friday, 15 April 2016 19:10:12 UTC+1, Cedric St-Jean wrote:
>
>
>
> On Friday, April 15, 2016 at 12:30:51 PM UTC-4, Christoph Ortner wrote:
>>
>> right I mean b) - I have 1000, say, line segments or polygons, each with 
>> the same number of points. All I can do is loop, yes?
>>
>
> Not a compose expert either, but I used a list comprehension to make a 
> grid and it worked fine
>
> vbars(ncols, nrows) =
>     compose(context(), [compose(context(), line([(x1,0.),(x1,nrows)]))
>                         for x1 in 0:1:ncols]...)
>
>
>  
>

Reply via email to