Pattern-match on \/ is an anti-pattern.

Instead use \/'s catamorphism which is composable.

Signed-off-by: Ricky Elrod <ricky@elrod.me>