HackerTrans
TopNewTrendsCommentsPastAskShowJobs

abisen

no profile record

comments

abisen
·2 anni fa·discuss
If I am not using named arguments I find myself using the pipe operator a lot. I also find it more readable.

array |> mean |> round

For scenarios with named arguments there is a little not so cleaner workaround

array |> mean |> x->round(x, digits=2)