curry3 package:BNFC

Converts an uncurried function to a curried function.
Converts a curried function to a function on a triple.