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: Errors

2016-12-06 Thread Paul Walker
Wow thank you for the fulsome responses A couple of thoughts. I brashly said > I cherrypicked a case where the runtime difference would be tiny and I appreciate the clarifications - especially that my naive add-one-bytecode calculation in my head (the code I pasted has a pretty meaty “analyze”

[JOB] clojure/cloud developer

2016-12-06 Thread Charles Loomis
SixSq is an SME based in Geneva, Switzerland that provides software for cloud application management. We’re looking for a Clojure developer ideally with experience with cloud technologies to work on our core platform. The full job announcement can be found here: http://sixsq.com/jobs/clojure-

Re: Errors

2016-12-06 Thread Alex Miller
On Tuesday, December 6, 2016 at 5:55:52 AM UTC-6, Paul Walker wrote: > > Wow thank you for the fulsome responses > > A couple of thoughts. I brashly said > > > I cherrypicked a case where the runtime difference would be tiny > > and I appreciate the clarifications - especially that my naive > add

Re: Tight coupling of spec implementation and function preconditions

2016-12-06 Thread Sean Corfield
> I think using s/nonconforming with s/or will do the trick I see that’s marked ^:skip-wiki so it is (deliberately) undocumented – is that (potentially very useful) function something we can safely rely on or is that up in the air at this point? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN

[ANN] An exploration of Hash Array Mapped Tries

2016-12-06 Thread Ambrose Bonnaire-Sergeant
Hi, I've been having a ton of fun this semester learning about Hash Array Mapped Tries (like PersistentHashMap). Link I have written a visual tutorial for HAMT's, as well as a reference implementation in Clojure that supports trie visualisations with Rhizome. There's also a little prototype+wri

Re: Tight coupling of spec implementation and function preconditions

2016-12-06 Thread Alex Miller
It is intentionally not documented and may be removed. If it's not removed, then we will make it part of the API. Rich is still deciding. -- 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 No

Re: [ANN] An exploration of Hash Array Mapped Tries

2016-12-06 Thread Colin Yates
The "Link" doesn't seem to be working for me (it isn't actually a link). Is this some sort of gateway tested - if you aren't clever enough to figure it out you don't deserve to get in? ;-). On 6 December 2016 at 21:16, Ambrose Bonnaire-Sergeant wrote: > Hi, > > I've been having a ton of fun this

Re: [ANN] An exploration of Hash Array Mapped Tries

2016-12-06 Thread Ambrose Bonnaire-Sergeant
Link: https://github.com/frenchy64/optimized-kw-maps On Tue, Dec 6, 2016 at 4:16 PM, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > Hi, > > I've been having a ton of fun this semester learning about > Hash Array Mapped Tries (like PersistentHashMap). > > Link > > I have written

Re: Errors

2016-12-06 Thread Paul Walker
Very useful. So it is a *bit* philosophical :) I guess the unabashedly hosted philosophy is one I wasn't so sure was intentional but it's good to understand; and embracing that changes the way you'd teach or introduce the language. Gotcha. Where I thought I "had to form" a dual mental model and

Re: Tight coupling of spec implementation and function preconditions

2016-12-06 Thread Sean Corfield
On 12/6/16, 1:28 PM, "Alex Miller" wrote: > It is intentionally not documented and may be removed. If it's not removed, > then we will make it part of the API. Rich is still deciding. Thanks for the clarification, Alex. I suspected that might be the case but wanted to check before I start chan

Re: Thoughts on clojure.spec

2016-12-06 Thread Brandon Bloom
I was just very surprised to discover my :ret specs were not being checked via instrument. I've read the rationale above, but I'm not yet convinced. While of course I can (and will) use spec/assert from a post condition, I lose the nice selective instrumentation features. I'd also like to make

Re: [ANN] An exploration of Hash Array Mapped Tries

2016-12-06 Thread Yehonathan Sharvit
Looks good stuff. Would be very nice to port to cljs. Then you could have a very compelling demo in the browser. On Tuesday, 6 December 2016 23:32:29 UTC+2, Ambrose Bonnaire-Sergeant wrote: > > Link: https://github.com/frenchy64/optimized-kw-maps > > On Tue, Dec 6, 2016 at 4:16 PM, Ambrose Bonnair

[ANN] CFP for Dutch Clojure Day 2017 Is now OPEN!

2016-12-06 Thread Vijay Kiran
Hello Everyone! The next edition of Dutch Clojure Day will happen on Saturday March 25th, 2017 in Amsterdam. The CFP for the event is now open and you can submit your proposal via the form : https://goo.gl/forms/yvTZUAZ2YyCtfEM02 You can find more details about the event on http://clojuredays.o