November 28, 2017 2:49:53 PM
To: clojure@googlegroups.com
Subject: Re: Using libraries without Lein
Thanks Alex ... just what I was looking for - putting the jars in classpath
that is!
I'll try out the new tool a little later though.
Regards,
Kashyap
On Tue, Nov 28, 2017 at
Thanks Alex ... just what I was looking for - putting the jars in classpath
that is!
I'll try out the new tool a little later though.
Regards,
Kashyap
On Tue, Nov 28, 2017 at 2:27 PM, Alex Miller wrote:
> Sure. You need a jar for Clojure and a jar for clj-http and then just run
> Java with tho
Sure. You need a jar for Clojure and a jar for clj-http and then just run
Java with those in a classpath:
java -cp clojure.jar:clj-http.jar my-program
There is a lighter weight tool that we've added in Clojure 1.9 (also works
with 1.8) that can help in assembling classpaths and serving as a run
Hi,
I am trying to use clj-http in my clojure program. I am trying to do the
whole thing in a "light-weight" manner - without creating a project and all
or using lein. Is that possible? or do I need to use Lein?
Regards,
Kashyap
--
You received this message because you are subscribed to the Go
It's funny how things suddenly click. While out for a run (the only
time I seem to be able find clarity it seems) I started thinking that
it would be nice to have macros for "require" and "use" so that you
don't have to worry about quoting then I realized that's exactly what
ns is for!
I *should
On Oct 15, 2:21 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> Here's the portion of (doc require) where it's mentioned:
>
> [...]
> Libspecs
>
> A libspec is a lib name or a vector containing a lib name followed by
> options expressed as sequential keywords and arguments.
>
> R
On Oct 15, 2008, at 3:22 AM, Paul Drummond wrote:
> Hmmm. Now I am getting this:
>
> (require 'clojure.contrib.zip-filter :as 'zf)
> java.lang.ClassCastException: java.lang.Boolean cannot be cast to
> clojure.lang.Symbol (NO_SOURCE_FILE:0)
>
> Any ideas?
I've enclosed a patch to boot.clj that
On Oct 15, 2008, at 5:03 AM, Paul Drummond wrote:
>
> On Oct 15, 9:34 am, mb <[EMAIL PROTECTED]> wrote:
>> You might want to try (require ['clojure.contrib.zip-filter :as
>> 'zf]).
>> AFAIR, you have to use [] when you want to specify :as.
>
> Ah, that's it! This isn't clear (or mentioned unl
On Oct 15, 9:34 am, mb <[EMAIL PROTECTED]> wrote:
> You might want to try (require ['clojure.contrib.zip-filter :as 'zf]).
> AFAIR, you have to use [] when you want to specify :as.
Ah, that's it! This isn't clear (or mentioned unless I'm mistaken) in
the docs.
Thanks for your help.
Paul.
--~--
Hi,
On 15 Okt., 09:22, Paul Drummond
<[EMAIL PROTECTED]> wrote:
> Hmmm. Now I am getting this:
>
> (require 'clojure.contrib.zip-filter :as 'zf)
> java.lang.ClassCastException: java.lang.Boolean cannot be cast to
> clojure.lang.Symbol (NO_SOURCE_FILE:0)
>
> Any ideas?
You might want to try (req
Hmmm. Now I am getting this:
(require 'clojure.contrib.zip-filter :as 'zf)
java.lang.ClassCastException: java.lang.Boolean cannot be cast to
clojure.lang.Symbol (NO_SOURCE_FILE:0)
Any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscrib
Of course. Hmmm. And I thought I knew this stuff! :)
I think I was getting all confused because I was playing with ns and
it doesn't require quoting (because it's a macro). It makes sense now
- thanks.
Regarding the use of require, am I right in thinking that ns is for
library modules and req
On Oct 14, 2008, at 5:24 PM, Paul Drummond wrote:
> I want to use the zip-filter library so at the REPL I tried this:
>
> (require 'clojure.contrib.zip-filter :as zf)
>
> which failed with:
>
> java.lang.Exception: Unable to resolve symbol: zf in this context
The zf needs a quote as well as 'clo
Hi all,
After a short break from hacking in Clojure I am back and eager to try
out all the new features but I am having trouble getting familiar with
the new lib/namespace feature.
I want to use the zip-filter library so at the REPL I tried this:
(require 'clojure.contrib.zip-filter :as zf)
wh
14 matches
Mail list logo