Hi Ambrose,
I haven't been exposed to logic programming besides the examples David
posted to the list. I found your tutorial very easy to follow and to read. I
have two minor nit-picks.
1. I understand, that these o, e and some third, I think, suffixes are
there historically. And for
Also check this great online introduction (targeting 1.0):
http://java.ociweb.com/mark/clojure/article.html
--
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
Hi Meikel,
Excellent feedback, exactly what I need. See replies inline.
On Tue, Jul 19, 2011 at 2:27 PM, Meikel Brandmeyer m...@kotka.de wrote:
Hi Ambrose,
I haven't been exposed to logic programming besides the examples David
posted to the list. I found your tutorial very easy to follow
Sean's remark is right for writing code, but not really relevant for
pretty printed data structures. The pretty printer will either avoid
(foo a followed by a line break or fill that line full. (By default,
for lists it breaks the lines and for vectors it fills them.)
While there's no way to just
On Jul 18, 2011, at 11:06 PM, Ken Wesson wrote:
Or, the traditional thing: full control, but tab or something will
reindent the current line, or all lines intersecting the selection if
any, to structurally-correct positions based on all of the code above,
if tab is hit outside a string
Hi,
Am Dienstag, 19. Juli 2011 08:42:47 UTC+2 schrieb Ambrose Bonnaire-Sergeant:
Is this easier on the eyes?
https://gist.github.com/1091495
Ah! Much better! :D
Meikel
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Thinking of operations on collections to replace iteration is
productive, but alas, I'm new to it. I'm looking for a way to count
the number of occurrences of each and every character in str1 that
occurs in str2, so that
(count-all abc abracadabra)
will give
8
which is the count of characters
Hi,
how about this: (count (filter (set abc) abracadabra))?
Sincerely
Meikel
--
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
- I wish that Swing was prettier on the eye. I love nice GUIs.
Me too. I think in the long run the coolest thing will be an in-
browser clojure IDE for clojure-in-javascript, especially when multi-
threaded javascript becomes available in web browsers.
Maybe you should drop Swing and start
On Jul 19, 2011, at 3:54 AM, Clojure Neophyte wrote:
Again, for Clojure to have wider adoption it should have a beginners' IDE. It
shouldn't be distributed just as jar files.
FWIW I just double-clicked on the clooj jar and it launched like any other
application -- I didn't have to know
Thanks guys!
On Tue, Jul 19, 2011 at 11:57 AM, Sergey Didenko
sergey.dide...@gmail.comwrote:
Also check this great online introduction (targeting 1.0):
http://java.ociweb.com/mark/clojure/article.html
--
You received this message because you are subscribed to the Google
Groups Clojure
On Mon, Jul 18, 2011 at 1:36 PM, TimDaly d...@axiom-developer.org wrote:
Robert Martin argues that Clojure could be the seed of the last
programming language.
http://skillsmatter.com/podcast/agile-testing/bobs-last-language
I don't see how that claim can be drawn from the textual content on
start with:
http://java.ociweb.com/mark/clojure/article.html (free)
then proceed with:
practical clojure http://www.apress.com/9781430272311
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
nice name ! thanks again for new ide
--
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
On 18 Lug, 18:40, Arthur Edelstein arthuredelst...@gmail.com wrote:
Hi Tamreen,
On Jul 18, 5:38 am, Tamreen Khan histor...@gmail.com wrote:
It's a little confusing to see what's normally the text for the prompt,
user=, be in the window that shows the result. Why can't both the prompt
and
On Tue, Jul 19, 2011 at 6:54 AM, daly d...@axiom-developer.org wrote:
Watch the video.
What video? The only video I see linked from there is over an hour
long. Obviously you can't mean that one, since no one around here has
that kind of spare time at this hour on a Tuesday. :)
--
Protege: What
tl;dw spoiler alert:
The trailing conclusion of the video is that Clojure
could be the seed of the last programming language.
The video reprises Gabriel's paper of the same title.
Bob Martin reminds me of James Martin from the 70s,
for those of us old enough to remember him. I wonder
if they
Maybe. Or maybe Martin's talk should be entitled
The Last Programming Language To Get Any Mind-Share.
On Jul 19, 3:42 am, Steven Tomcavage ste...@tomcavage.com wrote:
I double we'll ever see The Last Programming Language, because we're
all hackers and we all have a notion that things could be
On Tue, Jul 19, 2011 at 4:52 AM, Ken Wesson kwess...@gmail.com wrote:
On Mon, Jul 18, 2011 at 1:36 PM, TimDaly d...@axiom-developer.org wrote:
Robert Martin argues that Clojure could be the seed of the last
programming language.
Cool project, especially if it manages to *stay* lightweight :)
It is indeed difficult to build a console with Swing's text
components. Actually, I think it's difficult with the out-of-the-box
text components in just about any toolkit. They're not designed for it
and there are a ton of edge cases
The website claims that the talk starts at 6:45 pm EDT, but I suspect that the
technical content actually starts at 7:00.
Stu
awesome!! looking forward to the talk.. like everybody else, I think it will
be great to have the time and time-zone info posted..
Sunil.
On Mon, Jul 18, 2011
On Tue, Jul 19, 2011 at 6:00 AM, Adam Richardson simples...@gmail.com wrote:
Watch the video and you'll see the comment Tim is referencing.
Are you aware of the length of that video?
--
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language
On Tue, Jul 19, 2011 at 2:27 AM, Meikel Brandmeyer m...@kotka.de wrote:
Hi Ambrose,
I haven't been exposed to logic programming besides the examples David
posted to the list. I found your tutorial very easy to follow and to read. I
have two minor nit-picks.
1. I understand, that these
I find his videos very easy to watch - I think it was around a hour, but the
time flies by.
On 19 July 2011 14:16, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 19, 2011 at 6:00 AM, Adam Richardson simples...@gmail.com
wrote:
Watch the video and you'll see the comment Tim is referencing.
On Tue, Jul 19, 2011 at 10:05 AM, Colin Yates colin.ya...@gmail.com wrote:
I find his videos very easy to watch - I think it was around a hour, but the
time flies by.
An hour of Will Smith blasting aliens flies by. An hour of a talking
head is better presented as text. An hour of talking head +
On Tue, Jul 19, 2011 at 16:11, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 19, 2011 at 10:05 AM, Colin Yates colin.ya...@gmail.com wrote:
I find his videos very easy to watch - I think it was around a hour, but the
time flies by.
An hour of Will Smith blasting aliens flies by. An hour of
Quite - you don't get the ants in your pants vibe from plain text :)
On 19 July 2011 15:18, Ben Smith-Mannschott bsmith.o...@gmail.com wrote:
On Tue, Jul 19, 2011 at 16:11, Ken Wesson kwess...@gmail.com wrote:
On Tue, Jul 19, 2011 at 10:05 AM, Colin Yates colin.ya...@gmail.com
wrote:
I
I search on JIRA, but as far as I know there is no issue discussed in
this thread.
Is it an issue that (resolve 'clojure.core) throws an exception?
Thanks.
--
Name: OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com
--
You received this message because you are subscribed to the Google
I'm currently reading Joy of Clojure and I definitely like it.
What do folks think about Let Over Lambda by Doug Hoyte? I realize
that it focuses on Lisp, but will it have any useful information for
Clojure programmers?
Thanks,
Kevin
--
You received this message because you are subscribed to
Let Over Lambda is more a collection of advanced and narrow tricks
that a experienced Lisper would find interesting (and maybe useful).
It assumes you know the good practices already, and then proceeds to
break them for awe and effect. I would not suggest it to a newcomer.
-Patrick
On Jul 19,
There is also this nice online introduction for absolute beginners to
Clojure and Lisp:
Guide to Programming in Clojure for Beginners
http://blackstag.com/blog.posting?id=5
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
this made me lol :D
a big will smith fan??? not that i know you at all other than reading
your posts here, but i really didnt see that coming...
On Tue, Jul 19, 2011 at 9:11 AM, Ken Wesson kwess...@gmail.com wrote:
An hour of Will Smith blasting aliens flies by. An hour of a talking
head is
Depending on what you want to know about lisp I would recommend:
Learning lisp: Practical Common Lisp
This is an excellent text for people who are Java programmers.
Really learning lisp: Let Over Lambda
This will give you ways to think about Lambda as the
fundamental mechanism. Let is
The Blackstag Blog Post # 5 - Guide to Programming in Clojure for
Beginnershttp://blackstag.com/blog.posting?id=5
--
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
FWIW I just double-clicked on the clooj jar and it launched like any other
application -- I didn't have to know that it was a jar or even what a jar is.
Assuming that this also works on other OSes (I'm using Mac OS X) then I think
this is already beginner friendly. I *think* it also
Hi Dave,
Cool project, especially if it manages to *stay* lightweight :)
Thanks -- I hope it will! :)
* You might want to take a look at JSyntaxPane
(https://code.google.com/p/jsyntaxpane/) for the editor. In theory
adding Clojure syntax highlighting should be straightforward and they
In the project.clj I made a mistake, it should be
(defproject Test 1.0.0-SNAPSHOT
:dependencies [[org.clojure/clojure 1.3.0-beta1]
[org.clojure/clojure-contrib 1.2.0]
:dev-dependencies [[lein-eclipse 1.0.0]]
)
I've tried with the standalone contrib and any other variations
That works well. Thank you very much!
Tuba
On Jul 19, 1:47 am, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
how about this: (count (filter (set abc) abracadabra))?
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
Hi, all.
I try to use fnparse library for creating translator which is built on
parser-combinators and I have question: what is the correct approach to
keep intermediate result of translation? Can I use for this purpose state
object?
For example, see code [1] for parsing simple arithmetical
On Tue, Jul 19, 2011 at 9:19 AM, Foge kevin.seraf...@gmail.com wrote:
I'm currently reading Joy of Clojure and I definitely like it.
+1 for the Joy of Clojure. I am really enjoying reading it. It's a
book that assumes you know what you're doing, which is very much
welcomed.
--
You received
On Jul 19, 1:06 am, Sean Corfield seancorfi...@gmail.com wrote:
On Mon, Jul 18, 2011 at 8:01 PM, Felix Filozov ffilo...@gmail.com wrote:
Clojure in Action - http://www.manning.com/rathore/
And there is also an upcoming web course based on this book.
On Mon, Jul 18, 2011 at 5:14 PM, abp abp...@googlemail.com wrote:
Why is it necessary to press TAB at all? Couldn't auto-indent be the
default for a line and only manually reindented lines opt-out until
one opts in again using TAB or something?
If I add an expression around existing code, I
- Practical Clojure (APress) is an excellent reference book. I use it all
the time + the clojure cheat sheet.
- Programming Clojure is good to start with, but I really didn't like all
the Lancet stuff that was included as example.
- Joy of clojure: Great. But not easy (was my third book).
Clojure in Action seems to be a great start if you have some
experience with Java.
On Jul 18, 10:59 am, Teena Mathew mathewteen...@gmail.com wrote:
Hey!
Which are the recommended books for Clojure newbie?
Thanks!
Teena
--
You received this message because you are subscribed to the Google
David Nolen dnolen.li...@gmail.com writes:
Hi David,
I highly recommend checking this out if you're curious about
core.logic, https://github.com/frenchy64/Logic-Starter/wiki
I've just read it, and I think I've grasped most of it although my last
prolog encounter is quite some time back. But
Hi, all.
I try to use fnparse library for creating translator which is built on
parser-combinators and I have question: what is the correct approach
to keep intermediate result of translation? Can I use for this
purpose state object?
For example, see code [1] for parsing simple arithmetical
On Tue, Jul 19, 2011 at 3:31 PM, Tassilo Horn tass...@member.fsf.orgwrote:
David Nolen dnolen.li...@gmail.com writes:
Hi David,
I highly recommend checking this out if you're curious about
core.logic, https://github.com/frenchy64/Logic-Starter/wiki
I've just read it, and I think I've
Changes in 0.0.5:
* Add prepare-statement function to ease creation of PreparedStatement
with common options:
- see docstring for details
* with-query-results now allows the SQL/params vector to be:
- a PreparedStatement object, followed by any parameters the SQL needs
- a SQL query string,
On Tue, Jul 19, 2011 at 12:03 AM, Tom Faulhaber tomfaulha...@gmail.com wrote:
Sean's remark is right for writing code, but not really relevant for
pretty printed data structures. The pretty printer will either avoid
(foo a followed by a line break or fill that line full. (By default,
for lists
On Tue, Jul 19, 2011 at 4:50 AM, Ken Wesson kwess...@gmail.com wrote:
What video? The only video I see linked from there is over an hour
long. Obviously you can't mean that one, since no one around here has
that kind of spare time at this hour on a Tuesday. :)
Yes, an hour. It's an excellent
On Tue, Jul 19, 2011 at 10:08 AM, ron peterson
peterson.ron...@gmail.com wrote:
In the project.clj I made a mistake, it should be
(defproject Test 1.0.0-SNAPSHOT
:dependencies [[org.clojure/clojure 1.3.0-beta1]
[org.clojure/clojure-contrib 1.2.0]
I'm pretty sure you can't
Hi guys,
I want to test some code that throws exceptions, but I don't want exceptions
to be thrown in the console.
Is there a way to do that with *is* function?
What is the best way to test my code with try-catch blocks?
--
You received this message because you are subscribed to the Google
Yup, this should do the trick:
(defn only-odds
[x]
{:pre [(odd? x)]}
x)
(deftest only-odds-test
(is (thrown? AssertionError (only-odds 2)))
(is (= 1 (only-odds 1
On Tue, Jul 19, 2011 at 4:48 PM, Jonathan Cardoso
jonathancar...@gmail.comwrote:
Hi guys,
I want to test some
On Jul 19, 1:23 pm, Sean Corfield seancorfi...@gmail.com wrote:
On Tue, Jul 19, 2011 at 4:50 AM, Ken Wesson kwess...@gmail.com wrote:
What video? The only video I see linked from there is over an hour
long. Obviously you can't mean that one, since no one around here has
that kind of spare
What's this awk-a-mel he speaks of? Ocaml, pronounced oh-camel, I
know very well, but I've never heard of this awk-a-mel. :-)
Seriously, his pronunciation of ocaml highlights, I think, the core
problem of his talk. There has been significant development in
languages, just not in the popular
On Jul 19, 3:23 pm, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced oh-camel, I
know very well, but I've never heard of this awk-a-mel. :-)
Seriously, his pronunciation of ocaml highlights, I think, the core
problem of his talk. There has been
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced oh-camel, I
know very well, but I've never heard of this awk-a-mel. :-)
Seriously, his pronunciation of ocaml highlights, I think, the core
problem of his talk. There
It is an object extension to the AWK programming language :-)
On Tue, 2011-07-19 at 19:31 -0400, Adam Richardson wrote:
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced
oh-camel, I
know very
On Jul 19, 2011, at 4:24 PM, Sean Corfield wrote:
On Tue, Jul 19, 2011 at 10:08 AM, ron peterson
peterson.ron...@gmail.com wrote:
In the project.clj I made a mistake, it should be
(defproject Test 1.0.0-SNAPSHOT
:dependencies [[org.clojure/clojure 1.3.0-beta1]
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced oh-camel, I
know very well, but I've never heard of this awk-a-mel. :-)
Seriously, his pronunciation of ocaml highlights, I think, the core
problem of his talk. There
On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote:
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced
oh-camel, I
know very well, but I've never heard of this awk-a-mel. :-)
Thanks for the tips, Phil! This may be somewhat of a newbie question,
but what's the best way to modify lein-nailgun and include that local
fork in my project using leiningen?
On Jul 17, 9:49 pm, Phil Hagelberg p...@hagelb.org wrote:
On Sun, Jul 17, 2011 at 8:37 AM, Phil Hagelberg
On Jul 19, 2011, at 3:48 PM, Jonathan Cardoso wrote:
Hi guys,
I want to test some code that throws exceptions, but I don't want exceptions
to be thrown in the console.
jcrit.server= (use 'midje.sweet)
jcrit.server= (fact
(f) = (throws NullPointerException))
On Tue, Jul 19, 2011 at 9:04 PM, daly d...@axiom-developer.org wrote:
On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote:
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt bhur...@gmail.com wrote:
What's this awk-a-mel he speaks of? Ocaml, pronounced
oh-camel, I ...
Thank's a lot. That's exactly what I was looking for and didn't realize
there was a thrown? function in the API =S
Thanks.
--
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
On Tue, 2011-07-19 at 22:27 -0400, Adam Richardson wrote:
On Tue, Jul 19, 2011 at 9:04 PM, daly d...@axiom-developer.org
wrote:
On Tue, 2011-07-19 at 20:14 -0400, Adam Richardson wrote:
On Tue, Jul 19, 2011 at 6:23 PM, Brian Hurt
bhur...@gmail.com wrote:
Hmmm, looking back at the code, I see that I mis-remembered the fact
that lists and vectors were different. They both (along with maps)
will break rather than fill. Arrays and sets both fill rather than
break.
I'm not sure how much logic there is around this. It just fit my
intuition about how
Hi,
In larger Clojure projects with nested namespaces I've found there are
less namespace pollution issues if I avoid (ns... :use...) forms in
preference to (ns... :require...) forms. This approach sometimes
leads to namespace constructs like:
(ns myfuns
(:require
[foo.baz.a :as a]
Stu,
Try:
(ns myfuns
(:require
(foo.baz [a :as a]
[b :as b]
[c :as c]))
Cheers,
- Chas
On Jul 20, 2011, at 12:36 AM, stu wrote:
Hi,
In larger Clojure projects with nested namespaces I've found there are
less namespace pollution issues if I avoid
On Tue, Jul 19, 2011 at 5:14 PM, Adam Richardson simples...@gmail.com wrote:
the value placed on the last language being
homoiconic (without much justification)
Yeah, that was definitely a weak point of his talk. I thought there
was a lot of interesting stuff in there tho' and it was
On Tue, Jul 19, 2011 at 4:57 PM, Chas Emerick cemer...@snowtide.com wrote:
Depends on what you're using out of contrib 1.2.0. There are a number of
namespaces that do not run afoul of the changes in Clojure 1.3.0.
Good to know some parts do work. So far every 3rd party project I've
tried to
71 matches
Mail list logo