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.
Where do we put “asking the world” code when we separate computation from side effects?
According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, so that it would be easier to understand and test both parts.
Where do we put “asking the world” code when we separate computation from side effects?
According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, so that it would be easier to understand and test both parts.
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.
How to require a .clj fle from another project on my local machine?
Let’s say you create two projects with Leiningen (side by side in a folder called projects
) with lein new ping
and lein new pong
. Then you implement a little function in pingsrcpingcore.clj
:
Does Clojure borrow concurrency ideas from Haskell?
In code quarterly interview with Rich Hickey, Michael Fogus hints that Clojure borrows a lot from Haskell:
Does Clojure borrow concurrency ideas from Haskell?
In code quarterly interview with Rich Hickey, Michael Fogus hints that Clojure borrows a lot from Haskell:
Does Clojure borrow concurrency ideas from Haskell?
In code quarterly interview with Rich Hickey, Michael Fogus hints that Clojure borrows a lot from Haskell:
Does Clojure borrow concurrency ideas from Haskell?
In code quarterly interview with Rich Hickey, Michael Fogus hints that Clojure borrows a lot from Haskell:
What is the relation between clojure reducers and loop fusion
I just stumbled upon Clojure reducers library.