emit-str to store the XML as
> a string in the atom recent-activity.
>
> That leads to 2 questions:
>
> 1.) are strings expensive on memory?
>
> 2.) what are the simplest profiling tools I can use to compare the memory
> use of emit-str versus what I was doing previously?
>
&
(.setDate (goog.date.fromIsoString "2010-12-31") 1)
Matt Hoyt
From: Base
To: Clojure
Sent: Thursday, November 17, 2011 2:26 PM
Subject: ClojureScript: Correct way to call an instance method with parameters?
HI
I am attempting to manipulate a goog
Checkout the gh-pages branch from github. The branch has all of the
documentation for clojure in it.
Matt Hoyt
From: Kyle Cordes
To: clojure@googlegroups.com
Sent: Saturday, November 12, 2011 8:25 PM
Subject: Downloading the documentation?
Is there a
try (js* "debugger()")
Matt Hoyt
From: Stuart Campbell
To: Clojure
Sent: Thursday, November 10, 2011 9:16 PM
Subject: JavaScript `debugger' statement
I'm trying to enter the Firebug debugger when an exception is caught:
(try
; ...
Protocols are a way to achieve polymorphism. Clojure protocols are similar to
Haskell types classes.
Here is a video that explains clojure protocols: http://vimeo.com/11236603
Matt Hoyt
From: stevelewis
To: Clojure
Sent: Saturday, November 5, 2011 6:40 PM
e as the last parameter.
Second question:
I think what you mean is (->> "hi" println) . If you wanted to give the
function multiple arguments you could do this:
(-> "hello" (println "world!")) and the other form it would be (->> "world!"
(print
I modified the repljs.bat to include the current directory src/clj, src/cljs,
lib/, test/cljs, and test/clj to use with emacs inferior lisp mode in Windows.
https://gist.github.com/1310468
Matt Hoyt
--
You received this message because you are subscribed to the Google
Groups "Clojure&q
I wrote some functions to convert a map into an ExtJS/Sencha Touch config
object. It converts nested list and vectors into javascript arrays.
https://gist.github.com/1307273
Matt Hoyt
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
se for
clojure.
Is there anything I should look at for creating a dsl for distributed
messaging?
Is there a better way for dealing with optional arguments when its key/val
pairs than (apply hash-map opts)?
Matt Hoyt
--
You received this message because you are subscribed to the Google
It won't get GC until it finishes running unless the thread throws an unhandled
Exception or the application is terminated.
Matt Hoyt
From: Jan Rychter
To: clojure@googlegroups.com
Sent: Wednesday, September 28, 2011 3:38 PM
Subject: Are futures ga
Both of them are java objects. Records has more default functionality like
implementing equals, hashcode, etc. You can read more about the differences
here: http://clojure.org/datatypes
assoc for records sets the value of the property for the record.
Matt Hoyt
in clojure like map. It will only execute when you ask a
value for it.
Matt Hoyt
From: Dennis Haupt
To: clojure@googlegroups.com
Sent: Saturday, September 24, 2011 2:36 PM
Subject: beginner question
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
in java, i w
You only need the do sequence in queue-copy-fetch but not in process-indexes
should be "You only need the dosync in queue-copy-fetch but not in
process-indexes."
Matt Hoyt
____
From: Matt Hoyt
To: "clojure@googlegroups.com"
Sent: Thursday,
Map is lazy so it only gets called when you need something from the sequence.
To force it to be called you use doall so it would be (doall (map
queue-copy-fetch fetches-seq)).
You only need the do sequence in queue-copy-fetch but not in process-indexes.
Matt Hoyt
tions you can view the whole list
here http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
Someone did post in the mail list earlier this week or last week about a
project that translate clojure code into C++.
Matt Hoyt
From: cran198
Run:
lein pom
Then in intellij goto file->open project and goto the directory of the project
and click on the pom.xml file.
--
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 pos
I trying to use QtJambi and I'm having problems using the enums that
have this format Qt..
Error:
error: java.lang.ClassNotFoundException
Code:
(ns collab-web-qt.dialog.connect
(:import (com.trolltech.qt.gui QDialog QWidget QVBoxLayout QFormLayout
QLineEdit)
(com.trolltech.qt.core
17 matches
Mail list logo