Mark,

There's a format-like function in the Closure library.
Add to your namespace

(:require [goog.string :as gstring]
            [goog.string.format :as gformat])

and call it like

(gstring/format "%02.0f" (inc 8)) ;;or whatever.

On Apr 19, 4:46 pm, Evan Mezeske <emeze...@gmail.com> wrote:
> Is the 16 seconds figure from running your code in Rhino?  From what I've
> heard, the V8 engine is much, much faster (like, order(s) of magnitude)
> than Rhino.
>
> I'm not really sure what the best way to interactively run code on V8 is.
>  You could compile with node.js as the platform, and I think David Nolen
> has a partially working version of a node.js. REPL working:
>
> https://github.com/swannodette/clojurescript/blob/node-repl/script/no...
>
> Hopefully someone else on the list knows more about using V8 for this kind
> of thing.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to