found this on a blog : (def x ^{:type ::my-class} {}) apparently it adds meta data to a map user=> (meta x)
EDIT Updated code with solution I need to transcode amr to mp3, so i wrote a gstreamer pipeline in gstreamer-java. It looks like this:
I am creating trees of s-expressions for a genetic programming problem, and need to alter parts of the trees during the evolution process. I came across the Clojure zipper function that seems like it
Is there a language specification for clojure?Something that precisely defines the lexical syntax and grammar in EBNF or something similar?
Compojure does not bind the fields in a POST form. This is my route def: (defroutes main-routes (POST \"/query\" {params :params}
How would I eval to the following? (defn run-clojure-func [] (println \"welcome\")) (defn -mai开发者_运维知识库n [& args]
I\'m developing a web application using Compojure and I would hugely appreciate a smal开发者_运维问答l and complete example of storing and retrieving session data.
Command line is \"D:\\Progra~1\\Java\\jre6\\bin\\java.exe -jar开发者_如何学Go D:\\Old\\Clojure\\clojure.jar D:\\Old\\Clojure\\clojure-contrib.jar\"
I\'m failing to import final classes from a java package. Importing normal classes works fine. For example:
defrecord in clojure allows for defining simple data containers with custom fields. e.g. user=> (defrecord Book [author title ISBN])