Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Clojure to JS compiler

CLJS-793: fix memoize (non-truthy values don't get cached)

ClojureScript's memoize fn currently uses `(get @mem args)` to
check for the existence of a cache entry, preventing falsey
values from being cached correctly.

Clojure's `memoize` uses `find` rather than `get` to avoid this
issue. Here we'll use a `get` lookup sentinel since it's faster.
latest commit 4bbbd6068a
Peter Taoussanis ptaoussanis authored April 08, 2014 swannodette committed April 18, 2014
Octocat-spinner-32 benchmark Update for testing w/ latest SpiderMonkey. Multimethods are 10X faster, April 11, 2014
Octocat-spinner-32 bin CLJS-415: Speed up cljsc by exiting after output has been printed December 02, 2012
Octocat-spinner-32 devnotes mark specify complete December 30, 2013
Octocat-spinner-32 samples Fix broken NodeJS samples February 20, 2014
Octocat-spinner-32 script Update for testing w/ latest SpiderMonkey. Multimethods are 10X faster, April 11, 2014
Octocat-spinner-32 src CLJS-793: fix memoize (non-truthy values don't get cached) April 18, 2014
Octocat-spinner-32 test CLJS-800: Extend PersistentQueueSeq with IPrintWithWriter April 18, 2014
Octocat-spinner-32 .gitignore CLJS-674: Relativize source files in source maps while checking intra… November 20, 2013
Octocat-spinner-32 Clojurescript.iml initial commit June 02, 2011
Octocat-spinner-32 bump version in README April 02, 2014
Octocat-spinner-32 epl-v10.html local EPL file July 20, 2011
Octocat-spinner-32 pom.template.xml update pom March 26, 2014
Octocat-spinner-32 project.clj only put test/clj on :test-path in project.clj. fix busted type February 21, 2014

What is ClojureScript?

ClojureScript is a new compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.

Releases and dependency information

Latest stable release: 0.0-2202

Leiningen dependency information:

[org.clojure/clojurescript "0.0-2202"]

Maven dependency information:


Getting Started

Questions, Feedback?

Please point all of your questions and feedback to the Clojure mailing list. There is also a community run ClojureScript user mailing list. The Jira bug/feature tracking application is located at

Developers Welcome

ClojureScript operates under the same license as Clojure. All contributors must have a signed CA (Contributor's Agreement) and submit their patch via the appropriate channels. If you're interested in contributing to the project, please see the contributing page on For more information about working on the compiler and testing check the Developer section of the wiki.


Copyright (c) Rich Hickey. All rights reserved. The use and
distribution terms for this software are covered by the Eclipse
Public License 1.0 (
which can be found in the file epl-v10.html at the root of this
distribution. By using this software in any fashion, you are
agreeing to be bound by the terms of this license. You must
not remove this notice, or any other, from this software.
Something went wrong with that request. Please try again.