I solved the Difference Of Squares problem in Clojure.
This exercise was very easy.
I played with partial and the thread last macro (->>) to try to make the solution more readable:
It turns out that I had done this exercise before.
You can see that version in Euler Project: Problem 6 in Clojure
You can nitpick my solution here and/or see all the exercises I've done so far in this repository.
No comments:
Post a Comment