Thanks, wasn't familiar (and this was clashing in my head with Datomic
Ions). Sounds to me like you should make a new tagged literal edn type like
#ion/symbol rather than trying to force this into edn symbols, which do not
support the semantics you want. Printing as (keyword "foo bar") means you
Have you tried this with Transit instead of EDN? From what I understand by
all this Transit shouldn't have problems with spaces in keywords/strings as
it doesn't print them in the same way, it's more of a marshaling format
than a printer/reader, and you get the big upside of Transit being *way*
fas
Thanks David. So if I need to extend edn to serialize custom types, I should
extend print-method? And have it switch on print-readably? Where when true,
prints a reabale edn literal #x/y ... for example, otherwise it prints as
standard?
Would that be the correct way?
--
You received this mes
Ion is a data serialization format from Amazon http://amzn.github.io/ion-docs/
One lf its supported data type is symbol, defined as: Interned, Unicode
symbolic atoms (aka identifiers)
I interact with systems that interchange their data using ION. My systems use
EDN though internally. Thus I nee
Clojure does not have the ability to "treat a manually created java Thread
as if it a daemon thread", so I'm pretty sure we can rule that out.
Just skimming the original code, it's processing 16M+ values. At a glance,
looks like maybe the sync version doesn't hold head where maybe the async
one
There is question on StackOverflow:
https://stackoverflow.com/questions/51776663/why-does-looping-over-a-large-amount-of-data-in-another-thread-cause-an-overacti/5164#5164
In my answer, I document how Clojure seems to tread a manually created java
Thread as if it a daemon thread, even tho
Dimitris, always glad to see people improving Java interop! Nice work!
I noticed your mention of my library (ike.cljj) in the readme and was
curious about the parallel streams. I haven't had a use case for them in
any of my stream work so far, so I didn't think to test it when I wrote
ike.cljj. Is
If your goal is to produce edn, go with pr/prn/*print-readably*, not
print-dup. print-dup output often cannot be read as edn:
(print-dup {:k "v"} *out*)
;; #=(clojure.lang.PersistentArrayMap/create {:k "v"})
--
David
--
You received this message because you are subscribed to the Google
Groups
Damn! Here is the correct link:
https://github.com/jimpil/clambda
On 09/08/18 17:03, dimitris wrote:
Hi folks,
https://github.com/jimpil/clambda
/clambda/ is a little library for working with Java Streams from
Clojure, and to a lesser extend, for working with Clojure seqs from
Java. Paral
Hi folks,
https://github.com/jimpil/clambda
/clambda/ is a little library for working with Java Streams from
Clojure, and to a lesser extend, for working with Clojure seqs from
Java. Parallel streams are fully supported, but there are some gotchas
(described in the README). Convenience helper
If Clojure lacks a type that exactly matches ION's symbol type, why not add
your own type with a record, then add a data reader for it.
For example: #ion/symbol "foo"
On Thu, 9 Aug 2018, 05:48 Didier, wrote:
> Thanks Andy, ya I actually realized this, I'm using a custom reader
> literal now ins
I don’t understand what ION -> EDN -> ION means?
--
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.
T
12 matches
Mail list logo