Re: Unifying Iteration and Viewports

James Fuller <jim@webcomposite.com> writes:
> (B) An iteration of the sections that produces an empty sequence:
>
> why not empty parens to represent sink()
>
>    $doc//section ! ()

When does this have value?

> we probably need to come up with a more realistic example.
>
> (C) 'replacement of sections'
>
>   $doc ~ //section ! filter() ~
>
> Personally would like to avoid spending weeks/months/years discussing
> C) ... I observe that viewports has taken up a huge amount of mental
> capital for the WG over the years and while it is very useful I think
> trying to solve it to achieve parity in the language is a rathole best
> avoided.

My knee-jerk reaction is that XProc isn’t useful without
viewport/replace.

> I also would think ironing out data literals and templating could
> offer other routes for solving this. In any event, please ... let us
> timebox our efforts - I would propose 2 weeks (2 WG meetings) from
> today.

I don’t want it to become a time sync, but I’m not persuaded to let it
go. But we can do other things first, if that’s the best course.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Wednesday, 16 March 2016 21:22:35 UTC