Why we cannot do this now?

2016-06-18 Thread Sungjin Chun
Yes, I want this kind of instant speed (I hope this kind of speed is possible in emacs + side). https://www.youtube.com/watch?v=D3gpQth8uTI=youtu.be Have you seen this? Why we simply cannot do this? -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Too over complicated

2016-06-18 Thread James Reeves
On 19 June 2016 at 00:07, Olek wrote: > > Now lets talk about "difficulties" which I have found. > For example when we talk about removing element from collection. > > Why there is no one operation which could behave the same for set, vector, > list, string, and map?

Re: Too over complicated

2016-06-18 Thread Matching Socks
The Clojure Cheatsheet can be very helpful if you are experiencing a shock of re-entry to clojure.core after a few years of relatively finite Javadoc pages of 10 methods per class. It is fun to chuckle at Alan Perlis' aphorism about 100 functions vs 10 each for 10 classes, but when you swing

Too over complicated

2016-06-18 Thread Olek
Hi! I've back to Clojure env. after 3 years of absence. I have started to code in my best language ever and was hit by some difficulties with the simplest things on earth I remember when I first dived into language and started coding in it. After 4 months of heavy doc/forum/irc usage I was

Re: Clojars will be partially down for maintenance this weekend

2016-06-18 Thread Colin Yates
+1 - one of the unsung heroes. On 18 June 2016 at 20:50, Andrey Antukh wrote: > Completely agree! Many thanks for your work! > > On Sat, Jun 18, 2016 at 10:49 PM, Howard Lewis Ship > wrote: >> >> It unfortunately goes unsaid, so I'll say it: thanks for working

Re: Clojars will be partially down for maintenance this weekend

2016-06-18 Thread Andrey Antukh
Completely agree! Many thanks for your work! On Sat, Jun 18, 2016 at 10:49 PM, Howard Lewis Ship wrote: > It unfortunately goes unsaid, so I'll say it: thanks for working hard on > Clojars, and for doing a great job on communicating important status, such > as this downtime,

Re: Clojars will be partially down for maintenance this weekend

2016-06-18 Thread Howard Lewis Ship
It unfortunately goes unsaid, so I'll say it: thanks for working hard on Clojars, and for doing a great job on communicating important status, such as this downtime, to a community that is so reliant on your efforts. On Sun, Jun 12, 2016 at 6:07 PM, Toby Crawley wrote: >

Re: Spec of conform of spec

2016-06-18 Thread Leon Grapenthin
Yes I have tried that. As soon as you use things like `or` or `alt` it becomes quite the tedious manual effort and you don't get away with s/keys anymore. On Saturday, June 18, 2016 at 8:35:20 PM UTC+2, Josh Tilles wrote: > > Have you considered choosing labels that are themselves qualified >

Re: Spec of conform of spec

2016-06-18 Thread Josh Tilles
I just realized that in my example, I probably should have used `s/get-spec` instead of `s/spec` when defining the labels. Oh well. On Saturday, June 18, 2016, Josh Tilles wrote: > Have you considered choosing labels that are themselves qualified > keywords with registered

Re: Spec of conform of spec

2016-06-18 Thread Josh Tilles
Have you considered choosing labels that are themselves qualified keywords with registered specs? That might feel like a workaround, but I think it could get you most of what you’re looking for. For example: ``` (s/def ::even-spec even?) ;= :user/even-spec (s/def ::odd-spec odd?) ;=

Re: Spec of conform of spec

2016-06-18 Thread Leon Grapenthin
I am not sure whether I understand what you mean. Behavior of conform for predicates is to return its return value if it is logically true, ::s/invalid otherwise. Thus the predicate itself is the spec to its conform*. s/conformer is only limiting as much as it is to unform, a user would have

Re: Spec of conform of spec

2016-06-18 Thread Alex Miller
Given that conform takes an arbitrary (opaque) function, I don't think that's generically possible. On Saturday, June 18, 2016 at 7:37:33 AM UTC-5, Leon Grapenthin wrote: > > Assume I parse with conform. > > Then I have functions that operate on the value returned by conform. I > want to spec

Spec of conform of spec

2016-06-18 Thread Leon Grapenthin
Assume I parse with conform. Then I have functions that operate on the value returned by conform. I want to spec them. But I can't get a spec for the value returned by conform (so that I can spec said functions) automatically. Imagine `(s/conform-spec ::my-spec)` would return the spec of the

qooxdoo mobile + ClojureScript Rizing

2016-06-18 Thread hiskennyness
Parts 1 & 2 of a three-part series introducing Qxia, a framework for programming qooxdoo mobile via ClojureScript (with dataflow/reactive Cells beneath your wings): 1.

Re: clojure.spec - dynamic specs

2016-06-18 Thread Brian Platz
On Friday, June 17, 2016 at 4:04:31 PM UTC-4, Alex Miller wrote: > > > > On Friday, June 17, 2016 at 2:46:37 PM UTC-5, Brian Platz wrote: >> >> >> I'd like to be able to use clojure.spec for input validation where the >> specs are stored in a database using a data structure to represent them. >>