News for hackers. Stuff that matters.
Re:Show HN: Python library for functional programming by baldfat on Thursday December 14, 2017 @08:06AM (#15921937)
> Now - starting a line of code with a "." is not valid Python

Absolutely agree. I really like the multi character piping at the end of lines that would get rid of the .

R has %>%

F# uses |> and for functions >>

I would love to see R and all languages just pick up and use F# |>

Re:Show HN: Python library for functional programming by gaius on Thursday December 14, 2017 @09:04AM (#15922299)
I think the %x% style is baked into R to differentiate built in and custom infix operators - %>% comes from Tidyverse IIRC.
Re:Show HN: Python library for functional programming by alsocasey on Thursday December 14, 2017 @10:11AM (#15922814)
Originated in the 'magrittr' package. The early tidyverse used a different pipe before depending on magrittr's version.
Re:Show HN: Python library for functional programming by huac on Thursday December 14, 2017 @12:42PM (#15924380)
I don't think so. `%in%` is built into R (or at least in the base package).
Re:Show HN: Python library for functional programming by gaius on Thursday December 14, 2017 @04:49PM (#15927432)
I mean, I don't think there is a way to implement |> in R