Closed omega1x closed 1 week ago
For the uninitiated, like me, the pipe operators are not native in R, but part of extremely popular packages.
Here is an explanation of Pipes. There are apparently also %T>%
and %$%
on top of %>%
and %<>%
. The %<%
in the above article seems to be a typo and not really an actual operator.
Just mentioning this because %>%
isn't mentioned in the linked page as far as I can see.
Also, what people think about this when it comes to Fira Code.
@Omnieboer Thanks for the input! Looks interesting.
On the first glance the it will be hard to simplify the construction of %>%
in ligature & don't mess this up. I will think what can be done.
Hey, commenting here to register my interest, subscribe to updates, and crosspost my idea for a %>%
ligature from this parallel issue raised in the FiraCode repo:
The exact proportions should obviously be fine tuned more but I think this might be a good starting point. The ligature is both identifiable as %>% but also cohesive as a single unit.
Other iterations that could be considered if people think the ligature isn't clear enough:
- The circles in the percent symbols can be slightly horizontally offset from each other if desired.
- The bars in the percent symbols (i.e. just the first and last third of the long line) can be slightly sloped.
- Both of the above?
This is my draft idea, so feedback is welcome, thanks.
Let me know if you have any thoughts. Really hoping to see more development on this in the future. Thanks! :)
@bwu62, as for me, being a CRAN-package maintainer, I'm sure the ligature |>
for base-R pipe operator is quite enough. Thanks for your attention.
First of all, great thanks for your product, its is really awesome. Please, consider ligature for pipe operators
%>%
and%<>%
for R.