Made func partially applicable and resulting functions only accept a single argument.

Potential implementation for #42 and fix for #43