Chas,
Thanks for nREPL. It is a very useful tool.
--
isaac
http://icylisper.in
--
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
Yeah, nrepl support for CCW, which Chas personnally did, has been an
incredibly valuable addition.
I'm glad to see more tools adopting it for backend support !
2011/5/7 isaac praveen :
> Chas,
>
> Thanks for nREPL. It is a very useful tool.
>
> --
> isaac
> http://icylisper.in
>
> --
> You receiv
On Sat, May 7, 2011 at 5:50 PM, Laurent PETIT wrote:
> Yeah, nrepl support for CCW, which Chas personnally did, has been an
> incredibly valuable addition.
>
> I'm glad to see more tools adopting it for backend support !
>
I agree.
Also, the nrepl-server itself should be bundled with some basic
> b) a set of extensible utilities to manage classpaths, namespaces, JVM both
> on
Oops. I meant :
A set of extensible utilities to manage classpaths, namespaces, JVM
etc , remotely.
--
isaac
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To pos
On May 7, 2011, at 10:01 AM, isaac praveen wrote:
> On Sat, May 7, 2011 at 5:50 PM, Laurent PETIT wrote:
>> Yeah, nrepl support for CCW, which Chas personnally did, has been an
>> incredibly valuable addition.
>>
>> I'm glad to see more tools adopting it for backend support !
>>
>
> I agree.
At the risk of sounding completely dense, I am having a hard time
understanding the purpose of the Identity function. As far as I can
tell all it does is return what is passed to it.
Review code I see it used all the time, and cannot understand why it
is needed.
Any insight?
Thanks
Base
--
Y
My two cents:
You can use it with the operator ->, in order to pass something to
another function, or for propagating an input of some sort.
It sounds sensed?
Bye,
Alfredo
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
I usually use identity as a predicate for functions such as filter,
drop-while, take-while, etc.
Consider this silly example: imagine you had an operation that fetches
stuff from a resource (DB, network, etc.) and that upon failing it
returns nil. Additionally, imagine that you're interested in ru
I just grepped the clojure source code and an interesting use is in walk.clj
https://github.com/clojure/clojure/blob/master/src/clj/clojure/walk.clj#L62
`walk` has flexibility with higher order functions, but identity helps with
the simple
case of just returning the forms elegantly.
I thought it
Hi,
Am 07.05.2011 um 16:48 schrieb Chas Emerick:
>> We haven't started on a VimClojure nREPL fork yet.
>>
>> We should probably ask Meikel if he's already tackled it, there is a "nrepl"
>> tag on
>> bitbucket but it's about 6 months old.
>> https://bitbucket.org/kotarak/vimclojure/overview
>
Hi,
you can also use it to do funny stuff with juxt.
(map (juxt identity f) some-seq)
Sincerely
Meikel
--
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
Thanks for letting us know Meikel. These are similar issues that we have
encountered
with the jark client.
We are planning to rewrite it in Haskell (currently Python), I'm sure there
will be similarities between a potential
VimClojure client.
I have tried to tinker with VimClojure but sadly never
Chas,
> nREPL + jark + some baseline set of introspection utilities and such (started
> to be described here:
> http://dev.clojure.org/display/design/IDE+tooling+backend) is looking like a
> proper foundation for Clojure tooling, regardless of platform/editor/etc.
Awesome.
> FWIW, I'd like to
2011/5/7 isaac praveen :
> On Sat, May 7, 2011 at 5:50 PM, Laurent PETIT wrote:
>> Yeah, nrepl support for CCW, which Chas personnally did, has been an
>> incredibly valuable addition.
>>
>> I'm glad to see more tools adopting it for backend support !
>>
>
> I agree.
>
> Also, the nrepl-server its
Maybe a silly question, but anyway ...
for CCW, there is this idea of having it maintain, for each open
project (probably depending on a flag, but that's out of topic), in
the background (totally transparently for the user), a running JVM
environment where CCW would maintain the project classes an
On Sat, May 7, 2011 at 12:50 PM, isaac praveen wrote:
> Sure. We need very powerful clojure development and deployment tools.
> My request for subscription to clojure-dev got declined :(
>
Send in a CA! :)
David
>
--
You received this message because you are subscribed to the Google
Groups "
On Sat, May 7, 2011 at 8:51 AM, Base wrote:
> At the risk of sounding completely dense, I am having a hard time
> understanding the purpose of the Identity function. As far as I can
> tell all it does is return what is passed to it.
It's most useful when you have functions that take functions as
Ahhh -
Thanks all. Most educational! This does make sense - I will try and
deconstruct some of the examples where this is used to get a sense of
when / why it is used. But this helps *tremendously*!!
Thanks!!!
On May 7, 2:09 pm, Sean Corfield wrote:
> On Sat, May 7, 2011 at 8:51 AM, Base w
On Sat, 7 May 2011 12:09:45 -0700
Sean Corfield wrote:
> Identity on its own isn't really useful - but in combination with
> higher-order functions, it can be very indispensible!
Bingo. An HOF accepts a function that filters/mogrifies data before
processing it in some way. Sometimes, you *don't*
Is there a document describing internal implementation of Clojure
protocols?
I.e. what is happening "under the hood"?
To be specific suppose I have extended ICountable protocol with a
single "count" method to String class. What happens when I call (count
"some string")?
At what point dynamic dispat
Thanks,
this library looks promising...
On 29 Apr., 21:56, gaz jones wrote:
> i wrote a command line arg library after wanting a bit more than the
> one in contrib gave me:
>
> https://github.com/gar3thjon3s/clargon
>
> i think you could do what you want using it...
>
>
--
You received this me
See:
http://clojure.org/protocols
"defprotocol will automatically generate a corresponding interface"
Although it is not true that a protocol is equivalent to an interface.
For deep "under the hood" you can check out the source:
https://github.com/clojure/clojure/blob/master/src/clj/clojure/core_d
Let me rephrase my question to avoid unfortunate confusion with
standard "count" function:
Suppose I have extended my own IMyCountable protocol with a
single "mycount" method to String class. What happens when I call
(mycount
"some string")?
- Dmitry
On May 7, 1:42 pm, Jonathan Fischer Friberg
w
Hi all,
I've started development on tradui, a translator for the Creole markup
language. It is not finished or in any deployable shape or form yet, however
it's progressed enough to gather some feedback on the approach taken.
Please feel free to clone https://github.com/AndreasKostler/tradui.git
I'm looking for some input as to the best way to test functions that
interact with a database. I've just started writing some tests for
functions that read/write to a mysql database (using
clojure.contrib.sql) but my problem is that I'd like the tests to
begin with either an empty database or one
On Sat, May 7, 2011 at 11:37 PM, Tim McIver wrote:
> I'm looking for some input as to the best way to test functions that
> interact with a database. I've just started writing some tests for
> functions that read/write to a mysql database (using
> clojure.contrib.sql) but my problem is that I'd l
Hello all,
Has incanter.chrono disappeared?
(use '(incanter core chrono))
results in
Could not locate incanter/chrono__init.class or incanter/chrono.clj on
classpath:
[Thrown class java.io.FileNotFoundException]
For both incanter 1.2.3 and incanter 1.2.2
Cheers
Andreas
--
You received this me
Hi Alessio,
My plan is to use this to wrap other Java frameworks to simplify their APIs.
Internally, we started to use it to wrap Java libs as sets of resources
accessible from Clojure and it simplifies things a lot.
I have some ideas about wrapping Swing that I will experiment
this summer.
If y
On May 7, 11:28 pm, Dmitry Kakurin wrote:
> Let me rephrase my question to avoid unfortunate confusion with
> standard "count" function:
> Suppose I have extended my own IMyCountable protocol with a
> single "mycount" method to String class. What happens when I call
> (mycount
> "some string")?
29 matches
Mail list logo