Re: Clojure(Script) web apps in 2018

2018-10-06 Thread Tom Locke
Thanks very much everyone for your replies. Lots to look into! One tech conspicuous by its absence is Datomic Ions. Any stories from folks going that direction? Thanks again! Tom -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Clojure(Script) web apps in 2018

2018-09-17 Thread Tom Locke
Hi all, I'm a reasonably experienced ClojureScript developer, finally starting to think about the server side of a web app I've been working on for some time. I was wondering if anyone could offer some pointers for libraries worth looking at. What would you be building on top of if you were sta

Iterate through transient map?

2018-04-27 Thread Tom Locke
I can iterate through a transient vector, as count and nth can be used directly on the transient. Is there any way to iterate through the keys (or key/value pairs) of a transient hash, other than just making a persistent version of it? I guess the meta-question is, any advice on finding which f

Re: Tight coupling of spec implementation and function preconditions

2016-12-06 Thread Tom Locke
> I went ahead and logged this here so we don't lose it: Thanks for that - I was intending to do so this morning but I forgot to say so in my reply. On second thought I realised that a version of s/and that doesn’t flow conformed values wouldn’t be great in function arg specs, as you could no

Re: Tight coupling of spec implementation and function preconditions

2016-12-05 Thread Tom Locke
I haven't watched the keynote so I look forward to that. I sure Rich's arguments will convince me, as always! In my case I am spec'ing rather complex and deeply nested structures. The conformed values are changed all the way down. I have a bunch of functions to interrogate these structures in u

Tight coupling of spec implementation and function preconditions

2016-12-05 Thread Tom Locke
I'm sure this is a well known issue, but I've not found much written about it online. In the spec guide, we have this example of spec'ing a function (s/fdef ranged-rand :args (s/and (s/cat :start int? :end int?) #(< (:start %) (:end %))) ...) This form, an s/cat within an s/a

Re: The Essence of ClojureScript Redux

2015-01-04 Thread Tom Locke
What is the impact of all this new goodness on in-browser development? lein-figwheel + weasel has been the magic formula up until now. Is that still the case? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloju