On Wed, 19 Sep 2018 at 14:51, Jim Laskey <james.las...@oracle.com> wrote:
>         HTMLDocument html = `
>                        <html>
>                            <body>
>                                <p>Hello World.</p>
>                            </body>
>                        </html>
>                   `.transform(HTMLDocument::parse);

I can't say I love that parse example, although I can see it having
some use. It does feel a bit like functional excess, and wouldn't be
nearly as pretty if the parser needed some other flags to be passed
in. I think I still favour just returning `String` and naming as
`with`.

Stephen

Reply via email to