This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (4)
- # beginners (21)
- # boot (85)
- # cider (31)
- # clojure (45)
- # clojure-australia (1)
- # clojure-berlin (2)
- # clojure-dev (7)
- # clojure-italy (10)
- # clojure-japan (17)
- # clojure-norway (8)
- # clojure-russia (2)
- # clojure-uk (15)
- # clojurebridge (1)
- # clojurescript (115)
- # code-reviews (13)
- # core-async (1)
- # editors (17)
- # euroclojure (5)
- # jobs (1)
- # ldnclj (9)
- # off-topic (5)
- # om (18)
- # re-frame (15)
- # reagent (25)
- # sydney (1)
might not apply, but concat might not always be so wise http://stuartsierra.com/2015/04/26/clojure-donts-concat
and as such,
(mapcat identity [[['A 'B]['D 'E]] [['X 'Y]]]) would work for this example
but one might want to ask why do you end up with such a nested vector in the first place?
Hmm, I’m not sure I understand how mapcat fixed the problem, given that mapcat identity would just do (apply concat collection)
Re-reading I understand more - the issue is that they were using concat repeatedly in a loop
So I think
(apply contact vector) would still be the most correct / idiomatic way to remove a single level of nesting. Still could be wrong though
Clojure is shepherded by Cognitect; it's not really a standard so much as a project maintained by a for-profit (awesome) company.
ECMA-262/TC39 is a standards body for allowing multiple compliant implementations of the same programming language. For complex syntaxes like JS, that's a non-trivial problem
For Clojure, writing an EDN interpeter is actually pretty simple. Writing the pile of code that makes up the standard library is the hard part (persistent data structures, the hundreds of standard functions, macros, reader literals, special forms, etc)
All of which are well-documented, but not standardized except that the "Cognitect Clojure" is the reference implementation.
@teslanick: Ok, I was just wondering how projects like clojureCLR and clojurescript match the functionality. I guess they just have to look at the Clojure implementation and mimic it where they can
Both ClojureCLR and ClojureScript are maintained in parallel with Clojure to maintain some level of feature parity.
is there a way to add a directory to lein’s classpath that won’t get pulled into an uberjar?
I need to refer to ~2GB of static data and reeeeaaaally don’t want to include that in a WAR file.
Hi, anyone have a moment to look at my code and problem with threads (I guess?)?
When I uncomment that line and return channel in the component
does not execute. I've to pass at least 2 messages to
events-chan to "unblock" it. How come that
d/let-flow is blocked?
It might be better visible in the logs (adding snippet)
Okay, I think I've solved it by changing https://github.com/arathunku/game-fun/blob/f16b4488989e946b035148dc3a97ce8905a32dc9/tiled-mmo/server/src/gs/components/players_connections.clj#L23 to be synchronous (:()