Just if any one is gets the same problem: I updated slime and slime-
repl to the 20100404 version, and everything works again.
Regards, alux
PS.: For completeness: swank-clojure version 1.1.0
On 11 Sep., 12:40, alux wrote:
> Hello Bruce,
>
> would you please provide the versions of
in XP)
(Btw.: Is there a way to uninstall stuff with ELPA?)
Thank you, alux
On 10 Sep., 21:56, Bruce Durling wrote:
> Hi,
>
> On Fri, Sep 10, 2010 at 18:15, User7 wrote:
>
> > I'm using emacs starter kit and clojure-test-mode 1.4 installed using
> > elpa. Runnin
Brian, thats way cool!
(I still have to think this through, thats high magic!)
Thank you for sharing this, and kind regards, alux
On 10 Sep., 21:04, Brian Marick wrote:
> I've worked out a way to test local functions. When I tried it out by hand,
> it felt good. See here:http://bi
ble.
Greetings, alux
On 10 Sep., 13:39, James Reeves wrote:
> On 10 September 2010 12:24, alux wrote:
>
> > I always thought it to be good style to make helper functions only as
> > visible as needed, e.g. by using letfn.
>
> > But when I want to test my code, I just
ivate http://blog.fogus.me/2010/09/03/monkeying-with-clojures-deftest/
, but at least as far as I can see, this can't be generalised to my
problem.)
Do you know any way to test them?
Thank you, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure&quo
t doesnt belong to this thread. Nevertheless,
comments are welcome :)
Thank you all, and kind regards, alux
On 9 Sep., 20:40, lprefonta...@softaddicts.ca wrote:
> The major thing that made me used macros as much as possible when available
> in any language was writing assembly code. Not 100 lines proje
k you! (I read he did a
talk just about macros this year, but I dont know whether there is a
video or slides of it on the web.)
@Michael Yep, again some stuff for the comparison list. Thank you.
An interesting discusssion! Thank you all!
Regards, alux
On 8 Sep., 20:17, Michael Ossareh wrote:
>
Hi Alan,
this is one of the places where clojure.core is not written in what I
would called idiomatic Clojure. The reason is speed. Rich Hickey is
very eager to speed up the libraries, and what you see in juxt is one
of the verbose speedup tricks.
Regards, alux
On 8 Sep., 20:06, Alan wrote
bunch of the Gang of Four
patterns are just not needed in Lisp.
Regrads, alux
On 8 Sep., 19:29, Alan wrote:
> This was actually the article that finally got me to overcome the
> inertia and start exploring lisp, as a long-time native Java speaker.
> I gave up again in a few weeks
them to look into Clojure too.
But here I'm on a slippery slope. I'm still unable to judge the power
of lisp macros compared to the power of Scalas possibilities to write
your own control structures.
Regards, alux
On 8 Sep., 19:29, Alan wrote:
> This was actually the article that fina
erstanding) is the only reason: We
directly write the abstract syntax tree, because this is the way we
can introduce new syntax ourself.
Thats why I think to need this metaphor.
Thank you, and kind regards, alux
On 8 Sep., 17:19, Meikel Brandmeyer wrote:
> Hi,
>
> On 8 Sep., 17:07, alu
Hi Stu,
I like your "open dispatch club" ;-)
Yes, after some thinking this is rather clear - every single something
had to be scanned whether it implements a protocol; ehm, and rescanned
when a new protocol is defined.
Well, I drop that request ;-)
Thank you for the illumination,
Hi Patrick,
yes, I think thats the right way to teach this stuff. My problem
arises earlier - I still have to motivate my collegues, to get them
interested, and, maybe, teach them later ;-)
Regards, alux
On 8 Sep., 16:28, CuppoJava wrote:
> I found the easiest way to introduce macros is j
Hello Joop,
thanks for the link. So it seems not to be completely misled ;-)
Greetings, alux
On 8 Sep., 11:59, Joop Kiefte wrote:
> Actually, this metaphor has been used before.
> Checkhttp://www.defmacro.org/ramblings/lisp.htmlfor an other version of
> your story ;).
>
>
tand Lisp and Macros, XML/XSLT, and Ant, and Maven ;-)
Now the question:
Do you see any problems with this metaphor, is it misleading
somewhere?
Thank you, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
, to find functions to ponder their use.
Regards, alux
On 3 Sep., 16:05, Stuart Halloway wrote:
> Let's back up: what are you trying to do with 'extenders'?
>
> Stu
>
> > Yes, thats what I see.
> > I just dont think this is very sensible.
>
> > Th
Yes, thats what I see.
I just dont think this is very sensible.
Thank you Meikel!
Greetings, alux
On 3 Sep., 13:10, Meikel Brandmeyer wrote:
> Hi,
>
> On 3 Sep., 12:49, alux wrote:
>
> > shouldnt the type x be listed a extender of xx here? Or why not?
>
> No. It show
Hello,
shouldnt the type x be listed a extender of xx here? Or why not?
Thanks, alux
(defprotocol xx "example" (xxx [x] "some x'es"))
(deftype x [] xx (xxx [x] :xxx))
(extenders xx)
=> nil
--
You received this message because you are subscribed to the Googl
Hi Mike, thank you!
Third book put on my reading list this week. Sigh.
Regards, alux
On 3 Jun., 21:24, Miki wrote:
> Hello alux,
>
> > I still have some technical questions, but the main issue seems to be
> > that I need to dive more deeply into the whole area of macro
> &
Many thanks Konrad, thats illuminating!
Regards, alux
On 3 Jun., 13:36, Konrad Hinsen wrote:
> On 3 Jun 2010, at 12:46, alux wrote:
>
> > Thats impressive. I'm still, hm, puzzled. Nice example of something
> > that can only be done with syntax-quote, and outside of a mac
e.org/reader, I learned "For Lists/Vectors/Sets/Maps,
syntax-quote establishes a template of the corresponding data
structure.", and from that, what I expected was
(user/foo (user/bar a) b)
Why is this so utterly wrong, and where should I know?
Many thanks, alux
On 3 Jun., 11:51, Konrad
(probably more to come :)
Thank you, and kind regards, alux
--
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 patien
Hello SinDoc,
no special form at all? Cool, I'll have a look.
Chapter 4.1 and 4.2 actually sit on my desk already since yesterday -
I just didnt read it. I hope I get a chance in the next days.
Many thanks, alux
On 1 Jun., 09:38, "Sina K. Heshmati" wrote:
> "al
?
(I'm always tempted to try and find the very basic blocks. But here
this seems to be like looking for a root in a directed graph - it
exists in special cases only.)
Thank you, alux
On 1 Jun., 10:44, Konrad Hinsen wrote:
> On 1 Jun 2010, at 09:18, alux wrote:
>
> >> So, i
dnt know how to implement all of them. Certainly there is,
unknownst to me, a bunch of literature about (sets of) primitives that
cannot e replaced - literature hints anybody?
(Well, thats probably a nice set of exercises :)
Thanky and regards, alux
On 31 Mai, 12:45, "Sina K. Heshmati&quo
Hi Аркадий,
I started another thread about the difference between special form and
macros today - and got told that it is not possible to overwrite a
special form.
Regards, alux
On 31 Mai, 21:15, "Ark. Rost" wrote:
> So I don't understand if there any way do it. I'm re
Yep, know that, been there ;-))
On 31 Mai, 21:39, ataggart wrote:
> On May 31, 12:18 am, alux wrote:
>
> > Ah, thank you - I still shy away from looking into Richs sources, but
> > here it helps: Ratio doesn't have getter for numerator and denominator
> > - they
f do println)
#'user/do
; this uses the special form
user=> (do "huhu" "plop")
"plop"
; while this uses println
user=> ((var do) "huhu" "hello")
huhu hello
nil
Thank you, alux
On 31 Mai, 10:38, Konrad Hinsen wrote:
> On 31 May 2010, at
orm doesnt have anything to do with
eagerness or lazyness.
[ ] You are completely wrong, the right question is:
____
Thank you, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
point to place it at ;-)
Regards, alux
On 31 Mai, 04:10, ataggart wrote:
> Ratio doesn't emit the numerator and
> denominator:http://github.com/richhickey/clojure/blob/master/src/jvm/clojure/lang...
>
> I'm not sure that would help solve your problem, even if it were
>
Hello ataggart,
thank you for the correction!
Only now I understand A.Rosts question. May be somebody can help, and
explain why my hypothesis was wrong. Obviousely, while functions are
first class, special forms are even "better", kind of zeroth class.
Thank you, alux
On 31
Ah!
Hello Glen, good hint. Problem and solution reproduced ;-)
Thank you,
greetings, alux
On 31 Mai, 06:00, Glen Stampoultzis wrote:
> On 31 May 2010 04:51, Paul Moore wrote:
>
> > On 30 May 2010 12:31, alux wrote:
> > > Small addition, you missed to add the : befor
is easier than using the
BigIntegers myself?
Thank you, alux
--
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
))
Is this what you want?
(I'm driven to point out that this is bad style - but you probably
know already.)
Regards, alux
On 30 Mai, 19:07, "A.Rost" wrote:
> Hi!
> For example, it's possible to do things like:
> (def do println)
> ((var do) "example")
&
Small addition, you missed to add the : before eof
replace "goto eof" by "goto :eof"
Thank you, and regards, alux
On 28 Mai, 16:09, Paul Moore wrote:
> On 28 May 2010 09:48, alux wrote:
>
> > Hello!
>
> > Short: It works, but is not perfect.
>
>
Thank you!
Greetings, a.
On 28 Mai, 17:51, Paul Moore wrote:
> On 28 May 2010 16:17, alux wrote:
>
> > Hello Paul,
>
> > thats much better, many thanks!
>
> I've added it to the Wikibooks
> page,http://en.wikibooks.org/wiki/Clojure_Programming/Tutoria
Hello Paul,
thats much better, many thanks!
Regards, alux
On 28 Mai, 16:09, Paul Moore wrote:
> On 28 May 2010 09:48, alux wrote:
>
> > Hello!
>
> > Short: It works, but is not perfect.
>
> > (this may need an windows expert to make it better)
>
> Try
nd whats happening. Any hints
appreciated.
Kind regards, alux
--
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 you
Thank you Adrian!
Regards, alux
On 19 Mai, 14:33, Adrian Cuthbertson
wrote:
> > thanks for the hint. I looked into clojure.core and similar files,
> > and didnt find much use of *err*.
>
> There are a few in clojure.contrib. Have a look at logging.clj,
> repl_ln.c
Hello Adrian,
thanks for the hint. I looked into clojure.core and similar files,
and didnt find much use of *err*.
Regards, alux
thank you for your response. I had a look into
On 19 Mai, 09:55, Adrian Cuthbertson
wrote:
> On Wed, May 19, 2010 at 9:06 AM, alux wrote:
> > Any com
Any comment here?
tnx, a.
On 17 Mai, 22:22, alux wrote:
> Hi,
>
> I reset *out* in a test program, and it worked fine. But when I try to
> do the same with *err*, I found no change, still. All Errors I
> produced seem to go directly to Java's System.err, not using my
recur)))]
(.start (Thread. pusher))
out))
Feedback highly welcome.
Regards, alxu
On 18 Mai, 21:09, alux wrote:
> Hi.
>
> (add-hook 'slime-connected-hook 'slime-redirect-inferior-output)
>
> works for me if I start Clojure with M-x slime
> But if I start it w
.
(I actually didnt expect this to work, but to prevent me from working
isnt nice ;-)
Greetings, alux
On 18 Mai, 20:37, Dave Fayram wrote:
> That is a very useful bit of information. Thanks!
>
> On Tue, May 18, 2010 at 6:01 AM, Moritz Ulrich
>
>
>
> wrote:
> > Slim
I should add, that a new thread runs in the default environment again.
You may set the *out* variable in your thread with "binding":
(let [dummy *out*] ; to have a name for the current *out*
(.start (Thread. (fn [] (binding [*out* dummy] (prn x))
Regards, alux
On 18 Mai, 0
Hi Preecha,
output in Clojure is sent to *out* (a variable that refers to
System.out by default). If you use emacs / slime this variable will be
set differently. You should find your threads output in the swank-
REPL, if you can find it somewhere.
Regards, alux
On 18 Mai, 03:26, Preecha P
kind regards,
alux
--
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 unsubscribe from this gr
Thank you for the discussion - even if I dont understand it
immediately ;-)
Grettings, alux
On 5 Mai, 17:32, David Nolen wrote:
> On Wed, May 5, 2010 at 11:11 AM, Sean Devlin wrote:
>
> > I think there's a fundamental assumption that I disagree with.
>
> > Since we
?
Thank you, alux
--
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 unsubscribe from this g
Hello Stuart,
"they don't work as you'd expect".
Ah, I see. Thank you ;-)
Hm. Can you point me to some documentation about these special rules
then?
Many thanks, alux
On 30 Apr., 18:10, Stuart Sierra wrote:
> "ns" and "in-ns" have special evaluati
Hello Armando, did you try the second half of you experiment in a
clean REPL?
As you describe it, the first evaluation may have created the var.
Regards, alux
On 29 Apr., 21:32, Armando Blancas wrote:
> > The REPL switches to the namespace ns-1 and the var my-namespace is in
> > us
(println (do
(ns ns-1)
(def my-namespace *ns*)
my-namespace))
The REPL switches to the namespace ns-1 and the var my-namespace is in
user !
That seems to be the background of Davids irritation.
Any explanations?
Kind regards, alux
On 28 Apr., 17:37, Nate Young
t least thats what I think
is the reason). I.e. hit enter if connected, or try to connect.
Certainly there should be a better way, but may be you can start from
here.
Regards, alux
public static void main(String[] args) throws InterruptedException{
ThreadGroup tg = ne
ate of such beast at a certain moment - and so the printer has to
stop at the current end of the list, and not block.
Thanks again, and kind regards,
alux
On 17 Apr., 16:46, Per Vognsen wrote:
> Not currently. I added the capability to some code I posted last month
> for fixing print-met
Hi,
is there any nonblocking way I kind find out whether a promise has
been delivered?
Thanky you, alux
--
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 n
Info: Service paused.
...
So, seque sounds right at the first stage - the sequence of lines. The
second stage - sequence of messages might need some reordering or
different approach.
Thanks a lot,
alux
On 15 Apr., 14:32, Meikel Brandmeyer wrote:
> Hi,
>
> On Apr 15, 2:10 pm, alux
a few lines.
(And thanks for preventing me to fall into that REPL trap.)
Now I will try and use it.
Thanks and greetings, alux
On 15 Apr., 14:55, Per Vognsen wrote:
> The first thing I ever implemented with promises was dataflow
> programming in this style. A good read is the chapter on
d and tail of a "seq" are
references, they dont fit the interface anymore, or do they.
Still thinking ;-)
Kind regards, alux
On 14 Apr., 22:41, Anniepoo wrote:
> what you want is just a stream in each direction.
>
> Bob: So, how do you feel about the Smith contract?
> F
Thank you verec, I hadn't been aware of this.
Kind regards, alux
On 13 Apr., 00:08, verec
wrote:
> You may also want to browse this thread:
>
> http://groups.google.com/group/clojure/browse_frm/thread/a80e07675663...
--
You received this message because you are subscribed to the
still dont know.
Any tips or constructive criticism welcome. Thank you for reading.
Regards, alux
--
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 m
Oh, thats fine. Now I can even reduce my
(Class/forName "javax.sound.sampled.SourceDataLine")
to just
SourceDataLine
I like shortening code (especially if it stays readable).
Thank you.
alux
On 12 Apr., 14:41, Michael Wood wrote:
> On 12 April 2010 13:54, alux wrote
Aaaah!
Hello Kevin, right, thank you! I had even seen this once before, but
forgot it ;-)
Regards, alux
On 12 Apr., 13:34, "Kevin" wrote:
> > import javax.sound.sampled.*;
>
> > ...
>
> > Line.Info li = new Line.Info(Object.class);
>
> > My
ybody see what I'm doing wrong here?
Beside, ist there a way to access the Java class in a direct way, like
the Java literal Object.class ?
Thank you, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, s
Thank you! Nice step by step intro.
Regards, alux
On 9 Apr., 06:04, "Mike T. Miller" wrote:
> Adam Smyczek's "Introduction to Monads" video is now available.
>
> http://www.youtube.com/user/LinkedInTechTalks?feature=mhw5#p/u/0/ObR3...
>
> I'll work
Hello,
if I include the follwing lines in my maven pom, shouldn't I have some
line editing stuff (like cursor up or so) even in Emacs' eshell?
(I ask because this is the only shell I get an keyboard echo.)
jline
jline
0.9.9
Thank you, alux
--
You received this message b
It took me a while to find time to try again.
I now removed any dependency to incanter - the problem obviousely
hasn't to do with it.
So I "moved" the request to the plugin group.
Kevin, thank you for you response, it wasnt "noise" at all ;-)
Regards, alux
On 23 Mr
Addendum: After about a day of CPU time most of the refs are at 9 or
10 with their history length.
a.
On 28 Mrz., 14:18, alux wrote:
> Hi,
>
> I played with Richs ant colony these days, and want to report about
> experience with 4 cores.
>
> First I didn't want my com
e of reaching the
default :max-history (the default is 10).
This is what I want to share, maybe its of help to somebody.
Kind regards, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@google
e I do non commuting
stuff ;-)
Second wrongly assumed (in-ns xxx) needs no quoted name.
So now it works (as it did before), but now I even see it working.
Thank you for the help and a nice sunday.
alux
On 28 Mrz., 05:01, Michał Marczyk wrote:
> On 27 March 2010 22:25, alux wrote:
>
&
know where I have to look for a solution?
Many thanks, alux
--
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 w
Really no ideas?
Hm.
I dont know what to do too.
Reagrds, alux
--
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
e are echoed to the shell only after I hit
Enter. So thats not really a usable REPL.
Anybody heard about that and has a solution?
Many thanks, alux
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
stuff
under the hood. (The best way I know to learn this is still Rich
Hickeys videos.)
Dont know whether thats been helpful, but I cant do more.
Kind regards, alxu
Ryan Teo schrieb:
> Hi alux, Andrej,
> Thanks!
> I'm still trying to understand how STM works in Clojure, so I would
Thank you Stuart,
this closes some of my thinking loops.
Greetings from Europe, alux
Stuart Sierra schrieb:
> Maven has a default search path, but it only works for the standard
> plugins distributed by Apache.
>
> To use the Clojure plugin (any of the clojure:* commands) the po
Hi Andrzej,
I'm not a Petri net specialist too, but I dont see how one could
simulate the view of a Clojure programmer onto STM, without simulation
too the stuff programmers doesnt see: Richs under-the-hood-magic.
Regards, alux
Andrzej schrieb:
> On Mon, Mar 22, 2010 at 4:36 AM, alu
i net tool for nets colored with Clojure.
But thats another topic ;-)
Regards, alux
--
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 modera
Hello Stuart,
yes, thats not in. I'm not enough into maven to know where the plugins
have to be specified. I had the hope that maven searches its
repository, when I call a specific goal of the form xxx:yyy - so this
hope was in vain?
Thank you for the comment.
Regards, alux
Stuart S
Thank you Rob, emacs and slime already works if kept for semselves.
What doesnt work is the maven integration, so I can start the swank
server in a certain project.
Regards, alux
Rob Wolfe schrieb:
> alux writes:
>
> > Okay. So I switched to version 23.1. that had already be
I actually dont understand where this file and date comes from. I
dont see it in the source tree of the plugin.
Thanks for the help and greetings,
alux
Mark Derricutt schrieb:
> The plugin is in central, tho you need to declare it in your project as
> outlined in the README:
>
>
>
Okay. So I switched to version 23.1. that had already been installed.
AFAIK it uses all the things I installed the last days. Or do I have
to update some other stuff?
Thank you for the hints, alux
Phil Hagelberg schrieb:
> On Sat, Mar 20, 2010 at 12:46 PM, alux wrote:
> > As far as I u
Hi Mark,
sound plausible. But what should I do now? If there is any way to tell
maven what it should use, I'd be happy. Preferred in settings.xml, so
i can use it in every project.
Thank you, alux
Mark Derricutt schrieb:
> If this was a fresh project with no plugins defined, maven would
EMacs versions. So which Emacs version do you use?
Thank you, alux
--
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
But even if I delete it, and do
mvn -o clojure:swank
I get the same error.
Black maven magic. ;-(
Regards, a.
alux schrieb:
> deleting it doesnt help, it seems to be reloaded when I run
> clojure:swank
>
> a.
>
>
>
> alux schrieb:
> > So, I found a file:
&
deleting it doesnt help, it seems to be reloaded when I run
clojure:swank
a.
alux schrieb:
> So, I found a file:
>
> %repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata-
> central.xml
>
> containing
>
>
>
> org.apache.maven.plugins
> maven
So, I found a file:
%repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata-
central.xml
containing
org.apache.maven.plugins
maven-clojure-plugin
No, I dont know where it comes from.
a.
alux schrieb:
> Hm.
>
> It cant be an incanter problem. In an empty directo
] BUILD ERROR
[INFO]
[INFO] The plugin 'org.apache.maven.plugins:maven-clojure-plugin' does
not exist
or no valid version could be found
...
I dont knwo what to do.
Thanks & regards, alux
alux schrieb:
>
Um, thats been copy and paste, yes.
(side remark, I read on about the plugin, and now I installed the
needed swank file too)
Thanks and greetings, alux
liebke schrieb:
> Ah, you're right, only the bin/swank script calls maven the clj and
> clj.bat scripts are stand-alone, I th
swank in the directory
modules/incanter-app
failed.
So I'm still stuck with your tutorial. Is there any way to add an
entry in my maven settings file, so the clojure plugin is always
found?
Thank you, alux
liebke schrieb:
> There are two solutions to your problem, 1) use the bin/cl
enough. Seems I need to do more to the plugin than mvn install. Do I
have to put some entries in the incanter pom, or in my myvan init
file?
Thank you for you answer, alux
Meikel Brandmeyer schrieb:
> Hi,
>
> On Sat, Mar 20, 2010 at 04:56:39AM -0700, alux wrote:
>
> >
Hello Christophe, this one I like ;-)
Thanks & regards, alux
Christophe Grand schrieb:
> If you really wan't to go that way you can also choose to remove the
> namespaces:
> (defn describe-path [[where what]]
> (map (comp symbol name) `(there is a ~what going ~where from
And array-get seems to be aget by now.
a.
Jarkko Oranen schrieb:
> On Mar 20, 1:52 pm, Glen Rubin wrote:
> > Hey all,
> >
> > I am working through the problems on project euler. On question
> > number 11 (http://projecteuler.net/index.php?section=problems&id=11),
> > I was unable to come up wit
Hi Glen,
it's lazy-seq now.
Regards, alux
Glen Rubin schrieb:
> Hey all,
>
> I am working through the problems on project euler. On question
> number 11 (http://projecteuler.net/index.php?section=problems&id=11),
> I was unable to come up with a solution, so I chea
lugin 'org.apache.maven.plugins:maven-clojure-plugin' does
not exist
or no valid version could be found
I dont know where to search for a solution, so I ask here.
Thanks for any help,
alux
--
You received this message because you are subscribed to the Google
Groups "Clojure&quo
;-)
I'm still at letter b in clojure.core. Grin. Regards, a.
Meikel Brandmeyer schrieb:
> Hi,
>
> On Fri, Mar 19, 2010 at 11:00:34AM -0700, alux wrote:
>
> > spels=> (make-array (.getClass "") 2 )
> > #
> > spels=> (def arr (make-array (.getCla
pels=> (aset arr 1 "c:\\config.sys")
"c:\\config.sys"
spels=> (.exec (Runtime/getRuntime) arr)
Greezs, alux
Tim Daly schrieb:
> The call I coded works if you only pass a string with no spaces.
>
> However, if the string has spaces there is no result.
> If you br
Ah, brilliant, many thanks Laurent!
Interesteresting stuff under the hood ..
Kind regards, alux
Laurent PETIT schrieb:
> hi, follow links from here:
> http://www.infoq.com/news/2009/12/clojure-11-rc1-transients
>
> chunked sequences have their first elements realized in advanced by
Laurent,
> Could chunked seqs explain something here ?
sounds possible. If I only knew what this is ;-)
Regards, alux
Laurent PETIT schrieb:
> 2010/3/19 alux :
> > ;-)
> >
> > Still, I dont believe.
> >
> > I get the same difference with
>
t point for the iterate as response to your mail.
Thats why now both starts with 0 as argument, and 1 as result. But the
range one waits some five sec, the iterate doesnt.
Sorry for the confusion. And thanks for the patience ;-)
Kind regards, alux
PS.: A correct Fibonacci sequence would use (&l
JC Petkovich, thank you. I couldnt see your message before March 19,
6:00 group time, i.e. 13:00 UTC, but thats exactly the solution that
was needed.
Regards, alux
JC Petkovich schrieb:
> You just needed to edit your translation from CL a bit more, there
> were some extra brackets in y
3 21 34 ...)
Hm.
Regards, alux
Meikel Brandmeyer schrieb:
> Hi,
>
> On Mar 19, 12:34 pm, alux wrote:
>
> > You didnt try this, as I can judge, because you responded in finite
> > time ;-)
>
> Ah, yes. Intersperse with (take 10 ...) at will. :)
>
> > My
The call to a static method is special, try
(.exec (Runtime/getRuntime) "ls")
Regards, alux
TimDaly schrieb:
> (defn cmdresult [cmdstr]
> (let [args (into [] (seq (.split cmdstr " ")))]
> (BufferedReader.
> (InputStreamReader.
> (. (.
1 - 100 of 126 matches
Mail list logo