On Oct 26, 4:48 pm, Michael Fogus mefo...@gmail.com wrote:
I've given edit rights to organizers and people on this thread, so
please feel free to make additions and modifications. :-)Please add me to
ClojureScript
Heroku Drinkup
Literate Programming
The web and Clojure
Also add a new
Try
http://en.wikipedia.org/wiki/Literate_programming
or the original paper
www.literateprogramming.com/knuthweb.pdf
or from the master himself:
http://www-cs-faculty.stanford.edu/~uno/lp.html
Tim Daly
On Wed, 2011-10-26 at 19:49 -0700, jaime wrote:
is there a place introducing (e.g.
Tim,
I recall that at some point you described your setup for doing Clojure
literate programming, and if I recall correctly, you were primarily
working in LaTeX, relying on incremental compilation to test little
snippets of code as you wrote them.
Have there been any new developments on the
The dir macro is quite picky in what it accepts as arguments. Try:
(dir user)
(dir clojure.core)
On Thu, Oct 27, 2011 at 10:57 AM, jaime xiejianm...@gmail.com wrote:
Hi there, when I tried to execute (dir *ns*) in REPL, I found it
doesn't work -- with exception of:
Exception No
dir is a macro. It doesn't evaluate its arguments. So when you say
(dir *ns*), Clojure sees: show me what's in the namespace named
*ns*, and there is no such namespace because *ns* is the name of a
variable which contains the name of the current namespace.
Dir is this way because for interactive
Hi!
I recently upgraded my Linux distribution and while everything regarding
Clojure, Leiningen, Emacs and my project should be like it was before,
but I get the following error when trying to test my website project in
a browser:
---
HTTP ERROR 500
Problem accessing /. Reason:
Directory
Hello Thorsten,
are you sure you used OpenJDK before the upgrade? I remember having
problems with OpenJDK + AppengineMagic which were resolved by switching to
Sun's JDK (this was on Ubuntu 10.04).
Cheers
Paul
On Thu, Oct 27, 2011 at 13:29, Thorsten Wilms t...@freenet.de wrote:
Hi!
I
Oh yes you guys are right. I should have look at the source first:
(defmacro dir
Prints a sorted directory of public vars in a namespace
[nsname]
`(doseq [v# (dir-fn '~nsname)]
(println v#)))
from it, we can see the quote thing. Thank you all. I got it now!
On Oct 27, 5:12 pm, Ben
On 10/27/2011 02:45 PM, Paul Koerbitz wrote:
are you sure you used OpenJDK before the upgrade? I remember having
problems with OpenJDK + AppengineMagic which were resolved by switching
to Sun's JDK (this was on Ubuntu 10.04).
Switching to Oracle's version fixed it.
I must have had it
Hi All -
Do any of you happen to know if Counterclockwise supports the
development of apps using ClojureScript?
Thanks!
Base
--
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
On Thu, 2011-10-27 at 00:17 -0700, Mark Engelberg wrote:
Tim,
I recall that at some point you described your setup for doing Clojure
literate programming, and if I recall correctly, you were primarily
working in LaTeX, relying on incremental compilation to test little
snippets of code as
At the REPL in Emacs, shouldn't the following code allow me to type
something followed by [Enter] and then shouldn't it print my input back out?
(println (read-line))
When I enter this at the prompt, I immediately see the following. It
doesn't wait for input.
user (println (read-line))
nil
On Thu, Oct 27, 2011 at 11:32 AM, Andrew ache...@gmail.com wrote:
At the REPL in Emacs, shouldn't the following code allow me to type
something followed by [Enter] and then shouldn't it print my input back out?
(println (read-line))
When I enter this at the prompt, I immediately see the
I would gladly pay for such a thing to materialize on my screen; if it only
took money to get that, I'm sure we'd all be willing to finance such an
effort however we can.
On Thursday, October 27, 2011 1:58:52 PM UTC-4, TimDaly wrote:
So imagine a world where the eloquence of Rich Hickey was
Thank you for your persistence on this subject : I'm sure that I'm not
the only lurker on this list that you manage to get interested in LP.
I wanted to share two thought that I had when looking at your LP take
on Clojure code :
1°) The infrsastructure should really lower the barrier to
What does the exception below mean? Does trampoline require something to be
defined/included that the usual way doesn't?
Exception in thread main java.lang.IllegalArgumentException: No
implementation of method: :make-writer of protocol:
#'clojure.java.io/IOFactory found for class: nil
Hi everyone,
I haven't seen a lot of discussion about people organizing
rides/roomshares etc for the conj so far, I hope this is an appropriate
venue.
Is anyone driving down from the DC area who could offer a ride down? I'll
be flying out of Durham after the conj, but I can help with gas
Hi!
Well [1 2 3] is just a syntaxic sugar for (vector 1 2 3):
=(vector 1 2 3)
[1 2 3]
When you enter a vector in the repl, it is evaluted to itself. Here an
example that show it:
=[1 2 (+ 1 2)]
[1 2 3]
And you can use the vector function for the same result:
=(vector 1 2 (+ 1 2))
[1 2 3]
The
On Tue Oct 25 14:10 2011, Roger Austin wrote:
One idea would be to organize something for people wanting to set up local
clojure meetups. I don't think this needs to be a BOF, but I don't know the
best
way to promote the idea.
Anyone coming with family and/or spouse-dates? If so, let us
On Oct 26, 2011 7:15 PM, Stuart Halloway stuart.hallo...@gmail.com
wrote:
checking out the Try Clojure:
if you type the following, you get output that matches what you typed
in every case except for lists.
Vectors: -- [1 2 3 4]
[1 2 3 4]
Maps: -- {:foo bar 3 4}
{:foo bar 3 4}
Lists:
You can also use the list function if you don't care about syntactic sugar,
and it seems. Like it should look like this:
= (list 1 2 3 4)
'(1 2 3 4)
or
1 2 3 4 -- although i'd use that for vectors and use [] for lists.
Wouldn't that be cool?
I imagine (set 1 2 3 4) prints as #{1 2 3 4}
On Oct
On Oct 26, 2011, at 7:08 PM, e wrote:
[1 2 3] is a vector that is not evaluated. Since there is no overload with
things that are, there's no need for a special mark.
If you type [1 2 3] into the REPL it is evaluated. The E part of the REPL
always runs. Some expressions evaluate to
I run cljs_watch in a terminal window at the top of the project
and I defined .cljs files to use the CCW editor. cljs_watch spots the changed
.cljs files
through Eclipse and recompiles on the fly. Then I refresh the browser.
It does most of the job.
Luc P.
On Thu, 27 Oct 2011 10:27:29 -0700
Maybe it would be clearer if I proposed some other, lesser-used chars, like
%(1 2 3 4) or even 1 2 3 4. That is, I'm not so much saying, this
needs to be treated as data and not eval'd as I am simply saying, this is
the 'list' data structure as opposed to some other.
A list data structure
I'm experimenting with creating my own fn types. I was wondering if
there was a better way of extending IFn than this:
https://gist.github.com/1321330
Is there a more idiomatic way?
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
Please sign me up for ClojureScript, Heroku Drinkup, and the Web and
Clojure.
Another thing I would be interested in hearing about and discussing is
development techniques with Clojure and ClojureScript. What practices
people are using and finding that work best for them.
--
You received
Eh, I'm more interested in the int/long/double protocol, and was
asking about the string one as a matter of completeness.
NumberClass/parseNumber doesn't take a broad range of inputs, yadda
yadda yadda...
On Oct 25, 5:06 pm, Ben Smith-Mannschott bsmith.o...@gmail.com
wrote:
On Tue, Oct 25, 2011
Hi,
I took a look at clojure when it first came out. I never wrote many
programs with it but spent a few nights reading docs and experimenting with
the repl.
In Rich's most recent talk, Simple Made Easy, he mentioned that clojure
for javascript was built from the ground up using protocols and
You're probably best suited with Clojure for Java programmers, it
covers a lot of basic stuff fundamental motivation.
http://blip.tv/clojure/clojure-for-java-programmers-1-of-2-989128
On Oct 27, 9:10 pm, falcon shahb...@gmail.com wrote:
Hi,
I took a look at clojure when it first came out. I
Looks like this video is from 2008. I remember going through all the videos
back then. I'm not looking for a basic introduction to lisp like languages.
I'm interested in a description and an explanation of clojure + modern
features such as protocols. For example, Rich said that clojurescript
I'm a bit reluctant to get into this, because I'm new to clojure (and don't
know the backstory of this post), but an old hand at literate programming (I
recently did a podcast interview with Donald Knuth on LP). I'll be
interested in the results of your survey.
Larry
On Wed, Oct 26, 2011 at
Programming pearls: a literate program
http://www.cs.tufts.edu/~nr/cs257/archive/don-knuth/pearls-1.pdf
On Wed, Oct 26, 2011 at 10:49 PM, jaime xiejianm...@gmail.com wrote:
is there a place introducing (e.g. overview) more about Literate? have
no ideas about this stuff.
On Oct 27, 3:06 am,
My two favorite articles on Literate Programming are both from Donald
Knuth's book *Literate Programming*. One is Computer Programming as an
Art, and the other is Literate Programming. When I was preparing to
interview Knuth a bit over a year ago I re-read the entire book. I expected
it to be a
On Thu, 2011-10-27 at 20:11 -0400, Larry Johnson wrote:
My two favorite articles on Literate Programming are both from Donald
Knuth's book Literate Programming. One is Computer Programming as an
Art, and the other is Literate Programming. When I was preparing
to interview Knuth a bit over
I've found org-mode in emacs quite acceptable for literate programming
in clojure.
http://orgmode.org/
git://orgmode.org/org-mode.git
Here are some things I've used it for:
http://aurellem.com/abomination/html/no_parens.html
http://aurellem.com/pokemon-types/html/lpsolve.html
On Thu, Oct 27, 2011 at 7:42 PM, Stephen C. Gilardi squee...@mac.comwrote:
On Oct 26, 2011, at 7:08 PM, e wrote:
[1 2 3] is a vector that is not evaluated. Since there is no overload
with things that are, there's no need for a special mark.
If you type [1 2 3] into the REPL it is
The biggest change is the removal of the infix or pattern syntax. Feedback
appreciated.
Fixes
* MATCH-34: no more infix or pattern syntax
* MATCH-10: support maps with keys of heterogenous types
* MATCH-30: throw if same binding name used in row
* MATCH-33: fix readme typo
Enhancements
On Thu, Oct 27, 2011 at 8:26 PM, Mark Rathwell mark.rathw...@gmail.comwrote:
Maybe it would be clearer if I proposed some other, lesser-used chars,
like
%(1 2 3 4) or even 1 2 3 4. That is, I'm not so much saying, this
needs to be treated as data and not eval'd as I am simply saying, this
I think I understand more now though, everyone. Thanks. clojure chose
lists for the data structure for code so lists sort of have a special place
in the language.
Thanks again.
On Fri, Oct 28, 2011 at 1:13 AM, e evier...@gmail.com wrote:
On Thu, Oct 27, 2011 at 8:26 PM, Mark Rathwell
39 matches
Mail list logo