@neauoire Are cons and curry the same?
2 comments
@neauoire @river For quotations capturing a value (`cons`) is the same as partially applying that quotation (`curry`). Both operations pull a value into a quote. `cons ( [a] [b] -- [[a] b] )` is the same as `[ a ] [ b ] curry`. (Concatenative languages are a bit weird because you can apply `curry/cons` an unlimited number of times.) |
@river I think so, @capital explained to me that curry is a generalization of cons.