functional-koans / clojure-koans

A set of exercises for learning Clojure
3.74k stars 2.14k forks source link

Simplified code. #82

Closed pbzdyl closed 9 years ago

pbzdyl commented 9 years ago

Wouldn't it be more idiomatic to use list* instead of combination of concat and list?

trptcolin commented 9 years ago

How would you feel about cons instead? The nice thing about cons is that it's already been covered in a previous koan (concat hasn't been explicitly introduced, same for list*).

pbzdyl commented 9 years ago

Yes, you are right, it would be even simpler. Let me change it.

trptcolin commented 9 years ago

Nice, thanks! Would you mind squashing these 2 commits?

pbzdyl commented 9 years ago

Done.

trptcolin commented 9 years ago

Woohoo thanks!! :heart: