Python decorators and Lisp macros
When looking Python decorators someone made the statement, that they are as powerful as Lisp macros (particularly Clojure).
Python decorators and Lisp macros
When looking Python decorators someone made the statement, that they are as powerful as Lisp macros (particularly Clojure).
How to get doc string for a clojure interface?
Is it possible to get doc-string for a clojure interface or other syntactic entity?
Set Clojure CLASSPATH on Windows
I have been struggling to modify my classpath in order to import clojure modules on my Windows machine. I have already updates my environment variable through powershell but I get the same error:
How to interoperate from clojure with java varargs methods
According with docs I have to use into-array
but it doesn’t work.
Catch a compiler exception in macroexpand
I have an assertion that checks key correctness at compile time:
How to pass list of args to variadic macro
I have a macro (I’ve simplified everything a lot):
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.