Add curry to jasy.Function