From ||one| @end|ng |rom r@tud|o@com  Mon Oct  7 16:28:20 2019
From: ||one| @end|ng |rom r@tud|o@com (Lionel Henry)
Date: Mon, 7 Oct 2019 16:28:20 +0200
Subject: [Rd] should base R have a piping operator ?
In-Reply-To: <032922f2-37a7-5197-04e8-b9ac51990e91@gmail.com>
References: <CAEKh8uidcEWA4tzmkpQxpF=q7r93qjf-HtiWLfbT91TFGOSzFQ@mail.gmail.com>
 <CAGpovd2jxxWBUxPhMAR6ZPw1+UQzK7BzJVtps10cMBSp=EUdHQ@mail.gmail.com>
 <CALEXWq0ZvGeTbeq-AeYTSTcTwR-TR+gGczqQhWupzB2h0wa+zg@mail.gmail.com>
 <CAGpovd29V3rXSyB_SMBnbKfb3dzAFPF66ck9iU6XPB_+bS+8WQ@mail.gmail.com>
 <CAEKh8ugr0FNryRVmM64pBPxjP=4xLrC0T2OsUD27mSASAyHpVQ@mail.gmail.com>
 <CAD4oTHHgSUr5TfLaTHxAM94E-Sqw9bW6gON7KdW324VEr524Lw@mail.gmail.com>
 <95648642-FCC6-49BE-93D9-8872172946E6@rstudio.com>
 <056d3c18-4d2b-0456-3e9f-6b496d733816@gmail.com>
 <4126370A-8386-406C-AD94-B8A99E2AE52E@rstudio.com>
 <032922f2-37a7-5197-04e8-b9ac51990e91@gmail.com>
Message-ID: <B82B864E-63D4-470A-8AC9-045E116B6D71@rstudio.com>


> On 7 Oct 2019, at 15:36, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> 
>  I think that could be done after parsing at run-time, as described in my earlier message.

Good point.


> P.S.  Were you just using |> to save typing, or is there a proposal to add a new operator to the language?  That would need parser changes.

Just a hypothetical native pipe for which the parser would automatically
wrap the arguments in srcref-carrying braces. Then we get step-debugging
of pipelines in all editors.


Best,
Lionel
	[[alternative HTML version deleted]]



[Rd] should base R have a piping operator ?
Lionel Henry