er, the sanest thing to do is to consider
deallocation or other life cycle issues as the responsibility of the
producer, unless it's very explicit in the exposed API that the consumer
should handle it.
--
Alexandru Nedelcu
www.bionicspirit.com
PGP Public Key:
https://bionicspirit.com/key.
won’t necessarily be up-to-date when the final
will be observed by other threads - again, ordering guarantees are relative.
In other words, for finals to work properly, this mustn’t escape during
construction and care must be taken when storing references to mutable
things received from the outsi
m what I understand, there are differences between
Clojure and ClojureScript (e.g. protocols are at the bottom in
ClojureScript) and it would be valuable if I could click on a function and
see its ClojureScript specific code and documentation. Also handling the
Javascript interop would be aw
er does jumping
to the definition of a function. Is there any way to get these features
while working with ClojureScript in Emacs? Or maybe in another IDE?
Thanks,
--
Alexandru Nedelcu
www.bionicspirit.com
PGP Public Key:
https://bionicspirit.com/key.aexpk
--
--
You received this message beca
tom data structures, I don't have suggestions, but
> you can refer to what the experts do:
>
> https://github.com/clojure/data.priority-map
> https://github.com/ztellman?tab=repositories (potemkin, clj-tuple,
> immutable-bitset, et al)
>
> Hope that helps,
> Leif
>
>
> O
+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
Alexandru Nedelcu
www.bionicspirit.com
PGP Public Key:
https://bionicspirit.com/key.aexpk
signature.asc
Description: OpenPGP digital signature
nj (filter even? [1 2 3 4 5]) 6)
So lets say that I want to write a generic function that preserves the
type of that collection. Is something like this idiomatic?
(defn only-evens [coll]
(into (empty coll) (filter even? coll)))
Thanks,
--
Alexandru Nedelcu
www.bionicspirit.com
I wasn't noticing it because of the font used.
Thanks,
--
Alexandru Nedelcu
www.bionicspirit.com
PGP Public Key:
https://bionicspirit.com/key.aexpk
signature.asc
Description: OpenPGP digital signature
environment I followed the Getting Started tutorial
at http://clojure-doc.org/articles/tutorials/emacs.html and thus
installed starter-kit, starter-kit-lisp, starter-kit-bindings,
starter-kit-eshell, clojure-mode, clojure-test-mode and cider.
Any ideas?
--
Alexandru Nedelcu
www.bion
r / REPL in the console with the current stack-trace and
local vars visible?
Thanks,
--
Alexandru Nedelcu
www.bionicspirit.com
PGP Public Key: http://goo.gl/ZyQpGv
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gro
https://launchpad.net/~webupd8team/+archive/java
--
Alexandru Nedelcu
https://bionicspirit.com
--
--
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 memb
d that must have near-realtime
> low latencies. This means a lot of effort has been made to build garbage
> collectors that cope with such workloads. As a result, you have the
> concurrent mark-sweep GC (CMS), the new G1 from JDK 7 or Azul's Pauseless
> GC (expensive, but amazing, o
ensive, but amazing, or so I hear). Alternative languages (such a
Scala, JRuby or Clojure) tend to generate a lot of short-lived junk. And
JVM's garbage collectors can cope with it efficiently.
I can probably think of other stuff, but this email is already too long :-)
[1]
http://blog.richdoughe
hrived because it was designed to fit well within the existing Ruby
ecosystem. IronRuby, a project started by Microsoft for demoing the DLR
library, never stood a chance to catch up with it.
--
Alexandru Nedelcu
https://bionicspirit.com
--
--
You received this message because you are subscribed
Hi,
I'm a total newb and I'd like to play around with ClojureScript to learn it
and maybe build something with it. However starting/configuring a project
is difficult and I want 3 things - (1) a mixed clojure/clojurescript
project + (2) a way to automatically compile the files on changes + (3)
15 matches
Mail list logo