On Tue, Nov 3, 2009 at 10:58 PM, rob wrote:
>
> I'm pretty sure there was an example of this using continuations in
> Dybvig's book on Scheme. I just flipped through it and didn't readily
> find it, but I think that is where I saw it.
You can do something like this (PLT Scheme):
#lang scheme
It looks like (speaking without having looked at the ClojureQL source)
the results are being returned as a lazy sequence. In the first case
the sequence isn't being realized but it is in the second.
On Tue, Aug 11, 2009 at 2:15 PM, Maximilian
Karasz wrote:
> Hi,
>
> i've been wanting to play wit
+1 on ".car" here too. Plus, I imagine the icon to be a 1950's-era
muscle car; a nod to Lisp's age.
On Fri, Aug 7, 2009 at 8:13 AM, Justin Johnson wrote:
>> car: "Clojure Archive" (half-assed pun on Lisp's car, plus you can
>> imagine the icon!)
>
> +1
>
> >
>
--
Chris Wilson
--~--~---
Sorry if this is a bit OT, but has anyone created an ant or maven jar
task (maven: is 'goal' the correct term)? In the few jars that I've
created I've AOT compiled my .clj files and hand-created the jar file.
The way that I do this is compile to the default clojure "classes"
directory, I then pull
In Java 6 you can do a wildcard for jar files in a directory:
java -cp /opt/jars/*:. clojure.main
this will find all the jar files in /opt/jars/ and put them on the classpath.
On Sun, Jun 21, 2009 at 9:10 PM, Wilson MacGyver wrote:
>
> Hi,
>
> Does clojure have any way to handle jar loading wit
I don't know how relevant this is to what you're trying to do, but
I've recently written something that sounds like what you're doing. My
approach was to always send the size of the file (this involves
sending chunks of a file around) to the server before sending the
file. Since read() will block
I found an interesting article on Hacker News:
http://news.ycombinator.com/item?id=631085 "The Best Kept Secret in
the JDK: VisualVM" and the article here:
http://java.dzone.com/articles/best-kept-secret-jdk-visualvm
I fired it up and in no time at all, was profiling some clojure code.
Definitely
You probably need to set (and create!) the correct compilation
(output) directory. This defaults to a "classes" directory as a
subdirectory of your current working directory. So if you had:
test/main.clj
you'd need
classes/
also make sure that this directory is on your classpath. I think this
Hi there,
I'm working on a project that involves transferring large files over
the network (100+MB) and wondering what would work better. I'm newer
to Java than I am to lisp, so I've just grabbed the most obvious
things from the API that I thought could possibly work:
(ns misc-ports
(:import (
Here's a .emacs snippet that works for me:
;; SLIME setup (clojure)
(add-to-list 'load-path "~/.emacs.d/slime/") ; your SLIME directory
(add-to-list 'load-path "~/.emacs.d/") ; clojure-mode.el is here
(add-to-list 'load-path "~/.emacs.d/swank-clojure") ; swank-clojure directory
(setq swank-cloju
10 matches
Mail list logo