Solution for partial apply without using bind
Solution for partial application with bind