use refer-clojure with
exclude option. So I have to fellow you to avoid the issue.
On 4月11日, 下午10时42分, Meikel Brandmeyer wrote:
> Hi,
>
> On 11 Apr., 16:29, limux wrote:
>
> > Why some warning of conflit be reported in the cmd of win when
> > the lein run myoa/core.clj
Okey, clojureql.core does very well in how to use "refer" and no any
issues. Why some warning of conflit be reported in the cmd of win when
the lein run myoa/core.clj? and when I refresh the browser the system
will failed with lots of error messsage?
Sincerely
Limux
On 4月11日, 上午6时37分,
dy (:refer-clojure
:exclude [take drop sort distinct conj! disj! compile case]).
Thanks.
Limux
--
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 ar
There is no any error when I access http://127.0.0.1:8080 by browser.
While with wget, there will be some messages as below:
--2011-01-01 09:22:49-- (try:20) http://127.0.0.1:8080/
Connecting to 127.0.0.1:8080... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/
Sorry for my net speed is too slow result in duplicate post.
--
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 moderated - please be patient with your
f
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten
The clojure has released the 1.2 version, while swank-clojure.el is
used 1.1 yet, Is swank-clojure deprecated at all?
--
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 ne
d I'll try to
> help some more.
>
> Good luck,
>
> --Robert McIntyre
>
> 2010/10/8 limux :
>
>
>
>
>
>
>
> > I do a full source install of clojure follow by the article "Emacs
> > Front End to the Clojure Debugging Toolkit&quo
which you may not need.)
>
> On Oct 7, 8:15 pm, limux wrote:
>
>
>
>
>
>
>
> > where is the sa-jdi.jar, there isn't the sa-jdi.jar under my java's
> > lib directory.
>
> > On 9月29日, 下午12时00分, George Jahad wrote:
>
> > > hmmm, you mus
where is the sa-jdi.jar, there isn't the sa-jdi.jar under my java's
lib directory.
On 9月29日, 下午12时00分, George Jahad wrote:
> hmmm, you must be as big a debugger geek as I am, but I'm not sure
> anyone else would be interested.
>
> In any case the commands are almost trivial, which is why I don't
Thanks, I remindered that it's a reader macro used to get the symbol
itself exactly without namespace. Ok, I see!
On 8月21日, 下午10时58分, limux wrote:
> Is where a canonical doc about ~' or I have to read the core.clj?
>
> On 8月21日, 下午10时40分, Nicolas Oury wrote:
>
>
>
x27;symbol.
> This says to the evaluation of `() "replace by exactly symbol"
> So
> (`let [~'and ...]) will expand to (let [and ...] ) this is a problem
> because it can conflict with some other names.
> However, in some case it is very useful/necessary. Especially when you
&
This is some code in a blog of William Gropper, the useage of ~'=
confused me, waiting some more detailed explain, advanced thanks
(defmacro filter
[pred query]
`(let [~'and (fn[& xs#] (apply str (interpose " AND " xs#)))
~'or (fn[& xs#] (apply str (interpose " OR " xs#)))
~'= (fn[x# y#] (sql-
It's 1.3.0!
2010/8/20 David Nolen :
> On Fri, Aug 20, 2010 at 12:39 AM, Phil Hagelberg wrote:
>>
>> I just pushed out a new release of Leiningen, a Clojure build tool,
>> with lots of help from many contributors.
>
> Looks great. A couple early observations/issues,
> 1) It's no longer possible to
Congrats and Cheers, :-)
2010/8/19 Greg :
> Congrats! :-D
>
> BTW, the link to clojure-contrib-1.2 seems to be broken (currently returning
> 404):
>
> http://github.com/downloads/clojure/clojure/clojure-contrib-1.2.0.zip
>
> Was RC3 the final build? I couldn't find the answer in the release notes
I see, I am reading that "Extending Java Classes using proxy" article.
2010/8/15 Michael Gardner :
> On Aug 14, 2010, at 12:58 AM, Gregg Williams wrote:
>
>> ** Second announcement: GettingClojure.com, a collaborative site for
>> Clojure beginners
>
> gettingclojure.com currently redirects to www.
Great working, thanks! I will participate actively.
On 8月14日, 下午1时58分, Gregg Williams wrote:
> ** First announcement: a tutorial article on how to call Java classes
> from Clojure
>
> Several months ago, I asked a few questions about the use of proxy and
> interoperability with Java. I'm pleased
You are right that there should be such a middleware in Ring.
On 8月13日, 下午6时40分, James Reeves wrote:
> 2010/8/13 limux :
>
> > Then, if Ring doesn't care of the charset also, there is no one, suck
> > as jetty, ring, compojure would take care of the charset except
>
One word, Why we would let Jetty set default charset to iso-8859-1,
Why not Compojure can set the default charset to utf-8? Isn't utf8 a
better choice? Is iso-8859 better than utf-8?
On 8月13日, 下午5时05分, ngocdaothanh wrote:
> > Perhaps Jetty add a charset of iso-8859-1 if there isn't one in respons
Then, if Ring doesn't care of the charset also, there is no one, suck
as jetty, ring, compojure would take care of the charset except
myself. There are many peopole come from all kinds of country or
region who use ring, jetty and compojure. Let themselves set the right
charset manually by wrap? I d
ill action like Ring to see those response pass through
directly.
I know Ring looks like Rack.
On 8月13日, 上午10时36分, limux wrote:
> Perhaps Jetty add a charset of iso-8859-1 if there isn't one in
> response.
> At the same time, in Compojure, it add none of the charset when a
> strin
et iso-8859-1. That's all! Maybe?
Regards.
On 8月13日, 上午2时25分, Rasmus Svensson wrote:
> 2010/8/12 James Reeves :
>
>
>
>
>
>
>
>
>
> > On 12 August 2010 14:33, limux wrote:
> >> The solution inhttp://tiny.cc/3cmrxis useful, thanks.
> >&g
The solution in http://tiny.cc/3cmrx is useful, thanks.
That what cause the issue should be compojure. That thread's time is
6, June.
and compjure haven't fixed it.
On 8月11日, 下午2时41分, Nebojsa Stricevic
wrote:
> Hi,
>
> This looks similar like problem that I had with Clojure + Compojure +
> Enlive
Why? My nickname in #clojure is limux1972.
--
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 moderated - please be patient with your
first post.
To unsub
Windows 7 as the dev platform. Heartly thanks of advices!
Limux,
Regards.
--
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 moderated - please
The type hint can be placed on function parameters, let-bound names,
var names, and expressions.
And it can be placed behind or ahead of them. Isn't it?
On 8月9日, 下午3时31分, limux wrote:
> I see, heartly thanks, and there is no any words about it in API doc
> of clojure.org yet!
I see, heartly thanks, and there is no any words about it in API doc
of clojure.org yet!
Regards
limux.
On 8月9日, 下午3时04分, j-g-faustus wrote:
> On Aug 9, 8:25 am, limux wrote:
>
> > what's the meaning of
> > #^Server in the defn and let?
> > (defn #^Server run-jet
The follow is the ring's source, and I am a newbie in Clojure.
what the defn of run-jetty looks like this form, what's the meaning of
#^Server in the defn and let?
Thanks in advance.
Limux.
(defn #^Server run-jetty
"Serve the given handler according to the options.
Options:
g to model name
(ns temp#)
;; define some relevant functions in the ns created
previously.
(defn find [] (prn "hello"))
;; over
))
It doesn't work, any advice?
Limux,
Regards
On 8月4日, 下午11时53分, limux wrote:
> Thanks for your ve
Thanks for your very very helpful help.
Another question is:
defmacro defmodel [model-name]
`(let [sym-model-name ~(symbol (str "app.model." model-name))]
(do
On 8月4日, 下午3时42分, Meikel Brandmeyer wrote:
> Hi,
>
> On Aug 4, 9:32 am, limux wrote:
>
> > i v
i very confused var-quote, hope someone explain it more detailed than
the clojure.org's, thks.
--
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 moderated
when i start the clojure box 1.0, the emacs client window stay on the
top of all the other windows, eventually it display a message "**
ERROR ** Timeout wating for server", but 1.0RC1 no that issue.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
34 matches
Mail list logo