1. 14
  1.  

  2. 7

    Note that ScalaZ includes a |> operator - if you want one I’d recommend using theirs rather than rolling your own.