Open neuwirthe opened 8 years ago
Partial duplicate with #41.
Following my suggestion on #41 and #473, I would give less emphasis to the %
signs, which just convey that these are custom binary operators (which will already be clear from the use of ligatures). I'd reduce each %
to just a small vertically centered circle ∘
.
So, for %>%
I'd use ∘▷∘
(except I would stretch the triangle so it touches the circles).
Similarly:
%$%
you could use ∘$∘
but extend the tips of the dollar sign to touch the circles%<>%
, you use something like the ligature for F#'s <|>
, but add circles ∘
at the vertex of <
and the vertex of >
%T>%
you could use ∘T>∘
, but join the right end of the T
's cross bar to the top of the >
, make the vertex of the >
touch the right ∘
, and make the left side of the T
's cross-bar bend down at a right angle to touch the top of the left ∘
. The result would be something like ⫰⊤>∘
but all linked together.
magrittr make piping (Haskell style) available in R. It is not only used in magrittr, but also gives the basic operator %>% in dplyr.
Therefore it would be helpful if we had the following operators as ligatures:
%$% magrittr exposition pipe-operator %<>% magrittr compound assignment pipe-operator %>% magrittr forward-pipe operator %T>% magrittr tee operator