On Thu, Jan 05 2017, Tianxiang Xiong wrote
> We can have:
>
> user=> {(+ 1 2) 1 (+ 2 1) 2}
> IllegalArgumentException Duplicate key: 3
> clojure.lang.PersistentArrayMap.createWithCheck
> (PersistentArrayMap.java:71)
>
>
> So clearly a check is also made *after* evaluating the key forms. I'm just
We can have:
user=> {(+ 1 2) 1 (+ 2 1) 2}
IllegalArgumentException Duplicate key: 3
clojure.lang.PersistentArrayMap.createWithCheck
(PersistentArrayMap.java:71)
So clearly a check is also made *after* evaluating the key forms. I'm just
not sure why we need to check *before* evaluating the ke
Another workaround:
(array-map (java.util.UUID/randomUUID) 1 (java.util.UUID/randomUUID) 2)
On Wed, Jan 4, 2017 at 9:16 PM, Timothy Baldridge
wrote:
> The check is made at read-time, by the time to form gets to the compiler
> it's already a hash-map and one of your forms will have been dropped.
The check is made at read-time, by the time to form gets to the compiler
it's already a hash-map and one of your forms will have been dropped. So
the decision was made to make the reader check. One way you could solve
your problem here is with tagged literals, as the literal would be created,
and t
Using a Clojure 1.8.0 REPL, I get the following:
user=> {(+ 1 2) 1 (+ 1 2) 2}
IllegalArgumentException Duplicate key: (+ 1 2) clojure.lang.
PersistentArrayMap.createWithCheck (PersistentArrayMap.java:71)
It seems that the a check for key equality is made *before* the key is
evaluated, when they
OK it is back up now. Please let me know if you notice any problems -- in
addition to fixing the Safari issue, I migrated to a server with more
memory.
On Wednesday, January 4, 2017 at 8:52:17 PM UTC-6, Zach Oakes wrote:
>
> Thanks for the feedback! I fixed the Safari issue and I'm about to take
Thanks for the feedback! I fixed the Safari issue and I'm about to take the
server down to do another deploy. Hang tight and sorry again to those who
are currently on it.
On Wednesday, January 4, 2017 at 10:20:20 AM UTC-6, Zach Oakes wrote:
>
> Cloud IDEs are becoming more common. To quote the r
That's really cool! The autosave is sweet. So is the fact that I can get
it to work on ios---I was just thinking about buying an ipad pro and
figuring out good ways to code on it... this could be a really cool
solution for starting something on a real computer, leaving it in the
cloud, workin
Works like a charm from my ipad pro 😁
Luc P.
--
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 uns
Yes, I definitely encourage third-party plugins. Proto REPL is an extension
of the Atom editor. Atom itself can be extended and has great
documentation: https://atom.io/docs
Proto REPL has hooks for extensions which are documented here:
https://github.com/jasongilman/proto-repl/blob/master/extendi
It seems like I need to double-click on the buttons (like “Web App” and “Game”)
to make them do something.
MacOS 10.12.3/Safari 10.0.3
Seems to be a safari issue, since it behaves as it should in Chrome.
Erik.
> On 4 Jan 2017, at 17:20, Zach Oakes wrote:
>
> Cloud IDEs are becoming more comm
OK I'll look into dealing with that more gracefully.
BTW for those who were just on, I just restarted the server, sorry bout
that. I needed to improve the confirmation dialog for deleting
projects/accounts. Eventually i'll figure out how to deploy like the pros
do...
On Wednesday, January 4, 2
Ah, it was Ghostery.
On Wednesday, January 4, 2017 at 1:06:13 PM UTC-6, Zach Oakes wrote:
>
> Hmm! Anyone else get that? Can't reproduce even after clearing cache and
> whatnot.
>
> On Wednesday, January 4, 2017 at 12:59:49 PM UTC-6, Alex Miller wrote:
>>
>> Didn't load for me...
>>
>> Uncaught
Hmm! Anyone else get that? Can't reproduce even after clearing cache and
whatnot.
On Wednesday, January 4, 2017 at 12:59:49 PM UTC-6, Alex Miller wrote:
>
> Didn't load for me...
>
> Uncaught TypeError: gapi.load is not a function
> at nightcoders.js:513
> at nightcoders.js:513
>
> Did I
On Wednesday, January 4, 2017 at 12:24:38 PM UTC-6, Russell Mull wrote:
>
> I've been hacking on a (currently partial) implementation of a spec
> combinator I'm currently calling 'encoding-of'. It's pretty common to have
> some kind of encoded version of a data structure kicking around, in json
Didn't load for me...
Uncaught TypeError: gapi.load is not a function
at nightcoders.js:513
at nightcoders.js:513
Did I broke it?
On Wednesday, January 4, 2017 at 10:20:20 AM UTC-6, Zach Oakes wrote:
>
> Cloud IDEs are becoming more common. To quote the rifleman's creed, there
> are ma
I've been hacking on a (currently partial) implementation of a spec
combinator I'm currently calling 'encoding-of'. It's pretty common to have
some kind of encoded version of a data structure kicking around, in json,
xml, or whatever, and it's handy to be able to describe it with spec.
That's w
Cloud IDEs are becoming more common. To quote the rifleman's creed, there
are many others like it, but this one is mine:
http://nightcoders.net/
It's basically a hosted version of Nightlight, running the compiler on my
server so you can build CLJS projects using nothing but a web browser. I'm
Just answering myself found i should bind with choice as it is done in
reifyg
(defn export [out vs gs]
(fn [a]
(let [a' (bind a gs)
as (take* (bind a' (fn [s]
*(choice (walk* s vs)*
* empty-f)*)))]
(bind a
So, proto-repl has plugins but, do you enourage third-party plugins, like
Light Table did/does?
For example, can I use linters and hinters, LT Rolex, etc in proto-repl?
More generally, are the user, default and workspace behaviours exposed for
amendment?
Regards,
--
You received this message b
20 matches
Mail list logo