I'm a little past the absolute-newb stage (also came from .NET), but I
recently came upon *Programming in Clojure* by Mark McDonnell
(https://leanpub.com/programming-clojure/), and appreciated how succinct,
clear and yet (relatively) comprehensive it is. I'd recommend it highly as
a first text
One language detail that took me a while to get the hang of at first was
destructuring (fm args, let blocks, etc.) I had never encountered anything like
it before in other languages and it took me a while to memorize all the
different variations. It is awesome powerful but alien at first.
Getti
Dang autocorrect: fm -> fn
--
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 unsubscribe from this
I try to get my hands on as many resources from the above as possible. I
often found some (generally more advanced) works not to dwelve enough into
some intricate, but essential, topics which were better covered in other
resources. Also, the toolset evolves quickly so online resources are
indis
Many people say that the *Joy of Clojure* is best for fine details and all
that, and there's something right about that claim. However, *Clojure
Programming* covers some fine details that *Joy *doesn't even mention, even
in the 2nd edition (e.g. important aspects of Java interop). I suspect
t
All the above suggestions are good. In addition, I've learned a lot by
doing the problems at 4clojure.com.
BUT after you solve a problem, the real learning starts. You then get
access to other people's solutions. (You get to choose whose answers get
listed, and some of the best programmers are
maybe this is helpful to beginners:
Clojure By Example: https://kimh.github.io/clojure-by-example/
Marcus Blankenship 于2015年9月11日周五 上午12:08写道:
> This was a great resource to me, as were the other LispCast videos. I
> found them easy to follow, and really helped me think about things from
> first
This was a great resource to me, as were the other LispCast videos. I found
them easy to follow, and really helped me think about things from first
principles, which are really important to understand the idioms.
http://www.purelyfunctional.tv/intro-to-clojure
On Sep 10, 2015, at 9:02 AM, Ela
A coworker of mine asked me for suggestions yesterday after starting
directly with Joy of Clojure as if it were an intro text for himself and
getting lost after getting halfway through. Even though this coworker of
mine is pretty experienced over many years -- and has programmed in C++,
Java, Pyth
Learning Clojure is not so much about learning the language's features,
it's about learning how Clojure's particular combination of features causes
you to think about software development in a new way. Living Clojure is a
new-ish book that points you at a number of small programming "code kata"
ch
In my opinion the best book for the 'fine details' of the language is going
to be http://www.joyofclojure.com/ . It's not usually recommended as the
introductory text, for that you might be better off with clojure
programming: http://www.clojurebook.com/ or 'programming clojure':
https://pragprog
Hi,
I'm new to the Clojure programming language and I was wondering if anyone
might be able to suggest a good way to learn the fine details of the
Clojure language? I'm thinking of trying my hand at writing a compiler in
Clojure, just as a thought exercise. I'm not 100% sure what a good use cas
http://www.try-clojure.org/
I hear it's not always working, but it seems to be up now.
On Mar 22, 4:55 pm, Kyle Cordes wrote:
> On Tuesday, March 22, 2011 at 7:16 AM, André Branco wrote:
>
> Hi!
>
> > A good collection of resources:
> >http://learn-clojure.com/
>
> Thanks for the mention (that's
On Tuesday, March 22, 2011 at 7:16 AM, André Branco wrote:
Hi!
> A good collection of resources:
> http://learn-clojure.com/
Thanks for the mention (that's my site). By the way, I'm on the lookout for any
other really good materials to help people get started. It's tempting to add
every resourc
Hi!
A good collection of resources:
http://learn-clojure.com/
You may also trying solving this:
Ninety-Nine Lisp Problems
http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html
Regards,
André.
On Mar 20, 8:08 pm, Ent SaaS wrote:
> Hi,
>
> I would
Hi,
Depending on your level of Lisp expertise, I'd suggest digging into Clojure
frameworks like Ring or Compojure.
You might find the books on Clojure interesting ("Practical Clojure",
"Programming Clojure", "The Joy of Clojure", "Clojure in Action").
The latter two are work in progress (however,
Hi,
I would like to learn Clojure from a practical project approach. Where can I
find resources?
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 from new memb
(require 'clojure.contrib.seq-utils)
(defn word-count [s]
(frequencies (re-seq #"[a-zA-ZöäüÖÄÜß]+" s)))
(word-count "foo bar baz quux quux foo")
; {"quux" 2, "baz" 1, "bar" 1, "foo" 2}
Matt
On Mar 25, 4:09 pm, jfr wrote:
> Thanks I will take a look at it .Neverless, the idea was to write my
Ok, I just looked at "frequencies" as Miki suggested.
(reduce #(assoc %1 %2 (inc (get %1 %2 0))) {} ["One" "Two" "Two"
"Three" "Three" "Three"])
would be more like it. Thanks for the infos...
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
Thanks I will take a look at it .Neverless, the idea was to write my
own code ;-)
> You can also use "frequencies" from c.c.seq-utils (http://
> richhickey.github.com/clojure-contrib/seq-api.html#clojure.contrib.seq/
> frequencies)
>
> HTH,
> --
> Miki
--
You received this message because you ar
jfr wrote:
> Hello,
>
> I've just started to play a little bit with clojure to get a feel for
> the language. It seems to be quite interesting (and it's a relief to
> leave my clumsy IDE behind and use Emacs). Concerning immutable data:
> Is the following code ok or should (must) I use transients
Hello,
> (defn count-words [words]
> "Counts the occurrences of all words in the given string. Returns a
> map with the words as keys, their frequency as values"
> (loop [my-words (re-seq #"[a-zA-ZöäüÖÄÜß]+" words) word-map {}]
> (if (empty? my-words)
> word-map
> (recur (rest
Looks fine. The maps are immutable, but the 'word-map symbol is
rebound on each loop to the map returned from merge-with.
On Mar 24, 2:15 pm, jfr wrote:
> Hello,
>
> I've just started to play a little bit with clojure to get a feel for
> the language. It seems to be quite interesting (and it's a
Hello,
I've just started to play a little bit with clojure to get a feel for
the language. It seems to be quite interesting (and it's a relief to
leave my clumsy IDE behind and use Emacs). Concerning immutable data:
Is the following code ok or should (must) I use transients as
variables for the lo
24 matches
Mail list logo