clojure icon indicating copy to clipboard operation
clojure copied to clipboard

List ops exercise

Open bobbicodes opened this issue 2 years ago • 2 comments

Creating an exercise generator.

It outputs a test suite, which is mostly correct except:

  • anonymous functions are not translated For example:
(list-ops/filter [] "(x) -> x modulo 2 == 1")

should be

(list-ops/filter [] (fn [x] (= (mod x 2) 1))

EDIT: test suite should now be correct.

bobbicodes avatar May 23 '23 17:05 bobbicodes

Hi @bobbicodes, are you still working on this PR? If not, I was wondering if I could continue this PR to add the list-ops exercise to the Clojure track? (although probably without the generator bit as I'm unfamiliar with it)

kahgoh avatar Feb 28 '24 14:02 kahgoh

@kahgoh Sure! I've been working on other projects these days and forgot all about this. It might even be nearly finished, I was porting it as part of last year's Functional February and at the last minute decided to do a different exercise.

bobbicodes avatar Feb 29 '24 09:02 bobbicodes