On Monday, September 24, 2012 3:04:42 AM UTC-7, Mond Ray wrote:
>
>
> As you can see the REPL gives me an error stating that the keys must be
> Integers. Is that right? Or is my call process faulty?
>
>
I think the problem is that wish-lists is a vector, so you need a key for
the vector first
The challenge of learning Clojure as a first language is that:
1. Some of the best learning resources for Lisp-like languages are books
that use the Scheme dialect of Lisp. If you know what you're doing, you
can translate all those ideas to Clojure, but the correspondence might not
be so obvious t
On Tue, Sep 25, 2012 at 1:53 AM, James Hess wrote:
> Hi experienced clojure gurus,
> According to VisualVM 24% of my time is spent in
> clojure.lang.Keyword.hashCode. I'm sure I am doing something wrong (i.e. I'm
> not blaming clojure's implementation). Is this an indication that I'm using
> keyw
Yes (definitely not brainfuck), but I would recommend not starting with
something with ugly syntax like C, C++, Perl, or PHP (and many others, I'm
sure) these days. Something friendlier and dynamic like Clojure is an
excellent idea. Two alternatives I'd give a non-programmer are Python and
Ruby.
C
basically anything except brainfuck is a good idea :)
Am 26.09.2012 06:45, schrieb Leonardo Borges:
> Hi Gregorius!
>
> I think Clojure is a great way to start to learn to program! Clojure
> is a flavour of lisp and so is Scheme - which has been used for
> decades to teach programming to MIT unde
Hi Gregorius!
I think Clojure is a great way to start to learn to program! Clojure
is a flavour of lisp and so is Scheme - which has been used for
decades to teach programming to MIT undergrads.
In terms of resources on learning functional programming I think The
Little Lisper is a terrific book:
Hi,
I am happy to announce the release of two database libraries:
1. Clj-DBCP 0.8.0 for JDBC connection pooling:
https://github.com/kumarshantanu/clj-dbcp
2. Clj-Liquibase 0.4.0 for database migration:
https://github.com/kumarshantanu/clj-liquibase
Both libraries have been significantly enhan
I'm just starting with ClojureScript and I've noticed a couple odd
behaviors with regular expressions, which I assume are bugs.
The first has to do with non-greedy (reluctant) quantifiers. The following
regexes work fine:
ClojureScript:cljs.user> (re-matches #"a?b?" "a")
"a"
ClojureScript:cljs.
Hi,
I have two questions about the reasons behind the design of Clojure's
software transactional memory (STM):
(1) Why is snapshot isolation the default rather than linearizability? For
those who don't know, the difference between the two guarantees is that
snapshot isolation requires all read
Hi,
It seems the JVM doesn't provide any support for coroutines, generators,
light-weight threads, or non-reusable continuations. I can't find any
mention of coroutines in the docs, so I'm guessing Clojure doesn't have
them due to the lack of JVM support. Is that correct?
Warren
--
You recei
For anyone stumbling upon this question - it was answered on the Liberator
Github repository, at
https://github.com/clojure-liberator/liberator/issues/6
James
On Wednesday, 19 September 2012 14:05:08 UTC+1, Hussein B. wrote:
>
> Hi,
>
> I want to migrate this code written in Bishop REST framewo
is there some sort of categorised list/wiki that we can add to for new
libraries?
--
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
Hello Clojurists!
I'm a person in middle age (you know, too old to rock'n'roll, to young to
die) and would like to programm but starting with functional programming.
Regarding this i have some questions:
is clojure a good start to learn programming?
which (prerfer free online) is a good tut to
I am playing around with maps and using wish lists as a learning tool. I
have a list of items in wish lists like this:
user=> items
[{:name "Item 1", :cost 20.0} {:name "Item 2", :cost 40.0}]
user=> wiggle-items
[{:name "Wiggle 1", :cost 20.0} {:name "Wiggle 2", :cost 40.0} [:name "Item
3" :cos
New Yorkers! Skills Matter is organising its first, annual Clojure eXchange
in New York. Join Stuart Sierra, Russ Miles, Paul DeGrandis, Chas Emerick
and Uncle Bob Martin for an intensive and highly interactive day on all
things Clojure. If you would like to join us at the Ace Hotel THIS MONDA
> Anyway, is there a dedicated mailing list to discuss this book?
>
See the homepage: http://www.clojurebook.com/
--
Blog: http://programmablelife.blogspot.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo
Hi experienced clojure gurus,
According to VisualVM 24% of my time is spent in
clojure.lang.Keyword.hashCode. I'm sure I am doing something wrong (i.e.
I'm not blaming clojure's implementation). Is this an indication that I'm
using keywords too much or something like that? Have other people ran i
Getting your machine set up to write Clojure is humorously easy. First,
the good stuff:
$ brew install clojure
$ brew install leiningen
Then, you'll want to get the VimClojure plugin. This enables syntax
highlighting, file type recognition, etc. Assuming you're using Pathogen:
$ cd ~/.vim/b
>
> I have to assume you have a def of "a" lying around from previous
> experimentation. This isn't valid otherwise.
>
> --Aaron
>
Whew... this seemed too crazy to be true, but it makes sense now. False
alarm! Thanks!
Alex
--
You received this message because you are subscribed to the Goo
On Tue, Sep 25, 2012 at 4:58 PM, Alex Dowad wrote:
> Does anyone know what's going on here?
>
> user=> (let [a 1] (eval 'a))
> 1
I have to assume you have a def of "a" lying around from previous
experimentation. This isn't valid otherwise.
--Aaron
--
You received this message because you are s
On 25.09.2012 23:58, Alex Dowad wrote:
> Does anyone know what's going on here?
>
> user=> (let [a 1] (eval 'a))
> 1
> user=> (ns another-ns)
> nil
> another-ns=> (let [a 1] (eval 'a))
> CompilerException java.lang.RuntimeException: Unable to resolve symbol:
> a in this context, compiling:(NO_SOUR
Does anyone know what's going on here?
user=> (let [a 1] (eval 'a))
1
user=> (ns another-ns)
nil
another-ns=> (let [a 1] (eval 'a))
CompilerException java.lang.RuntimeException: Unable to resolve symbol: a
in this context, compiling:(NO_SOURCE_PATH:41)
If let-bound locals were treated as symbol
Trying to stick to a bi-monthly release cycle, we announced version 0.4.0
today: http://bit.ly/immutant040
In a nutshell, Immutant is an application server for Clojure. It's an
integrated platform built on JBoss AS7 that aims to reduce the inherent
accidental complexity in real world applicatio
There are still places left for the September Clojure Dojo (tonight!)
and the London Clojurians talk on Cascalog and Hadoop at Skills Matter
(next Tuesday!). Details below.
cheers,
Bruce
On Wed, Sep 12, 2012 at 3:35 PM, Bruce Durling wrote:
> Roll up! Roll up!
>
> After being hosted by Forward i
24 matches
Mail list logo