Finish partial application implementation
Implement conditionals