Thanks, For anyone who is interested. Here are the exercises and theory: http://iloveponies.github.io/120-hour-epic-sax-marathon/I-am-a-horse-in-the-land-of-booleans.html and here are the exercises layout ; https://github.com/iloveponies/i-am-a-horse-in-the-land-of-booleans/blob/master/src/i_am_a_horse_in_the_land_of_booleans.clj
Roelof Op woensdag 2 september 2015 00:11:27 UTC+2 schreef Jony Hudson: > > You might find kibit interesting too: > > https://github.com/jonase/kibit > > In its own words "kibit is a static code analyzer for Clojure, > ClojureScript, cljx <https://github.com/lynaghk/cljx> and other Clojure > variants. It uses core.logic <https://github.com/clojure/core.logic> to > search for patterns of code that could be rewritten with a more idiomatic > function or macro. " > > Running it on your file gives: > > At test.clj:10: > > Consider using: > > (neg? x) > > instead of: > > (< x 0) > > > At test.clj:15: > > Consider using: > > (zero? (mod n divisor)) > > instead of: > > (= (mod n divisor) 0) > > > Jony > > On Monday, 31 August 2015 19:29:21 UTC+1, r/ Wobben wrote: >> >> Hello, >> >> I did solve the boolean chapter of the ilovehorses git repo. >> My solutions can be found here: >> https://github.com/rwobben/i-am-a-horse-in-the-land-of-booleans/blob/master/src/i_am_a_horse_in_the_land_of_booleans.clj >> >> Any experts who can give me feedback about the solutions so I can learn >> from it. >> >> Roelof >> >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.