On Friday, May 4, 2012 4:56:03 AM UTC+3, dirtyvagabond wrote:
>
> Anyone know of a Clojure library to parse SQL statements? If not, would it
> be sane to build one using parsec?
if there is no Clojure lib, you always may use Java lib.
i relatively successfully tried : http://jsqlparser.sour
What browser are you using? I don't think browser-repl works in IE at the
moment.
--
Dave
--
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 -
Hmm wasn't aware of that if true. Should definitely open up a ticket for
that.
On Thursday, May 10, 2012, David Powell wrote:
> What browser are you using? I don't think browser-repl works in IE at the
> moment.
>
> --
> Dave
>
> --
> You received this message because you are subscribed to the
On Thu, May 10, 2012 at 11:44 AM, David Nolen wrote:
> Hmm wasn't aware of that if true. Should definitely open up a ticket for
> that.
>
Hmm the latest version seems to work on IE9 at least. I had trouble with
it in the past though. I think the latest change to serve the page from
the browser-
I can describe the background to understand my last email.
>From the programming point of view, I have been told since yesterday
that what I explained has already been explained better in "Stream
Fusion From Lists to Streams to Nothing at All" from Coutts
Leschinskiy and Stewart:
metagraph.org/pa
Hello group,-
I've been getting into the Clojure / Lisp territory slowly for the
past few months. When learning a new language, I get the most out of
first comprehending the general design principles and philosophy, and
then working down to concrete code.
What's funny is that appreciating Clojure
Good article, thanks for sharing!
An interesting angle to ponder is how Lisp and the Human Mind share
linked lists as a basic data structure. Remember how you had memorized
the ABC?
FP taught me how you can also build other data structures out of
linked lists, skip lists anyone?
Now take a look at
http://search.maven.org/#artifactdetails%7Corg.clojure%7Cclojurescript%7C0.0-1211%7Cjar
Change list: http://build.clojure.org/job/clojurescript-release/11/
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@
Good to hear.
On Thursday, May 10, 2012, David Powell wrote:
>
>
> On Thu, May 10, 2012 at 11:44 AM, David Nolen
>
> > wrote:
>
>> Hmm wasn't aware of that if true. Should definitely open up a ticket for
>> that.
>>
>
> Hmm the latest version seems to work on IE9 at least. I had trouble with
>
Hi,
I have downloaded and unzipped Clojure 1.4.0 but when trying "java -cp
clojure-1.4.0.jar clojure.main" as stated on the getting started page
I get the following.
D:\Profiles\rcarthur\My Documents\Clojure1_4\clojure-1.4.0>java -cp
clojure-1.4.0.jar clojure.main
Exception in thread "main" java.
I'm looking for folks to help me kick the tires and push this project
forward:
https://github.com/michaelsbradleyjr/node-clojurescript
http://search.npmjs.org/#/clojure-script
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, s
I'm with you Christian,
maybe a code example would be very helpful.
Thank you guys,
Nico
2012/5/10 Christian Romney
> I would be indebted to you if you could point me in the direction of the
> reading material necessary to follow this discussion. I'm afraid I'm
> currently out of my depth, but
I'm working with leiningen for the first time and trying to use
clojure.java.jdbc. All the docs I see use 'sql' before the jdbc
commands. How do I set up the sql symbol. Nothing I've tried seems to
work.
Bill
--
You received this message because you are subscribed to the Google
Groups "Clojure"
Looks neat.
Any reason to call the module clojure-script instead of just clojurescript?
David
On Thu, May 10, 2012 at 2:38 AM, Michael Bradley, Jr. <
michaelsbradle...@gmail.com> wrote:
> I'm looking for folks to help me kick the tires and push this project
> forward:
>
> https://github.com/mic
Just gave it a shot, works! Would be nice if it gave some feedback that it
was compiling / recompiling.
David
On Thu, May 10, 2012 at 2:38 AM, Michael Bradley, Jr. <
michaelsbradle...@gmail.com> wrote:
> I'm looking for folks to help me kick the tires and push this project
> forward:
>
> https:/
*A new release 0.3.5:*
--Now you can run a task with user@host rather than a pre-defined cluster
by:
lein control run user@host task args
*Upgrade:*
lein plugin install control 0.3.5
2012/5/10 dennis zhuang
> Clojure-control: a clojure DSL for system admin and deployment with many
>
If you are working from the repl, use:
(require '[clojure.java.jdbc :as sql])
Or use a similar require declaration in your ns header.
(ns example.whatever
(:require [clojure.java.jdbc :as sql]))
--
Dave
--
You received this message because you are subscribed to the Google
Groups "Cloju
Hi Jeff,
What do you think about a Map interface for this?
I recently implemented something similar in a project of mine, which I
called an 'evaluating-map'. It's not a Web project, but the pattern is a
general one. In my case, a DSL for specifying a job to run. I want the
DSL writer to have a
On 05/10/2012 03:53 AM, Zeno wrote:
trying "java -cp clojure-1.4.0.jar clojure.main" as stated
You need to specify the full path to clojure.jar (probably ./clojure.jar,
if you're in that directory). You could also put "." in your classpath,
but that's not recommended (can cause flakey prob
Thanks for the feedback.
>An interesting angle to ponder is how Lisp and the Human Mind share
> linked lists as a basic data structure. Remember how you had memorized
> the ABC?
That's true - even though my recollection of the alphabet is patchy,
letters always occur in groupings. Specifically, '
Four reasons, all interrelated. Whether they're good reasons, I'm not 100%
positive, but felt this was the way to go:
*1.* The "coffee-script" package on npm is one of my favorites, and was
the inspiration for my "clojure-script" package. Thus, I wanted the package
names to resemble one anothe
Sure, maybe a "spinner" or something like that.
However, many use cases would exclude displaying such an indicator, e.g. if
you're sending the compiled text to stdout, running a .cljs script directly
or some other script that uses Node's `require` to load a .cljs script,
etc. That is, in those
Marc,
Nicely done! I've done something similar before as well.
This was basically my point earlier: Dispatch tables (and maps in
general), unification, and closures seem to solve the same problem,
are composable, don't introduce nouns/types/metaphors, are open for
extension and closed for modifi
On Thursday, May 10, 2012 8:02:09 AM UTC-4, Nicolas Oury wrote:
>
> I can describe the background to understand my last email.
Thank you very much for taking the time to post all of that–I've got some
reading to do for sure.
--
You received this message because you are subscribed to the Go
Also you generally don't invoke the clojure jar directly. Instead have lein
do that for you.
http://www.unexpected-vortices.com/clojure/brief-beginners-guide/development-env.html#clojure-projects
On Thursday, May 10, 2012 4:53:51 AM UTC-4, Zeno wrote:
>
> Hi,
> I have downloaded and unzipped Cl
Clojure/core wants to take our training course on the road this summer! We
are looking for the cities that are the most interested in learning more
about Clojure so we can bring our training there. I've posted more details
about the roadshow on our blog, at:
http://clojure.com/blog/2012/05/07/c
I took the steps from your README.md and it seems like something's
missing :( see below
Bost
bost@bost-desktop:~/dev$ rm -rf mycontrol/
bost@bost-desktop:~/dev$ lein1 version
Leiningen 1.7.1 on Java 1.7.0_04 Java HotSpot(TM) Client VM
bost@bost-desktop:~/dev$ lein1 plugin install control 0.3.5
[I
Hi all,
I am battering my head against the following problem which I'm sure is
straightforward if only I knew how. I want to partition the following
list:
'("aa123" "x" "y" "z" "bb123" "ccq23" "3" "yg")
into the following:
(("aa123" "x" "y" "z") ("bb123") ("ccq23" "3" "yg"))
The predicate is:
I put an issue [clj-989] about an out of date link clojure. It doesn't seem
like anyone payed any attention to it yet. Is there a way I can be more
active in making these changes such as having permission to modify the
website?
--
You received this message because you are subscribed to the Goo
After posting, I had the idea of checking out the source for partition-
by, and solved the problem:
(defn partition-when
"Applies f to each value in coll, splitting it each time f returns
the specified value. Returns a lazy seq of partitions."
[f value coll]
(lazy-seq
(when-let [s (s
> (when-let [s (seq coll)]
> (let [run (cons (first s) (take-while #(not= value (f %)) (next
> s)))]
> (cons run (partition-when f value (seq (drop (count run) s
> )
> )
> )
> )
...
> What test?
(seq coll) is the test here. when-let (and if-let, etc) bind only when
the r
(seq coll) is the test, if the collection is empty seq returns nil, hence
nothing gets done
in the (let ...) form.
Luc
> After posting, I had the idea of checking out the source for partition-
> by, and solved the problem:
>
> (defn partition-when
> "Applies f to each value in coll, splittin
https://github.com/flatland/useful/blob/develop/src/useful/seq.clj#L189
is a more general version of partition-by, which can easily handle
your requirements.
On May 10, 2:11 pm, Ant wrote:
> Hi all,
>
> I am battering my head against the following problem which I'm sure is
> straightforward if on
On May 10, 3:19 pm, Jack Moffitt wrote:
> > (when-let [s (seq coll)]
> > (let [run (cons (first s) (take-while #(not= value (f %)) (next
> > s)))]
> > (cons run (partition-when f value (seq (drop (count run) s
> > )
> > )
> > )
> > )
> ...
> > What test?
>
> (seq coll) i
A minor update that includes a performance tweak for large result sets
(thank you Jürgen Hötzel) and a small API change - exposing
do-prepared-return-keys - to make life easier for the Korma team.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC.
IMO, Nicolas' material is a distraction in understanding reducers, except as
historical background.
The reducers library is a rejection/avoidance of the primacy of
recursively/generatively defined data structures and the operations thereon.
I recommend, rather than reading about stream fusion,
On 10 May 2012 19:57, Chris McBride wrote:
> Also you generally don't invoke the clojure jar directly. Instead have lein
> do that for you.
> http://www.unexpected-vortices.com/clojure/brief-beginners-guide/development-env.html#clojure-projects
No, please stop. Zeno, you MUST get the "java -cp cl
I am sorry, 0.3.5 will break the example with only :clients in cluster.
I've push 0.3.6 to clojars, upgrade control by:
lein plugin install control 0.3.6
Sorry for this issue,thanks.
2012/5/11 Rostislav Svoboda
> I took the steps from your README.md and it seems like something's
> missing :(
I updated the link for you.
On Thursday, May 10, 2012 5:03:26 PM UTC-5, Brent Millare wrote:
>
> I put an issue [clj-989] about an out of date link clojure. It doesn't
> seem like anyone payed any attention to it yet. Is there a way I can be
> more active in making these changes such as havin
On Thu, May 10, 2012 at 4:56 PM, Rostislav Svoboda
wrote:
> No, please stop. Zeno, you MUST get the "java -cp clojure-1.4.0.jar
> clojure.main" working! It is the very core the life and the universe.
I'm sorry but that's a silly comment.
Starting with Leiningen instead of downloading the Clojure
40 matches
Mail list logo