moodymudskipper / nakedpipe

Pipe Into a Sequence of Calls Without Repeating the Pipe Symbol.
69 stars 7 forks source link

Conditional step : Special case for `if`? #11

Closed moodymudskipper closed 4 years ago

moodymudskipper commented 4 years ago

It's highly unlikely that someone would pipe a boolean into if, thus a special case for if should not break code nor consistency with magrittr.

In a line with an if / else statement :

I think it d be convenient, but maybe confusing? Let it rest and decide later

moodymudskipper commented 4 years ago

done!

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.