greghendershott / rackjure

Provide a few Clojure-inspired ideas in Racket. Where Racket and Clojure conflict, prefer Racket.
BSD 2-Clause "Simplified" License
236 stars 17 forks source link

Implement partial #17

Closed qerub closed 10 years ago

qerub commented 10 years ago

I miss partial from Clojure in Racket. I'm aware of curry, but its semantics are a bit wonky IMHO.

Example: What's the return type of (curry f 1 2)? (Answer: It depends on the arity of f.)

Would you accept a patch that adds partial to Rackjure?

greghendershott commented 10 years ago

This sounds good to add.

Yes, I'd welcome a patch -- thanks!