Clojure

Clojure is a dialect of Lisp and a dynamic, functional, general-purpose programming language that targets the Java Virtual Machine, the CLR and JavaScript.

Installation

Install the clojure package, or clojure-gitAUR for the development version.

REPL

To run the REPL, install leiningen from leiningen package. Then in a terminal type

lein repl

m2 repo location

To change the location of the m2 repo add this to your profiles.clj:

{:user {:local-repo #=(eval (str (System/getenv "XDG_CACHE_HOME") "/m2"))
        :repositories  {"local" {:url #=(eval (str "file://" (System/getenv "XDG_DATA_HOME") "/m2"))
                                 :releases {:checksum :ignore}}}
        }}
gollark: Well, yes, but if there are instances of unparseable code that makes the language unparseable.
gollark: I read that parsing Perl was equivalent to solving the halting problem.
gollark: I prefer languages which are actually parseable.
gollark: Oh, no. My problems with perl are different.
gollark: Also, it's nice if you can program application logic faster rather than wrangle pointers.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.