Relative Content

Tag Archive for clojure

Can I have help formatting this clojure code?

I am practicing clojure and I tried the first advent of code challenge. I succeeded on the first part, but the second part of challenge 1 is not working with my code. I have tried to debug it and I am not sure what is wrong exactly, and I am new to clojure so I am not sure if maybe I am attempting the problem in a completely non sensical way.

How to refactor a Java singleton to Clojure?

I’m writing a simple game in Java and I want to learn Clojure, so I’ve decided to refactor my current Java code to Clojure. The problem is that I’ve coded so much in object-oriented languages that I cannot see how to do it functionally.