R adds native pipe and lambda syntax
I'm sure some of us who are out of the loop might be wondering: what about the magrittr pipe operator (%>%) that we all know and love?<p>Luke Tierney explains the move from %>% to a native pipe |> here [1]. The native pipe aims to be more efficient as well as addresses issues with the magrittr pipe like complex stack traces.<p>Turns out the |> syntax is also used in Julia, Javascript and F#.<p>The lambda syntax (\(x) -> x + 1) is similar to Haskell's (\x -> x + 1).<p>[1] <a href="https://www.youtube.com/watch?v=X_eDHNVceCU&feature=youtu.be&t=3099" rel="nofollow">https://www.youtube.com/watch?v=X_eDHNVceCU&feature=youtu.be...</a>