Defining custom pipe operator

It kinda-works, but not always. First, you have a typo - it should be f \circ g, not the other way. Also compare this: sin |> typeof gives typeof(sin), while sin ⇒ typeof gives #52 (generic function with 1 method). However, for most cases I guess this should be ok…