Get Lein to run 32-bit JVM on Windows

2016-07-05 Thread JvJ
Is it possible to configure Leiningen to run a 32-bit JVM by default? I've already tried changing the LEIN_CMD and JAVA_HOME to the x86 executable paths, but it still runs the amd64 JVM. Any tips? I'm doing this for overtone, since it doesn't support amd64 on Windows. -- You received this m

Re: Get Lein to run 32-bit JVM on Windows

2016-07-05 Thread David Powell
I think you need to set LEIN_JAVA_CMD to affect the jvm actually used to start leiningen itself. On Tue, Jul 5, 2016 at 9:35 AM, JvJ wrote: > Is it possible to configure Leiningen to run a 32-bit JVM by default? > I've already tried changing the LEIN_CMD and JAVA_HOME to the x86 > executable pat

Customizing error messages reported by spec.explain

2016-07-05 Thread Balaji R Rao
Greetings! Can someone please tell me if the error messages reported by spec.explain can be customized ? I'm trying to use spec for data validation and would like to generate human readable errors. Thanks! -- You received this message because you are subscribed to the Google Groups "Clojure"

Customizing error messages reported by spec.explain

2016-07-05 Thread Alex Miller
explain-data is designed to return you sufficient information to detect any specific problem or create any error message you like and so there are no plans at this time to provide additional customization options in spec. Explain-data gives you a list of problems and for each problem, the path i

clojure.spec and generic map with couple of special keys

2016-07-05 Thread Nikita Prokopov
Imagine I have a generic keyword => string map with a special key that stores a number: { ::count 7 :x "x" :y "y" :z "z" ... } Both cases are easy to validate on their own: (s/def ::count number?) (s/conform (s/keys ::count) { ::count 7 }) (s/conform (s/map-of keyword? string?) { :x "x

Re: clojure.spec and generic map with couple of special keys

2016-07-05 Thread Sam Estep
I ran into this same issue while trying to spec Clojure's destructuring language. I asked a question about this on Stack Overflow: http://stackoverflow.com/q/38151446/5044950 On Tuesday, July 5, 2016 at 9:16:40 AM UTC-4, Nikita Prokopov wrote: > > Imagine I have a generic keyword => string map w

Re: clojure.spec regression bug for 1.9.0-alpha6

2016-07-05 Thread Nikita Prokopov
How to I make spec/fdef and regular clojure.test (not generative ones) work together? I’d like for my :ret specs and HOF :ret specs to be checked during regular tests. Is that possible? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: clojure.spec and generic map with couple of special keys

2016-07-05 Thread gsnewmark
If I'm not mistaken, similar issue was recently discussed on the Clojurians Slack (direct link - https://clojurians.slack.com/archives/clojure-spec/p146738221722 , archive link - https://clojurians-log.clojureverse.org/clojure-spec/2016-07-01.html - discussion starts from @ghadi's post at

ClojureScript Quick Start - Error: Could not find or load main class clojure.main

2016-07-05 Thread gilmoretj
I suspect there is a MS Windows-specific configuration step missing from the Quick Start guide ( https://github.com/clojure/clojurescript/wiki/Quick-Start). I was alright until I reached "Auto-building". Running the compilation step for watch.clj, I got the error message "Error: Could not find o

Re: clojure.spec regression bug for 1.9.0-alpha6

2016-07-05 Thread Alex Miller
There is nothing provided or planned to do that. On Tuesday, July 5, 2016 at 8:43:31 AM UTC-5, Nikita Prokopov wrote: > > How to I make spec/fdef and regular clojure.test (not generative ones) > work together? I’d like for my :ret specs and HOF :ret specs to be checked > during regular tests. I

Re: clojure.spec and generic map with couple of special keys

2016-07-05 Thread Nikita Prokopov
That’s what I needed! Thanks On Tue, Jul 5, 2016 at 8:15 PM gsnewmark wrote: > If I'm not mistaken, similar issue was recently discussed on the > Clojurians Slack (direct link - > https://clojurians.slack.com/archives/clojure-spec/p146738221722 , > archive link - > https://clojurians-log.clo

[ANN] akar 0.1.0

2016-07-05 Thread Rahul Goma Phulore
Hi, all. I am quite excited to announce my project Akar – https://github.com/missingfaktor/akar. It's a pattern matching library for Clojure, wherein the patterns are first class values (just functions, actually). Akar patterns can be manipulated, composed, abstracted over, like any other func

[ANN] walmartlabs/active-status 0.1.8

2016-07-05 Thread Howard Lewis Ship
An update-in-place status board for asynchronous processes inside your Clojure command line application. https://github.com/walmartlabs/active-status Recent changes: * New with-output-redirected macro, ensures that nothing writes to the stdout but the status board * Better looking progress bars

[ANN] io.aviso/pretty 0.1.27

2016-07-05 Thread Howard Lewis Ship
https://github.com/AvisoNovate/pretty Clojure exception reporting: formatted, demangled, reordered, and optimized for users. Don't dread Clojure exceptions anymore! This version fixes the output of exception info properties to show the fully qualified key (very important with Clojure spec coming

Re: Get Lein to run 32-bit JVM on Windows

2016-07-05 Thread JvJ
I think when I wrote LEIN_CMD, I meant LEIN_JAVA_CMD. I've already set it to the x86 JVM path, with no luck so far. (System/getProperty "os.arch") still returns "amd64", and overtone still doesn't work right. On Tuesday, 5 July 2016 02:02:53 UTC-7, David Powell wrote: > > I think you need to s

[ANN] Clojure 1.9.0-alpha9

2016-07-05 Thread Alex Miller
Clojure 1.9.0-alpha9 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha9 - Leiningen: [org.clojure/clojure "1.9.0-alpha9"] 1.9.0-alpha9 includes the following changes since 1.9.0-alpha8: - NEW clojure.spec/assert - a facility for adding spec

Re: [ANN] Clojure 1.9.0-alpha9

2016-07-05 Thread Sam Estep
Awesome, thank you Alex! By the way, are there any plans to add more elegant support for "hybrid maps" (as discussed here and here ) in the future? On Tuesday, July 5, 2016 at 3:50:47 PM U

Re: [ANN] Clojure 1.9.0-alpha9

2016-07-05 Thread Alex Miller
Haven't talked about it yet. On Tuesday, July 5, 2016 at 3:07:27 PM UTC-5, Sam Estep wrote: > > Awesome, thank you Alex! By the way, are there any plans to add more > elegant support for "hybrid maps" (as discussed here > and here >

[ANN] clojure.java.jdbc 0.6.2-alpha1

2016-07-05 Thread Sean Corfield
What?     Clojure contrib wrapper for JDBC.     [org.clojure/java.jdbc “0.6.2-alpha1”] Summary?     Optional support for clojure.spec and namespace-qualified keywords. Details: ◦Experimental support for clojure.spec via the new clojure.java.jdbc.spec na