Raw String Literal Library Support
michael.hixson at gmail.com
Fri Mar 16 18:00:31 UTC 2018
On Fri, Mar 16, 2018 at 8:58 AM, Stephen Colebourne
<scolebourne at joda.org> wrote:
> On 14 March 2018 at 23:05, Michael Hixson <michael.hixson at gmail.com> wrote:
>> For example, does ``.lines() produce an empty stream?
> I believe `` is a compile error.
> (A mistake IMO, but necessary if you have unlimited delimiters)
Ah, oops. I meant to ask about calling lines() on the empty string. "".lines()
Looking at the implementation from a week ago , I think it
disagrees with BufferedReader about what lines are - specifically when
it comes to the empty string and any string ending with a line
separator. That seems not good. But that behavior isn't specified in
Jim's description or examples so I'm wondering if that's intentional.
(Or I could be reading the code wrong).
More information about the core-libs-dev