I'm trying to learn clojurescript through this cool site clojurescriptkoans
There's a problem, I'm a bit stumped on a sample question.
Question:
Could anyone give me a clue like link me docs docs
to help me answer?
One function can beget another.
(= 9 (((fn [] _____ )) 4 5))
REF: http://clojurescriptkoans.com/#functions/7
Your anonymous function takes no arguments; when it is called (as is the case here), it has to return something that takes 4 and 5 as arguments, and returns 9. That something is simply another function called +
:
(= 9 (((fn [] + )) 4 5))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With