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,
end *a lot* of time studying other people's 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,
>>
>
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 pu
> 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
http://www.gettingclojure.com/notes:clojure-notes-l
ot;newcomer-hostile"? (See my post,
which is part of this thread:
http://groups.google.com/group/clojure/browse_thread/thread/f97699164e9be29e/a9b91350905109b1?lnk=gst&q=Gregg+Williams#a9b91350905109b1
)
For future reference: I invite you to be less dismissive of someone
who would li
> 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 wha
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 wrote:
> Sorry, the elisp got scrambled in the p
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
Good 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 wrote:
> I suppose the noob tag is appropriate ie I was around so
w them code that promotes
their understanding, right now; once they understand, show them how to
"collapse it down" into the code that dazzles.
In the movie "Annie Hall," Woody Allen said something like, "A
relationship is like a shark. It has to be constantly moving
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 wrote:
> On
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 Interf
nal post, please post it here. Don't consider this
reply to mean that I feel the thread 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 be
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 lear
I'm writing again to report on the community's interest in my previous
post. Two people expressed an interest in providing modest amounts of
time to make a community-supported Clojure magazine (or magazine-like
entity) happen; one of them has significant technical editing skills
himself. So we've g
ot;Reply to
author".
To start, I'd need 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
wrote:
> Hi there,
> Is there something like Doc
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 t
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.
macs
>> 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
http://www
> > one you are running into, the path/file separator differences.
>
> > I've just pushed my best guess at a fix for windows to the windows
> > branch here:http://github.com/GeorgeJahad/cdt
>
> > Can you try doing a:
> > git fetch
> > git checkout wind
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:\tech>java -
ag
d no one can edit it but you!
I'm extremely open to changing the site, so 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 hackin
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 (
t out. 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 wrote:
> This weekend I've been diving head-first into Clojure, and I've documented a
> lot of the sticking points th
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 progra
Have you ever wanted to abandon a simple program with a bug that has
been DRIVING YOU CRAZY because it's just got to be something SO
simple, you'd be embarrassed to admit that you didn't see WHAT WAS
STARING YOU IN THE FACE all along? Well, this is mine:
(ns org.InfoML.genclassObject
(:gen-class
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; thanks.
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 working
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. M
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 {
priva
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 http://www.piccolo2d.org/learn/interface.h
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 http://www.piccolo2d.org/learn/interface.
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 clojure@googlegroups
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
37 matches
Mail list logo