Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I get to choose the style, I like doing this...

    bar 
    |> decorate() 
    |> some_more() 
    |> case do 
      result -> 
        {:ok, result} 
    end


I like that. I never occurred to me to pipe into `case`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: