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
Hi--
The code in question is a solution to http://www.4clojure.com/problem/58
(write a function that does function composition, without using 'comp').
The solution I'm trying to understand is by amalloy:
(defn mycomp [ fs]
(reduce (fn [f g]
#(f (apply g %)))
fs))
For
@Dru, I feel I'm ahead of you in learning Clojure, but I'm not yet to where
@Colin is. However, I'm close enough that I recognize how accurate and
concise his advice is--in fact, I'm saving it to remind myself!
Also, I just finished reading Functional Programming Patterns in Scala and
Clojure,
solutions, looking at
both the factors of elegance and readability in solutions.
do you have any good projects/solutions recommended?
在 2014年5月28日星期三UTC+8上午3时15分37秒,Gregg Williams写道:
Hi, Randy,
I'm several years into learning Clojure. Here's what has worked for me:
* Use either Light Table
Hi, Randy,
I'm several years into learning Clojure. Here's what has worked for me:
* Use either Light Table or (if you're determined) Emacs as your IDE.
* I learned a lot from taking this free online course:
http://iloveponies.github.io/120-hour-epic-sax-marathon/index.html
* I have *all* the
Please understand that these are* personal notes* and as such are very,
very messy.
http://seanneilan.com/Clojure.html
In a similar vein, I posted three pages of (early) notes on working
with the labrepl tutorial environment, starting at
I think the big problem, is that Clojure makes a big deal about being
Simple. That is, avoiding unneeded complexity, but then throws its
users into the sea of complexity that is Java. If I want to write
arbitrary binary data to a file, I really don't want to take the time
to learn what a
is part of this thread:
http://groups.google.com/group/clojure/browse_thread/thread/f97699164e9be29e/a9b91350905109b1?lnk=gstq=Gregg+Williams#a9b91350905109b1
)
For future reference: I invite you to be less dismissive of someone
who would like to be of help. To quote from the abovementioned thread:
I
George, I don't know why it works (my init.el file doesn't seem to
mess with anything), but adding that code to the end of init.el makes
things work. You're doing great things for the Clojure community--many
thanks!
On Jan 27, 7:27 pm, George Jahad cloj...@blackbirdsystems.net wrote:
Sorry, the
Hi--After several attempts, I've gotten CDB working...sort of, and I'm
stuck.
Following the example on http://georgejahad.com/clojure/swank-cdt.html,
I execute the following:
(use 'clojure.set)
(use 'swank.cdt)
(set-bp clojure.set/difference)
which execute OK. When I execute:
user (difference
Hello! As a beginning Seesaw user, I had the same trouble. Here is a
solution that I just confirmed as working:
$ cd seesaw/src
$ lein deps
$ lein run -m seesaw.examples.kitchensink
(in the last line, note the omission of ...test. ...)
Dave, thanks for all your work. One small problem: you've
luck with your project--I'd like to see a project of
that size recoded in Clojure!
Gregg Williams
http://www.GettingClojure.com
Info and forums for people who aren't Clojure experts...yet!
On Jun 4, 12:24 am, Daniel doubleagen...@gmail.com wrote:
I suppose the noob tag is appropriate ie I
forward
or it dies. I think this is true for a programming language as well,
and I think that moving forward means growing the user base.
I've *been* saying yes to newcomers--go to http://www.GettingClojure.com
--but I need your help.
Are you ready to say yes...to newcomers?
Gregg Williams
manager
This is good advice, but I can't parse 1a after the phrase or maybe,
and I'm not sure about 1b. Can you reword them, making it clearer when
you're using a Clojure keyword? I want to be sure I understand what
you're saying--it sounds insightful! Thanks.
On May 11, 9:09 pm, Ken Wesson
I have been using a longstanding, well-supported Java 2D drawing
toolkit called Piccolo2D (http://www.piccolo2d.org/index.html). Here
is some text from its home page:
-
Piccolo2D is a toolkit that supports the development of 2D structured
graphics programs, in general, and Zoomable User
Having worked with Clojure for over a year, I can sympathize with
Clojure beginners (like myself) who find it extremely difficult to do
simple things with Clojure. (It took me weeks to get Clojure working
with Emacs, Swank, and the Clojure Debugging Toolkit, but I'm
persistent.)
Now this. I'm
is finished!
---
Gregg Williams, gregg AT-SIGN GettingClojure DOT-SIGN com
http://www.GettingClojure.com: because we're *all* still learning
Clojure!
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email
authors, reviewers, people with ideas for content--
and maybe an administrator/logistics person. Who's interested?
Best wishes,
Gregg Williams
On Mar 13, 5:30 pm, Andreas Kostler andreas.koestler.le...@gmail.com
wrote:
Hi there,
Is there something like Doctor Dobbs Journal for Clojure/Lisp
I hope everybody is having a good weekend (esp. after Thanksgiving in
the US).
Has anybody been successful using Emacs to create an environment where
you can set a break statement and, when it is hit, you have REPL
access to the program's current environment at the point of the break?
I've tried
Hi--I'm on Mac OS X Snow Leopard, and I'm going crazy trying to get a
slime server running (I've done it successfully before, on both OS X
and Windows). Leiningen is installed and running. Here's a completely
new terminal window:
-
Last login: Sun Nov 21 21:25:14 on ttys000
You have mail.
You going to do some speech recognition in Clojure?
Unfortunately, no. I just have some hand RSI problems, and I use
Dragon NaturallySpeaking for writing e-mails and documenting Clojure
code. You can see an example of the notes I've taken while going
through the labrepl exercises at
Thanks for your ridiculously long instructions on using cdt; I
appreciate your thoroughness.
I'm working on the %$#...@^@! Windows platform (Windows XP, to be
precise), and I'm unable to set cdt-source-path in my .emacs file.
I can get my Clojure REPL to start just fine:
C:\techjava -
doing a:
git fetch
git checkout windows
from within your cdt repo, and see if that works any better for you?
Thanks!
On Oct 9, 11:31 pm, Gregg Williams greg...@innerpaths.net wrote:
Thanks for your ridiculously long instructions on using cdt; I
appreciate your thoroughness.
I'm
please share your ideas in
the Suggestions for This Site section of the forum, or write me at
gregg4 at-sign GettingClojure dot-sign net. I'd love to hear from you!
Thanks for listening, and good hacking!
Gregg Williams
GettingClojure.com site manager
--
You received this message because you
Daniel (and anyone else reading this)
I would like to correspond with you because I'm working on a project
for which your word graphing is a subset. I invented a
standardized electronic notecard (see http://infoml.org), with the
idea that writers and others could dump chunks of information (with
. I want to help create the beginner's site I never
had! (More content coming from me, but slowly)
--Gregg Williams
On Jun 27, 2:58 pm, Greg g...@kinostudios.com wrote:
This weekend I've been diving head-first into Clojure, and I've documented a
lot of the sticking points that I've run
Okay...eleven days later and I've finally got something that works!
You can find a fully working Clojure version of GraphEditor.java at
http://gist.github.com/398198
Clojure beginners, there is a lot you can learn from comparing the
Java and Clojure versions of this program (though Clojure
Alex, thanks for your two posts and for taking the time to look at the
original source code. Some comments:
Re: Integer being final. Actually, I remembered that...and then
forgot. Tired? Clueless? You decide.
I'm going to fold your observations into a new test program to see
what happens;
Hi--another example, another failed attempt to do something that looks
quite basic (grumble, grumble) ...
I'm continuing on my path to learning how to use Clojure with the
graphics library Piccolo2D (http://www.piccolo2d.org) by re-
implementing some of Piccolo2D's sample programs. Now I'm
Many thanks to Meikel Brandmeyer, whose code (after a one-character
typo correction) worked the first time. As soon as I saw it, I
understood every line of it; the problem was, it wouldn't have
occurred to me to put all those elements (which, individually, I
understood) together in just that way.
Since my last post, I've implemented and successfully run everything
in this sample program except the ToggleShape class, and I absolutely
cannot figure out how to use proxy correctly. Here's the Java code
that I'm trying to re-create in Clojure:
class ToggleShape extends PPath {
Hi--I'm continuing on my path to learning how to use Clojure with the
graphics library Piccolo2D (http://
www.piccolo2d.org) by re-implementing some of Piccolo2D's sample
programs. This time, I'm working on the Building the Interface
program described at
Thanks for the help! I found and corrected a few more errors. You can
see the final result with documentation, at http://gist.github.com/354147
.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Hi-- I'm trying to write a GUI-based Java program from within Clojure,
and I'm using an interesting library called Piccolo2D (http://
www.piccolo2d.org). The worldwide intersection of Clojure and
Piccolo2D is probably *me*, but I'm hoping that someone here can point
me in the right direction.
I'm
34 matches
Mail list logo