Re: How to call Clojure from Java?

2017-06-01 Thread Daniel Compton
Hi thelmuth Here's a fully worked example. It calls the Clojure function myco.dashed-namespace.app.core/start!. Save it to src/myco/dashed_namespace/app/Main.java. package myco.dashed_namespace.app; import clojure.java.api.Clojure; import clojure.lang.IFn; public class Main { public static

Re: How to call Clojure from Java?

2017-06-01 Thread James Reeves
There's a brief section on this on the Clojure website: https://clojure.org/reference/java_interop#_calling_clojure_from_java On 2 June 2017 at 01:35, thelmuth wrote: > What is the best way to call a Clojure function from Java? > > Most of the resources I have found are

How to call Clojure from Java?

2017-06-01 Thread thelmuth
What is the best way to call a Clojure function from Java? Most of the resources I have found are either very old or don't go into enough detail. I am a Clojure programmer with very little Java background, and have been having trouble with the methods I've found, especially classpath issues.

Re: [ANN] Eastwood, the Clojure lint tool, version 0.2.4 released

2017-06-01 Thread Andy Fingerhut
I do not know whether you (Peter) are the same as the user pedro-w on Github, but pedro-w created this Eastwood issue and added a comment with links to a related discussion on a tools.reader issue tracker: https://github.com/jonase/eastwood/issues/222 If you can find a way, with just tools.reader

Re: The simplest way to publish to Clojars?

2017-06-01 Thread Sean Corfield
Thanks for the clarification Toby! Boot doesn’t sign JARs by default but the push task has the following GPG-related options for folks who want to: -g, --gpg-sign Sign jar using GPG private key. -k, --gpg-user-id KEY KEY sets the name or key-id used to select the signing

[ANN] com.walmartlabs/lacinia-pedestal 0.2.0

2017-06-01 Thread Howard Lewis Ship
lacinia-pedestal provides the Pedestal support to expose web endpoints backed by Lacinia's GraphQL. This release improves async behavior, and upgrades the Lacinia dependency to the latest, 0.17.0. https://github.com/walmartlabs/lacinia-pedestal -- Howard M. Lewis Ship Senior Mobile Developer

Re: [ANN] Eastwood, the Clojure lint tool, version 0.2.4 released

2017-06-01 Thread Peter Hull
I had a quick look at this. As I understand it, the clojure.core reader processes data_readers.clj, but Eastwood uses tools.reader (or a version of it, copied into the Eastwood project?) which does not. I thought that, for linting, we don't need to actually run the data reader functions, so

Re: clojure.spec merge+or bug?

2017-06-01 Thread Alex Miller
You can file a bug on the s/merge unform - anything that doesn't roundtrip should be a bug. On the coll-of one, I thought that was just fixed in the latest spec.alpha release (see https://dev.clojure.org/jira/browse/CLJ-2076) - are you using latest there? -- You received this message because

Re: The simplest way to publish to Clojars?

2017-06-01 Thread Toby Crawley
On Thu, Jun 1, 2017 at 12:01 AM, Sean Corfield wrote: > All the SSH keys and PGP/GPG stuff is unnecessary now, unless you want to > store your username/password credentials locally in encrypted form. There’s > no longer any signing or promotion of JARs. Jar promotion no longer

Re: [ANN] Eastwood, the Clojure lint tool, version 0.2.4 released

2017-06-01 Thread Peter Hull
On Thursday, 1 June 2017 06:55:52 UTC+1, Andy Fingerhut wrote: > > Sounds like a limitation/bug in the current Eastwood implementation that > it doesn't handle this. You are welcome to file an issue on Github: > https://github.com/jonase/eastwood/issues > > Thanks for getting back to me. I've