I am not to Clojure and attempting to figure out how to do this. I want to create a new hash-map that for a subset of the keys in the hash-map applies a function to the elements. What is the best way
Currently I\'m trying to create sample Wicket page with Clojure (in existing wicket project). Code looks like this:
Given a function object or name, how can I determine its arity? Something like (arity func-name) . I hope there is a way, since arity开发者_开发问答 is pretty central in ClojureThe arity of a functio
What are the technical questions I simply must have answers for before I approach someone about introducing a new language?
Say i have a function that takes to coordinates, x and y. For x I have a sequence of values say [1 2 3] and for y I have another sequence of values say [4 5 6].
If I pmap a开发者_C百科 function onto a sequence how far ahead will the sequence be realised in parallel
I\'ve been caught up in long running computations lately thanks to Project Euler and I\'d like to know how to abort an evaluation and return to the REPL prompt. I\'m running the standard Clojure Box v
Sorry if this is a bit of a noob question but I am still getting used to functional programming. I want to write a simple Sudoku solver as an exercise.
I have a java.util.HashMap object m (a return value from a call to Java code) and I\'d like to get a new map with an additional key-value pair.
I\'m working with a messaging toolkit (it happens to be Spread but I don\'t know that the details matter). Receiving messages from this toolkit requires some boilerplate: