I suspect this...
Var struct = RT.var("clojure.core", "struct","employee :diego 10 :coach
1000");
isn't doing what you think it will. That will set the root binding of
clojure.core/struct to the string you gave it. you probably want to get the
var for the struct function, and then invoke it
On Thu, 2011-10-13 at 21:38 -0700, mmwaikar wrote:
> Most of the examples I see about using the lazy-seq fn. make use of cons to
> build the list (or a seq).
>
> Can we not use lazy-seq with a conj? And why?
Not really.
user=> (clojure-version)
"1.3.0"
user=> (do (cons 88 (map prn [4 6])) nil)
On Thu, 2011-10-13 at 21:41 -0700, Dave Sann wrote:
> Hi all, this may be a very simple question but I have not been able to find
> any docs that help me
I suggest http://dev.clojure.org/display/design/defrecord
+improvements#defrecordimprovements-Generatedfactoryfunctions .
> (defrecord R [a b
Hi all, this may be a very simple question but I have not been able to find
any docs that help me
(defrecord R [a b c])
Is there something equivalent to:
(def r (apply R. ["a" "b" "c"]))
available? (without writing macros?)
(in practice the list would be generated by some other function - say
Hi,
Most of the examples I see about using the lazy-seq fn. make use of cons to
build the list (or a seq).
Can we not use lazy-seq with a conj? And why?
If it possible to use lazy-seq with a conj, then an example would be great.
Thanks,
Manoj.
--
You received this message because you are subs
I am trying to run "CRUD in clojure" 2010 and I get this problem
lein uberjar
Some problem ?
Any help thanks
Exception in thread "main" java.lang.Exception: Unable to resolve
symbol: PK♥♦¶
t↕N? in this context (core.clj:1)
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Micr
On Thu, Oct 13, 2011 at 4:51 PM, Bruce Gordon wrote:
> I'm trying to install Clojure following the directions at
> http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html . I'm
> installing on SimplyMepis. I've installed the sun JDK and can verify
> the installation with the following:
Those
Hi guys,
I’m trying to call Clojure from Java(I already managed to do it
compiling Clojure using :gen-class ).
I want call Clojure using Java without compiling Clojure… I’m having
issues with my structs they are not behaving in the way that I want, I
tested the Clojure code on REPL and it seems
I'm trying to install Clojure following the directions at
http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html . I'm
installing on SimplyMepis. I've installed the sun JDK and can verify
the installation with the following:
[root@mepis1 clojure]# java -version
java version "1.6.0_26"
Java(T
Hi,
If no one steps forward and if this lib has some future
I can do it for next Thursday, it looks small enough to fit migration and in
that time frame.
I need an approved name and the usual stuff (github repo, hudson built setup,
...)
Should I repost to clojure-dev ?
Looks like I am about t
You can see the redirect with:
wget http://clojure.org/
-S
--
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 yo
ClojureScript can access globals via js/foo. You can easily interact with
your existing codebase using this simple feature. For example:
(ns foo.bar)
(def j js/jQuery)
(.text (j "div#foo") "jQuery works!")
Were you looking for something more sophisticated then this?
David
On Wed, Oct 12, 2011
Hi,
I can do Benford's law.
See you on suday,
Samuel
On Thu, Oct 13, 2011 at 10:02 AM, Bruce Durling wrote:
> I probably won't be able to make it this weekend, but if someone wants
> to implement Benford's Law, that would be cool.
>
>
> http://econerdfood.blogspot.com/2011/10/benfords-law-and-de
Howdy
This particular story starts with vast existing code base using
jQuery. We'd love to switch to ClojureScript given its pure
awesomeness, but we still have to somehow cope with the existing bits,
at least to maintain the same look&feel.
Is there any good approach to invoke jQuery functionali
On Thu, Oct 13, 2011 at 11:19 AM, ffailla wrote:
> Does anyone now if clojure.contrib.except being ported to the new
> contrib? Thanks.
So far no one has volunteered to maintain it so the question hadn't come up...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
typo: try https://github.com/clojure/data.codec
On Oct 10, 6:31 pm, Alexander Taggart wrote:
> Base64 decoding support has been added.
>
> http://github.com/ataggart/clojure.data.codec
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this
Does anyone now if clojure.contrib.except being ported to the new
contrib? Thanks.
Frank Failla
--
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
0.2.0 Released
Made a new API namespace called "dj"
Now all the utilities I think users would typically need are in this
namespace. This also allowed me to clean up the core code since it doesn't
cater to the users anymore.
The functions currently are:
get-classpaths
get-current-classloader -
Ryan Senior has put together an excellent post on appendo - a relation from
core.logic. Highly recommended.
http://objectcommando.com/blog/2011/10/13/appendo-the-great/
David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, sen
Also fixed in master.
On Tue, Oct 11, 2011 at 9:17 AM, David Nolen wrote:
> Looks like a bug, ticket created -
> http://dev.clojure.org/jira/browse/CLJS-85
>
>
> On Tue, Oct 11, 2011 at 2:16 AM, Praki wrote:
>
>> In Clojure (read-string ":a:b:c") returns :a:b:c (a keyword with two
>> embedded c
Fixed in master.
On Wed, Oct 12, 2011 at 2:22 PM, David Nolen wrote:
> Thanks for the report, CLJS-62 reopened,
> http://dev.clojure.org/jira/browse/CLJS-62
>
> David
>
> On Wed, Oct 12, 2011 at 2:10 PM, Praki wrote:
>
>> I am running into a problem with memoized functions in ClojureScript.
>>
On Oct 12, 6:25 pm, Sean Corfield wrote:
> Can someone provide a tried and true navigation path that shows this
> problem?
I don't think so, and that's what makes it so strange.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group,
Sorry I meant "Fair enough ..."
Cheers,
Ivan.
On 13 October 2011 12:41, Ivan Koblik wrote:
> Fail enough. I guess, to allow nested spawning and avoid deadlocks, tasks
> should finish without waiting for the result but spawn a new task similar to
> itself that would check for the completion of
Fail enough. I guess, to allow nested spawning and avoid deadlocks, tasks
should finish without waiting for the result but spawn a new task similar to
itself that would check for the completion of the child tasks, repeating the
cycle if necessary.
Imagine that task t1 is monitored through a future
Hi,
Don't disagree about MS Access but it's a useful simple tool some times...
The code is:
(defn get-target
[bu measure year]
(with-connection db
(with-query-results rs ["Select Period_Month, Target From Targets_Qry
Where BU_ID = ? And Measure_Code = ? And Period_Year = ?" bu measure yea
I probably won't be able to make it this weekend, but if someone wants
to implement Benford's Law, that would be cool.
http://econerdfood.blogspot.com/2011/10/benfords-law-and-decreasing-reliability.html
cheers,
Bruce
On Mon, Oct 10, 2011 at 21:44, Ben Evans wrote:
> Hi,
>
> There is an Incante
Looking at the log seems like MS Access doesn't support prepared statements.
It shouldn't have anything to do with jdbc.
--
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
27 matches
Mail list logo