Hello Gaetan,
I'm one of the core developers of clojuredev, an open source project whose
goal is to provide clojure support for the Eclipse IDE.
What you say below is interesting, please see what I have noted inline -->
2009/1/23 gaetan
>
> Hi everybody,
>
> I am working in a software company s
2009/1/23 Konrad Hinsen
>
> On Jan 23, 2009, at 17:15, Stephen C. Gilardi wrote:
>
> > I recently changed my "user.clj" file to be purely full of
> > definitions. I think it fits well with the "require"/"use" model
> > that reloading ought to only affect what's available to call after
> > the loa
Hello,
Could you place some screenshots in a wiki page ?
I'm too lazy to install IntelliJ yet, but maybe with some appealing
screenshots I could change my mind ;-)
Thanks,
--
Laurent
2009/1/23 Peter Wolf
>
> For those who like IntelliJ, a new version of the plugin is available.
> This one
wrote:
> >
> > >> Hello, i am waiting for the book "Programming Clojure" by Stuart
> > >> Halloway,
> > >> I have set upp a enviroment that i can run a REPL and
> > >> load script.
> >
> &
> 2009/1/23 Laurent PETIT
>
>> Hello Gaetan,
>>
>> I'm one of the core developers of clojuredev, an open source project whose
>> goal is to provide clojure support for the Eclipse IDE.
>> What you say below is interesting, please see what I have note
#- makes sense (CL didn't always make things the wrong way :-)
And indeed, #; *could* break a lot of already existing editors for a while
--
Laurent
2009/1/25 Jan Rychter
>
> Mark Volkmann writes:
> > On Sun, Jan 25, 2009 at 1:43 PM, Rich Hickey
> wrote:
> >> On Jan 25, 1:43 pm, Jan Rychter
2009/1/26 Stephen C. Gilardi
>
> On Jan 25, 2009, at 5:51 PM, wubbie wrote:
>
> I saw dorun and doall in core.clj as follows:
> That is, doall just calls dorun.
> My question is, how come doall does force eval and dorun does not.
> thanks in advance,
>
>
> Both force evaluation. Immediately befo
Thank you very much !
2009/1/26 gaetan
>
>
> On 23 jan, 20:57, Laurent PETIT wrote:
> > OK, I understand better now, I think.
> >
> > Did you experience the problems you have exposed ? Or is it an
> anticipation
> > of problems ?
> >
>
> Ye
al compilation of java files
(sensible when eclipse is running with JDK 6, but the project depends on
e.g. JDK 1.4.2) ?
Regards,
--
Laurent
2009/1/26 gaetan
>
>
> On 23 jan, 20:57, Laurent PETIT wrote:
> > OK, I understand better now, I think.
> >
> > Did you expe
2009/1/26 gaetan
> On 26 jan, 13:29, Laurent PETIT wrote:
> > Hello Gaetan,
> >
> > Thanks for the shared code. I think that for a first version in
> clojuredev,
> > I'll too just implement the full builder, and wait for performance
> problems
> > be
Hello,
Do you know if there is a clojure code formatter, written either in clojure
or java ?
It could take a string or InputStream/Reader or File as its input, and
return a well formatted String/outputStream/Writer ?
Indeed, I don't want to reinvent the wheel for clojure-dev, but if it is
writte
Hello,
Say I have namespace a.b.c that is defined in file a/b/c.clj, but which also
has some part in file a/b/c1.clj. And that a/b/c.clj loads a/b/c1.clj
somewhere in the code.
If I a.b.c via (compile 'a.b.c), the classes and files are in sync.
If I now make a change in file a/b/c1.clj, how to
Hello Christophe,
2009/1/28 Christophe Grand
>
> Laurent PETIT a écrit :
> > Hello,
> >
> > Say I have namespace a.b.c that is defined in file a/b/c.clj, but
> > which also has some part in file a/b/c1.clj. And that a/b/c.clj loads
> > a/b/c1.clj somewhere
load
f))] (compile 'a.b.c)))
file loaded: a.b.c
a.b.c
user=>
??
2009/1/28 Christophe Grand
>
> Laurent PETIT a écrit :
> >
> > Hi Laurent,
> >
> > Can't you rebind clojure.core/load to record all resources laoded
> > during
> >
rect (missing parentheses, ...), thus being more
permissive, while still doing its best to format what it is presented with ?
2009/1/29 Michael Wood
>
> On Wed, Jan 28, 2009 at 6:52 PM, Laurent PETIT
> wrote:
> > Hello,
> >
> > Do you know if there is a clojure cod
OK, so it seems that currently, the only "reliable" way for me is to "touch"
the ns defining file.
Do you agree with that conclusion ?
2009/1/29 Christophe Grand
>
> Laurent PETIT a écrit :
> > I tried this, but it didn't seem to work :
> > ;
Library Name: clojure-dev
URL: http://code.google.com/p/clojure-dev/
Authors names: Casey Marshall, Laurent Petit
Category : IDE, editor
License: EPL
Description: *clojure-dev* is an integrated development environment (IDE)
for the Clojure <http://clojure.sourceforge.net/> programming la
Hello,
this should work for you :
(binding [*out* (java.io.StringWriter.)]
(printing-fn)
(= (.toString *out*) "YES"))
Regards,
--
Laurent
2009/2/4 samppi
>
> I want to test if a certain function prints a certain message to the
> system's standard output. How may I go about do
Once again, does'nt this correspond to the introduction of the interface
concept in java ?
Or, asked differently, compared to what you're thinking about, what does the
java 'interface' concept lack ?
> If I were going to add one thing to my own model/protocol/thing
> subsys
there a pretty printer out there for Clojure anywhere? I'm crying
> > now without one.
> >
>
--
Cordialement,
Laurent PETIT
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure"
Hello,
Is there a reason for the test for (classURL==null) being one of the
condition to try loading the class, in the code of RT.load() (see below the
line with the comment at its end) ?
I think the code will work because there is a catch clause in
loadClassForName, but I can't see any reason to
}
finally
{
cfs.close();
cf.lastModified();
}
If it is proved that it solves the above mentioned problem, would it be an
acceptable patch ?
Or, if you can think of another way to solve the general problem, please
tell, I'll be glad to know about it !
Hello,
Does it also mean that the following use case will work with *reload-all* :
- x.y.z is a lib that is made of two files : x/y/z.clj, and x/y/z1.clj , and
z.clj loads z1.clj
- x.y.z is compiled
- z1.clj is modified
- x.y.z is compiled => even if x/y/z.clj nor x/y/z__init.class are in sync,
t
Hello,
For the non-initiated, who is Ilya ?
Anyway, great news for IntelliJ users !
If some IBM or other Eclipse commiter(s) want to help with clojuredev,
they're welcome too ! :-) :-)
--
Laurent
2009/2/6 Peter Wolf
>
> Check out this email! IntelliJ is going to get a *really* good plugin
think it is an acceptable patch ? If so, I'll then send
my contributor agreement as needed, and open an issue.
Thanks in advance,
--
Laurent
2009/2/6 Laurent PETIT
> Hello,
>
> I have a problem for implementing the auto-compile feature of clojuredev
> eclipse plugin.
>
>
(defmacro print_symbol [s] `(quote ~s))
You should consider downloading on lisp by Paul Graham from this page :
http://www.paulgraham.com/onlisptext.html
You'll learn everything you want to know about macros (it's in Common Lisp,
but I think it is understable with just a clojure background, conce
If no lisp background at all, maybe onlisp is not a good start.
But ANSI Common LISP is good, but maybe too tied to CL ...
The problem with CL is that it does not promote a pure functional style, so
I don't know how you will feel like while coming back from ANSI Common LISP
to clojure.
Well, mayb
Hello, not related to your question, but you should consider renaming your
file sudoku_solver to make it compiler friendly.
Concerning your question, I think there have been some answers recently on
the ml. Sorry I don't remember the links exactly.
Regards,
--
Laurent
2009/2/6 Tzach
>
> Hi
Hello Keith,
2009/2/6 Keith Bennett
>
> Tzach -
>
> Cool!
>
> I had to do some things to get it to work.
>
> * Reversed the order of parse-digit and abs functions.
>
> * Added call to -main at the end. By the way, what is the
> significance of the hyphen in the function name?
Please, consider
ith your inputs, should have test
> it first.
> Laurent, is it consider a bad practice to use hyphen on general, or
> just as ns / file names?
>
> Tzach
>
> On Feb 7, 1:36 am, Laurent PETIT wrote:
> > Hello, not related to your question, but you should consider renaming
> yo
Yes, it's weird.
Your problem, as stated, is that it can't manage to find the antlr required
dependency.
Maybe it's your eclipse installation, maybe it's the plugin (can't be 100%
sure it's not the plugin, because I haven't tested it on Vista).
In order to make you install clojuredev, I've added
Hello, Rich & all,
I'd like to implement problem markers in text editors in clojuredev.
For this to work, it would be interesting to be able to get the fully
qualified named of the file where the error occurs.
Currently, it seems to me that only the name of the file is printed in the
message.
It
thing like (bar (dec 5) something), because then Clojure tries to
> evaluate (replicate '(dec 5) 'something).
>
> So how should I rewrite bar to behave like bar-fn, then?
>
>
> >
>
--
Cordialement,
Laurent PETIT
--~--~-~--~~~---~--~~
Since you say you're an Eclipse user, one answer could be : use clojuredev
(eclipse plugin supporting clojure development),
and wait patiently for this feature to be included :-).
More seriously : clojuredev, while still a baby compared to slime, has some
interesting features worth considering fo
I wanted to say compared to emacs+slime+clojure-swank, of course.
There are also netbeans and jetbrain Ideas implementations, also.
I just posted here because you told about eclipse, but those other
environments are good, too !
--
Laurent
2009/2/9 Laurent PETIT
> Since you say you
ev for this ;) I noticed a few bugs
> here and there, by the way, so i'll have to find some time and
> report / patch ... anyway on this topic you really have the same
> probleme with java, except that propers tools just hide the hugly list
> of import anyway.
>
> Cheers
Hello,
Here are some (quick) thoughts :
- The wikibook example could also be adapted to the new way of doing things
: having add1, otherfunc and morefuncs files in the same directory as ourlib
?
- if the other "parts" of the lib are not in the same directory/package as
the "master lib file", whe
Hello,
Can you be more specific about : what is in what file in your example, and
what is the structure of the directories you use for the test ?
Normally, this should be :
(say src is the root source directory set in your classpath) :
ns in
our heads :-)
Regards,
--
Laurent
2009/2/10 Stephen C. Gilardi
>
> On Feb 10, 2009, at 10:02 AM, Laurent PETIT wrote:
>
> Hello,
>>
>> Here are some (quick) thoughts :
>>
>> - The wikibook example could also be adapted to the new way of doing
>> things
If I understand correctly your proposal, can you verify the following is
true :
(ns foo.bar)
(ns foo.bar.util)
(ns foo.bar.impl)
(ns foo.bar.data)
with foo.bar decomposed in two files : foo/bar.clj and foo/bar1.clj just one
file per ns, would result in the following structure :
/foo/bar.clj
/foo
anks for the response
> Yes, I'm using Emacs SLIM.
>
> what should be the relation between the file (hello.clj) path to the
> classpath?
> Is the compile work on the file name, or on the function? in other
> word, should I evaluate the function on the REPL before compile?
>
>
Hello,
2009/2/10 Stephen C. Gilardi
>
> On Feb 10, 2009, at 11:46 AM, Laurent PETIT wrote:
>
> If I understand correctly your proposal, can you verify the following is
>> true :
>>
>> (ns foo.bar)
>> (ns foo.bar.util)
>> (ns foo.bar.impl)
>> (n
file. Not necesseraly
repeating the last segment, but named something like "lib.clj" or "init.clj"
-> easy to recognize, easy to be used by tools
* all resources owned by the namespace (in the composite sense, owned as in
"whose lifecycle is of the only responsibi
2009/2/11 Laurent PETIT
>
>
> 2009/2/10 Stephen C. Gilardi
>
>>
>> On Feb 10, 2009, at 12:32 PM, Greg Harman wrote:
>>
>> Let me offer a perspective coming from a Java background:
>>>
>>> I know that there are subtle differences between a
Hello,
Normally not currently, or, if it works, it would be unintentional :-)
More seriously : this indeed is not an officially supported feature.
The long answer is : it depends on what you mean by "jar".
Eclipse + clojuredev seems capable of producing a very correct jar with what
you want : e
do this? Do we have a function that checks if
> it's a char or digit?
>
> (digits "a2c3")
> -> "23"
>
> Thanks,
> sun
>
> >
>
--
Cordialement,
Laurent PETIT
--~--~-~--~~~---~--~~
You received this mes
http://www.infoq.com/news/2009/02/jruby-clojure
Even if I'm a daily java programmer, I like the following sentence a lot :
"Choosing a lower level, system language, be it C (for MRI) or Java (for
JRuby)" , justifying to use clojure when JRuby needs performance (!) while
still using a "high level
In a nutshell (not tested, but nothing should miss, just typos if it doesn't
work) :
mkdir test-compile
cd test-compile
mkdir classes
mkdir src
mkdir src/echo
echo "(ns echo.test) (defn echo [msg] msg)" > src/echo/test.clj
java -cp path/to/clojure.jar:src/:classes/ clojure.lang.Repl
user> (compile
Hello,
Thanks for having shared that,
Do you know if there's a way to overload methods with the same arity, then ?
I'm thinking about .read(char ) .read(byte ) .read(String ) .read(Integer )
... for example, ?
--
Laurent
2009/2/12 Craig McDaniel
>
> For the benefit of others, since this t
lse
> the project depended on. I haven't used Eclipse enough to know if I
> could do something like this by just using a normal .jar file.
>
> On Feb 10, 6:51 pm, Laurent PETIT wrote:
> > Hello,
> >
> > Normally not currently, or, if it works, it would be unintentio
There's certainly better, but at least, you can try this :
(def void)
(.isBound (var void))
; or (.hasRoot (var void)) depending on what you want
--
Laurent
2009/2/13 Conrad
>
> Hi, is there a standard way to tell if a variable is bound? I couldn't
> find a way.
> Basically I want something
Hello,
I can't manage to get the code from the URL (server timeout)
2009/2/12 Dimiter malkia Stanev
>
> Hi guys,
>
> I'm optimizing a little benchmark called pnpoly, and I was wondering
> what is the proper way of hinting the compiler for types. In certain
> cases Clojure accepts for example lo
2009/2/13 Christophe Grand
>
> Laurent PETIT a écrit :
> > Hello,
> >
> > Thanks for having shared that,
> >
> > Do you know if there's a way to overload methods with the same arity,
> > then ?
> >
> > I'm thinking about .rea
???
2009/2/13 Craig McDaniel
>
> I just tried it out to be sure. Overloaded methods with the same arity
> work as expected. Clojure picks the right method to call via
> reflection.
>
> package expmeth;
> public class ClassA {
>public void hello() {
>System.err.println("hello from Jav
/13 Christophe Grand
>
> Laurent PETIT a écrit :
> > 2009/2/13 Christophe Grand > <mailto:christo...@cgrand.net>>
> >
> >
> > Laurent PETIT a écrit :
> > > Hello,
> > >
> > > Thanks for having shared that,
> &g
Hello ,
Your example code below is not complete (where's helloSuper definition ?),
but I think it does not answer my specific question ?
Anyway, it seems that Christophe found the answer.
But I don't know if we should use this knowledge, since it is not exposed as
an API ?
--
Laurent
2009/2/1
Didn't know, thank you again for this knowledge,
--
laurent
2009/2/13 Craig McDaniel
>
> On Feb 13, 9:59 am, Laurent PETIT wrote:
> > Your example code below is not complete (where's helloSuper definition
> ?),
>
> Yes, it is complete. See :expos
Yes, but please note that Christophe's method also solves the problem of
defining overloaded methods with different java signatures, but still same
name and same arity.
I still can't see how your proposed method solves this particular problem ?
Regards,
--
Laurent
2009/2/13 Craig McDaniel
>
2009/2/13 Mark Volkmann
>
> On Thu, Feb 12, 2009 at 5:09 PM, Laurent PETIT
> wrote:
> > In a nutshell (not tested, but nothing should miss, just typos if it
> doesn't
> > work) :
> >
> > mkdir test-compile
> > cd test-compile
> > mkdir c
src/echo/test-part2.clj
Then you'll have (ns echo.test (:load "test-part2") in src/echo/test.clj
But that was not the point of my answer, though.
Regards,
--
Laurent
2009/2/13 Mark Volkmann
>
> On Fri, Feb 13, 2009 at 10:18 AM, Laurent PETIT
> wrote:
> > 2009/
Hello,
The code you provided works well.
But still, I insist, it has nothing to do with how to solve the problem of
how one can overload methods with same name, same arity, but different types
in the signature.
You only demonstrated that clojure handles well the dispatching of method
calls based
http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#Invoking_Clojure_from_Java
2009/2/13 Mark Volkmann
>
> Can someone point me to documentation on how to invoke Clojure
> functions from Java?
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> >
>
--~--~-~--~~---
2009/2/13 Stephen C. Gilardi
> I wonder what the rationale was for making it so namespaces need to be
>> quoted when using in-ns. They don't need to be quoted when using ns.
>> For example, I have
>>
>> (ns com.ociweb.talk (:gen-class)) in one file
>>
>> and
>>
>> (in-ns 'com.ociweb.talk) in ano
Hello,
You could maybe solve the read problem by also embedding, in the name of the
file, its intended content size ?
So it could be reasonably cheap to check if a file is present but not yet
totally flushed to the disk by comparing its intended size (from its name)
and its current real size ?
F
Well, so indeed, the temporary file solution seems a good one, then.
--
laurent
2009/2/15 James Reeves
>
> On Feb 14, 10:58 pm, Laurent PETIT wrote:
> > You could maybe solve the read problem by also embedding, in the name of
> the
> > file, its intended content size
p file when program exits.
temp.deleteOnExit();
--
Laurent
2009/2/15 James Reeves
>
> On Feb 15, 12:42 pm, Laurent PETIT wrote:
> > Well, so indeed, the temporary file solution seems a good one, then.
>
> The consensus seems to be to use a temporary file, then. I had thought
> there
2009/2/16 Dan
>
>
> On Mon, Feb 16, 2009 at 11:33 AM, levand wrote:
>
>>
>> I agree, Jambi is a better all-round product... but why the Swing
>> hate? It's fine for what it is. Most of it's drawbacks (horrible L&F,
>> poor performance) are things of the past, now.
>>
>> It would definitely be my
Thanks,
--
Laurent
2009/2/16 Dan
>
> Hello,
>>
>> Do you know of a good pointer that goes beyond the "don't use it"
>> argument, and really makes a thorough comparison of pros and cons of the 2
>> frameworks ?
>>
>
> I'm not saying don't use Swing, I'm saying prefer Jambi.
>
> My memory of Swi
And to get the enclosing vector:
(reduce conj [] (apply map vector [[:a :b] [1 2] ['a 'b]]))
2009/2/16 David Nolen
>
> I'm sure it can be done, but it's not clear to me if you have a vector of
>> vectors
>> how Stuart's solution would work:
>>
>> 1:15 user=> (map vector vecs)
>
> ([[:a0 :a1 :a
You're right, thanks !
2009/2/17 Chouser
>
> On Mon, Feb 16, 2009 at 7:54 PM, samppi wrote:
> >
> > Thanks a lot, everyone. Isn't
> > (reduce conj [] (apply map vector [[:a :b] [1 2] ['a 'b]]))
> > equivalent to
> > (into [] (apply map vector [[:a :b] [1 2] ['a 'b]]))
> > though?
>
> Yes.
>
>
Hello,
I wanted to try it too, so I grabbed Timothy's version, and did some
improvements (I hope they are, feedback welcome ! :-) over it.
Something I corrected is the removal of null or blank items, as in the first
python version.
I also got rid of the assoc by using update-in.
And I felt that t
"Clonure" (n for dot *n*et), as in : "Clonure, a dot net clone of Clojure"
(ok, sorry ;-)
2009/2/17 Lucio Fulci
> I can see a minor problem with ClojureCLR, that is, "j" in clojure stands
> for JVM, right? So it's a bit messy.
>
>
> >
>
--~--~-~--~~~---~--~~
You
Thanks Michael
2009/2/17 Michael Wood
>
> On Tue, Feb 17, 2009 at 11:05 AM, Laurent PETIT
> wrote:
> > Hello,
> >
> > I wanted to try it too, so I grabbed Timothy's version, and did some
> > improvements (I hope they are, feedback welcome ! :-) over it
2009/2/17 Emeka
> >Haha, I was afraid someone would say this.
> >Here is my embarrassingly bad (but working) version:
>
> I won't say that, you ported Python to Clojure while maintaining Python
> spirit. That's great!
Are you serious, or is this a joke somewhat bashing the python language ?
>
Yeah, I think you're right. That's "Python spirit" in place of "original
code spirit" that surprised me.
2009/2/17 Dan
> I won't say that, you ported Python to Clojure while maintaining Python
>>> spirit. That's great!
>>
>>
>> Are you serious, or is this a joke somewhat bashing the python lang
Hello,
2009/2/18 CuppoJava
>
> Hi,
> I've noticed that I'm creating a lot of maps of functions, and I'm
> wondering if there's a performance penalty for this.
>
> ie.
> (defn create_fn []
> (fn [] (println "hi")))
If you use AOT compilation, you'll see that this code will add 2 new classes
to
Hello,
There's something I don't understand : I've used this code :
(ns clojure.examples.createfn)
(defn create-fn []
(fn [] (println "hi")))
(defn test-create-fn [n]
(time (dotimes [x n]
(create-fn
and made these tests :
user=> (require 'clojure.examples.createfn :reload)
ni
OK, should have read the doc more carefully,
thanks,
--
laurent
2009/2/18 Christophe Grand
>
> Laurent PETIT a écrit :
> > When I call test-create-fn with 40, the elapsed time falls
> > down to zero : I suspect it does nothing, and in the same time it does
> &g
2009/2/18 Mark Volkmann
>
> On Wed, Feb 18, 2009 at 10:27 AM, Rich Hickey
> wrote:
> >
> > On Feb 18, 11:04 am, Chouser wrote:
> >> On Wed, Feb 18, 2009 at 12:35 AM, Rob wrote:
> >>
> >> > I'm wondering if I found a bug. I have the latest source from svn
> >> > (r1291).
> >>
> >> > user=> (be
mean (return the seq with the next
> value computed), rest now means just give me the uncomputed remaining values
> of the seq.
>
> On Wed, Feb 18, 2009 at 12:00 PM, Laurent PETIT
> wrote:
>
>>
>>
>> 2009/2/18 Mark Volkmann
>>
>>
>>> On
l/Valise/guild/trunk/
> software/clojure"
>
> caeneshluura:clojure mikel$ pwd
> /Users/mikel/Valise/guild/trunk/software/clojure
>
> caeneshluura:clojure mikel$ ls
> ./ xg/
> ../ classes/
>
> /Users/mikel/Valise/guild/trunk/software/clojure
Hello,
It sounds a little weird to me that you use a synchronous call to the UI
thread (via syncExec and not asyncExec), but then use an asynchronous call
to an agent ?
I don't have repl here to test it, but could you make something simpler,
like creating a mutable structure in the let - an array
Interesting, but is that an implementation detail, or an exposed feature ?
2009/2/19 Stephen C. Gilardi
>
> On Feb 19, 2009, at 12:57 PM, Laurent PETIT wrote:
>
> (. *swt-display* syncExec (proxy [Runnable] [] (run [] (aset
>> val-res# 0 (do ~...@body)
; On Feb 19, 2009, at 1:10 PM, Laurent PETIT wrote:
>
> Interesting, but is that an implementation detail, or an exposed feature ?
>>
>
> It's documented at:
>
> http://clojure.org/special_forms#fn
>
> (at the bottom)
>
> --Steve
>
>
--~--~---
l whether I'm correct or wrong,
and whether there is a more "clojurish" version to do this, please tell,
--
Laurent
2009/2/20 Berlin Brown
>
>
>
> On Feb 19, 6:24 pm, Laurent PETIT wrote:
> > Yes, thank you, I did the simplification.
> >
> > I couldn&
nts (concurrency issue I haven't considered,
code maintenance, proven really bad performance, etc.) for using atom in
this particular case, then I'll change my mind (and the code:-).
--
Laurent
2009/2/20 Christophe Grand
>
> Laurent PETIT a écrit :
> > I haven't tried w
2009/2/20 Christophe Grand
>
> Laurent PETIT a écrit :
> > If I'm damn sure that the value will be set once from within the same
> > thread (here we are in the SWT UI Thread), is there a reason to prefer
> > atoms ?
> > (This is a real question, not a disguised
local-vars ?
* if not, would the scenario we are talking about be appropriate for use of
'with-local-vars ?
Thanks in advance,
--
Laurent
2009/2/20 Rich Hickey
>
>
> On Feb 20, 2009, at 5:33 AM, Christophe Grand wrote:
>
> >
> > Laurent PETIT a écrit :
> >>
Straight to the point of your question : it's an exception StackTrace, :-)
Now if you want some more question to be answered, you may well be a little
bit more explicit, as Berlin suggested too ! ;-)
--
Laurent
2009/2/21 Feng
>
> Exception java.lang.StackOverflowError:
> [1] clojure.lang.Pe
class from a clojure namespace.
Regards,
--
Laurent
2009/2/13 Laurent PETIT
> Hello again,
>
> As I said in my first answer, clojuredev doesn't provide anything more than
> what Eclipse has to offer in this area, at least not yet.
>
> And honestly, I don't kno
2009/2/22 Chouser
>
> On Sat, Feb 21, 2009 at 5:36 PM, David Nolen
> wrote:
> > My point is simply that whether something is immutable or not has nothing
> to
> > do with how that data structure is being used in the program.
> > Naming conventions signify usage. You could write a pure Java
> >
2009/2/23 Cosmin Stejerean
> On Mon, Feb 23, 2009 at 11:10 AM, Mark Volkmann > wrote:
>
>>
>> On Mon, Feb 23, 2009 at 10:55 AM, Christian Vest Hansen
>> wrote:
>> >
>> > On Mon, Feb 23, 2009 at 4:42 PM, Mark Volkmann
>> > wrote:
>> >>
>> >> I have an idea I'd like to float to see if there are
While in another answer to this post, I said I had in mind to experiment
with such a thing when time permits on clojure-dev, I've then followed some
links, seen some attempts to remove parentheses ...
... and was very surprised to feel a little "losts" without the parenthesis
on the examples ! :-)
Hello Stuart,
Can you explain what this is ? Is it just something related to your book, or
something that also colors syntax on websites (maybe the clojure website, or
github ..) ?
Indeed, if these are the "commonly accepted" colors for clojure code, I'll
consider adapt clojure-dev to stick with
Hello,
What about giving back 'lazy-cons (or lcons as a shortcut), with the
optional possibility to give the cons an internal name ?
This could allow for self-recursive definition, such as this one for a
fibonacci generator function as :
user=>(defn fib-fn [] (lcons [fib] 1 (lcons 1 (map + fib (re
2009/2/24 Christophe Grand
>
> Laurent PETIT a écrit :
> > Hello,
> > What about giving back 'lazy-cons (or lcons as a shortcut), with the
> > optional possibility to give the cons an internal name ?
> It would work and that's why Stuart said "with
Hello,
I suspect you want to guess *when* things happen because you're tempted (or
you're doing) do call code with side effect inside the transaction.
So you say to yourself : "if the transaction is aborted at this place then
this code will not have been called and this thing will not have been
pr
Alas, sometimes those people don't listen to developers ...
One solution is to install the following python software :
http://ntlmaps.sourceforge.net/
it is a little local proxy that knows how to speak with a Microsoft NTLM
proxy.
I had success with it in many organisations where I was working.
Mark,
If you have not been discouraged by the crowd of people having answered 'no'
to your question :-), and still have the idea of exploring this area, would
you consider designing a "surface language" that allows bidirectional flow
to and from clojure code ?
If you do so, then you would well pr
Congratulations!
2009/2/24 Ilya Sergey
> Hello, all!
>
> I'm happy to present alpha-version of official Clojure plugin for IntelliJ
> IDEA "La Clojure". It may be downloaded from
> http://plugins.intellij.net/plugin/?id=4050
>
> List of implemented features for now looks as follows:
>
> 1. Cust
1 - 100 of 1622 matches
Mail list logo