A Function currying method