Thanks a lot David. As much as I'd like to contribute, I've only just
started looking into logic programming.
Stathis
On Wednesday, 19 September 2012 17:42:09 UTC+1, David Nolen wrote:
>
> On Wed, Sep 19, 2012 at 11:11 AM, Stathis Sideris
> >
> wrote:
> > Hello,
> >
> > Is there a way to negat
> ... JIRA ... The contributions we've received so far have been stellar -
so I'm inclined to think the "barrier" is an illusion.
> Yes it would, but by and large the users of ClojureScript are Clojure
users. So we haven't seen much real interest in this yet.
Basically, what You are saying is
Hi all,
this may sounds like a silly question but I have to ask it!
Let's assume there are 2 nested opportunities for parallel execution of
some code...so for example I've got a genetic algorithm (scoring the
organisms can be run in parallel) and some reducers code that does the
actual minima
On Thursday, September 20, 2012, Alexey Petrushin wrote:
> > ... JIRA ... The contributions we've received so far have been stellar -
> so I'm inclined to think the "barrier" is an illusion.
>
> > Yes it would, but by and large the users of ClojureScript are Clojure
> users. So we haven't seen muc
Stuart:
Regarding making clojure.test/clojure.string/etc. contrib libraries, does
it make sense to also move clojure.core to a "contrib" style library. The
idea here would be that "Clojure 1.6" is the bundling of all smaller
Clojure lib/contrib subsets, whose version number is always in sync
i stumbled upon this:
http://page.mi.fu-berlin.de/prechelt/phonecode/
the results:
http://page.mi.fu-berlin.de/prechelt/Biblio/jccpprt_computer2000.pdf
summary: concise languages bashed c, c++ and java if you look at the time
needed to complete the program. however, in 1999, there were no good id
On Thu, Sep 20, 2012 at 10:52 AM, Dennis Haupt wrote:
> i stumbled upon this:
> http://page.mi.fu-berlin.de/prechelt/phonecode/
>
> the results:
> http://page.mi.fu-berlin.de/prechelt/Biblio/jccpprt_computer2000.pdf
>
> summary: concise languages bashed c, c++ and java if you look at the time
> ne
what i am really interested in is the time necessary to finish the task.
i'll probably need to modify the requiremet so the participants cannot
cheat - or i'll allow cheating deliberately and say "this is the result
under optimal conditions" (meaning the raw coding time is measured, no
debugging, f
This problem would be ideally suited for core.logic except because of the
"hint" (http://page.mi.fu-berlin.de/prechelt/phonecode/hint2.html) you'd
need to do something far more ugly.
On Thursday, September 20, 2012 5:07:52 PM UTC+2, David Nolen wrote:
>
> On Thu, Sep 20, 2012 at 10:52 AM, Dennis
sal writes:
> i am able to run clojure-jack-in and start swank server
Are you able to use the repl?
> , but never see the
> command slime-mode, slime-connect in emacs.
Not sure what you mean by this. Are these commands not available once
the repl is running? The jack-in process is responsible
On Thu, Sep 20, 2012 at 1:19 PM, Jules wrote:
> This problem would be ideally suited for core.logic except because of the
> "hint" (http://page.mi.fu-berlin.de/prechelt/phonecode/hint2.html) you'd
> need to do something far more ugly.
The solution I came up with doesn't attempt to encode the en
gaaah you almost made me read it
Am 20.09.2012 19:19, schrieb Jules:
> This problem would be ideally suited for core.logic except because of
> the "hint" (http://page.mi.fu-berlin.de/prechelt/phonecode/hint2.html)
> you'd need to do something far more ugly.
>
> On Thursday, September 20, 2012 5:0
How about trying:
nrepl-jack-in
This is working good here, at least from within a leiningen project.
Regards,
Greg
On Saturday, September 15, 2012 2:39:36 AM UTC-4, sal wrote:
>
> Hi Everyone,
> Trying to setup emacs 24.2 on mac osx clean setup, nothing else.
>
> clojure-mode 20120808..
On Wednesday, September 19, 2012 10:52:26 AM UTC+1, Patrik Sundberg wrote:
>
> On Tuesday, September 18, 2012 10:10:35 PM UTC+1, hutch wrote:
>>
>>
>> On 2012-09-16, at 3:21 PM, Patrik Sundberg wrote:
>>
>> I'm asking myself though if there's a more functional design for
>> accomplishing the sa
Heyya, thanks for your help so far on this. See comments inlined...
On Thu, Sep 20, 2012 at 2:40 AM, Tassilo Horn wrote:
> Timothy Washington writes:
>
> > (defun nrepl-jack-in (prompt-project)
> > (interactive "P")
> > *=>*(let* ((cmd (if prompt-project
> >
> >
> >
> >
> >
> >
i came to a correct solution without that hint :)
just like in reality, i started coding without reading the spec. a few
surprises came along the way ("what? they want it like this? they just
added this to mock me!")
i spent about 50% of the time writing code and 50% thinking about it.
i'll tell m
I create a ref to an array:
(def r (ref (make-array Integer/TYPE 5)))
(type @r) -> [I
Then, I try to alter the array:
(dosync
(alter r aset-int 0 9))
I would then expect to be able to write (aget @r 0) and get result of 9,
but what actuall happens is that r becomes reference to java.lang.Lo
It would be really interesting to see a course about Clojure on
coursera.org, where a Scala and functional programming course just started
https://class.coursera.org/course/progfun
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this grou
his seems strange to me:
We're trying to call the submit(Callable) method on the ExecutorService,
passing in a Clojure function.
First of all we use an executor in a global def, and submit a function, and
it appears to use the submit(Runnable) method i.e. we're getting nil
instead of the resul
Piotr:
The most direct answer to your specific question is that aset-int modifies the
array, and returns the value 9. The return value 9 is what the ref r is being
set to after the (dosync (alter ...)) call.
However, there is a bigger issue here. Even if you replace aset-int with a
different
Timothy Washington writes:
>> I suspect you have some old version laying around somewhere. Please
>> do `M-x list-load-path-shadows RET' and check if there's some entry
>> like
>>
>> /foo/bar/nrepl hides ~/.emacs.d/elpa/nrepl-0.1.4/nrepl
>>
>> *The result of this is: *
>
> *No Emacs Lisp load-
21 matches
Mail list logo