top | item 45772843 (no title) kec | 4 months ago You could always switch to a better font like Fira Code which has a ligature for this. discuss order hn newest adregan|4 months ago The gp's comment wasn't made regarding the look of the operator in its ascii representation `|>` but about the vertical misalignment.Typically you align a pipeline like so: df |> rbind(other_df) |> select(...) But these topics are largely left to code formatters these days. kec|4 months ago Weird, I have always aligned as the gp showed. I’m reasonably sure tidyverse documentation does the same (which is probably where we both picked it up from).
adregan|4 months ago The gp's comment wasn't made regarding the look of the operator in its ascii representation `|>` but about the vertical misalignment.Typically you align a pipeline like so: df |> rbind(other_df) |> select(...) But these topics are largely left to code formatters these days. kec|4 months ago Weird, I have always aligned as the gp showed. I’m reasonably sure tidyverse documentation does the same (which is probably where we both picked it up from).
kec|4 months ago Weird, I have always aligned as the gp showed. I’m reasonably sure tidyverse documentation does the same (which is probably where we both picked it up from).
adregan|4 months ago
Typically you align a pipeline like so:
But these topics are largely left to code formatters these days.kec|4 months ago