Hey Everyone,
I've been using lamina channels to create queues to download files/web
pages in parallel. I'm using clj-http as my client as it supports proxies.
So basically I create a channel, then use map* to fetch process and queue
up pages in the channel. My fetch-url-with-proxy function,
Hi all,
Can anyone help me with this? I have a program with multiple
files. The program uses various data references, which may be
accessed from different files. To facilitate this I usually put ref
variables in a separate file and then :use that file in all the
various modules that make up
defrecord defines a java class, not a clojure entity. instead of :use,
you need :import.
(ns stuff.core
(:import (stuff phone-data)))
On Oct 19, 1:02 pm, WoodHacker ramsa...@comcast.net wrote:
Hi all,
Can anyone help me with this? I have a program with multiple
files. The program uses
On Tue, Oct 19, 2010 at 5:22 PM, Alan a...@malloys.org wrote:
defrecord defines a java class, not a clojure entity. instead of :use,
you need :import.
(ns stuff.core
(:import (stuff phone-data)))
It's an even better practice to go ahead and create a factory fn for your
defrecord. Then
Hello Guys!
Does somebody knows better way to compile all files of my project in
proper order in emacs
after i've changed my working directory to project base and after
command 'M-x slime'?
I'm developing compojure application and now i have to reload all my
project files (about 10) in emacs and
Hello
It's better to use lein or maven to run swank server - this will compile
all sources, and provide proper classpath, etc. In Maven you can specify
script, that will be loaded automatically on swank start. For Lein, I don't
know about such feature, although it's not so hard to implement
Try making a file that uses or requires all your other files. Then
just ctrl-c ctrl-k in that file.
--
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
Note that posts from new members are
I came across the term root lib when I googled on how to have one
lib with source in multiple files. But, it appears that this was just
discussion. I couldn't find the information I wanted on the main
clojure page.
Right now I have the two files whale.achi.model.place.clj
billh04 wrote:
Right now I have the two files whale.achi.model.place.clj and
whale.achi.model.placeEvaluation.clj that make up one name space
whale.achi.model.place.
The first file is the root of the namespace.
I think you're confused with how Clojure looks for packages in the
filesystem.
===
(ns whale.achi.model.place)
partA
(load place/placeEvaluation)
==
placeEvaluation.clj ===
partB
==
What I am seeking is how to split a file for one namespace into
multiple files with the same namespace.
Also, any source file that wants to use
whale.achi.model.place)
partA
(load place/placeEvaluation)
==
placeEvaluation.clj ===
partB
==
What I am seeking is how to split a file for one namespace into
multiple files with the same namespace.
Also, any source file that wants to use
into
multiple files with the same namespace.
Also, any source file that wants to use the namespace
'whale.achi.model.place would need only 'use 'whale.achi.model.place
and would not have to worrry about placeEvaluation but get that loaded
for free.
On Apr 23, 9:29 pm, Drew Raines aarai...@gmail.com
12 matches
Mail list logo