Over on a Node project (boo!), we're enjoying Jade:
https://github.com/visionmedia/jade
(It is an indentation-based syntax for HTML, similar to HAML.)
There is a port to Java:
https://github.com/neuland/jade4j
If anyone is aware of a Clojure wrapper for this, or has found 4j to work
well as-i
What are the nature of the warnings? I suspect there will be issues
with the use of Java classes in some cache impls, but they should be
OK if you do not use them.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to c
+1, wants sticker.
2012/7/4 Eric Scrivner :
> +1 I was just looking for this the other day and was disappointed to find I
> could only get a t-shirt.
>
>
> On Saturday, June 9, 2012 6:03:46 PM UTC-7, aboy021 wrote:
>>
>> Is there anywhere that I can get a Clojure sticker?
>
> --
> You received thi
Hi there,
I see precedent for this on the list so hopefully still kosher,
Is anyone out there interested in Clojure work in Auckland (could help with
visa potentially)?
We do cool cloud, big data stuff (Storm, Cassandra, Cascalog).
Please reply to me off list.
cheers
Colin.
--
You rec
Hi everyone,
Aaron Santos just dropped a rather quiet email to the Overtone mailing list
announcing something called Mini Beast which he built with Clojure, Overtone
and Quil:
https://github.com/aaron-santos/mini-beast
This thing is seriously cool and really is the tip of the iceberg w.r.t. th
Note that subvec as currently implemented does not return a first
class vector; it prevents the original vector from being garbage
collected, because it delegates all basic operations to it, and it
does not support some less-basic operations (you cannot make a
transient out of a subvec-created vect
I think subvec is likely what you're looking for, but I also wanted to
mention take-last for the sake of completeness.
On Wed, Jul 4, 2012 at 2:16 PM, Tassilo Horn wrote:
> John Holland writes:
>
> Hi John,
>
>> If I want to get the last n elements of a list or vector I am doing
>> the following
On Wed, Jul 4, 2012 at 3:17 PM, keeds wrote:
> Please excuse my ignorance. This is the first time I've played with
> read-string and the reader...
>
> I was trying to serialise some clojure data structures to a database and
> then read them back.
> In the data I have some java.sql.Timestamp data.
Thanks everybody
On Wed, Jul 4, 2012 at 2:16 PM, Tassilo Horn wrote:
> John Holland writes:
>
> Hi John,
>
> > If I want to get the last n elements of a list or vector I am doing
> > the following:
> >
> > (reverse (take n (reverse thelist)))
> >
> > Is there a better way to do this?
>
> For ve
John Holland writes:
Hi John,
> If I want to get the last n elements of a list or vector I am doing
> the following:
>
> (reverse (take n (reverse thelist)))
>
> Is there a better way to do this?
For vectors, you can do that much more efficiently using subvec:
(subvec my-vec (- (count vec) n
> Is there a better way to do this?
Use subvec for vectors. For lists, look at take and but-last.
Timothy
--
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
John Holland writes:
> Is there a better way to do this?
See `take-last'¹ and, specifically for vectors where you can calculate
the start index of the suffix, `subvec'².
Note that even though Clojure has a `last' function with the same name
as Common Lisp's `last'³, the former lacks the optiona
If I want to get the last n elements of a list or vector I am doing the
following:
(reverse (take n (reverse thelist)))
Is there a better way to do this?
I'm going through some basic coding exercises which were meant for Java but
I'm finding them educational to get started with Clojure.
--
Yo
Who's reading the documentation? Why not a simple comment?
Ambrose
On Tue, Jul 3, 2012 at 7:16 PM, skuro wrote:
> Hi *,
>
> I'm developing a Clojure bridge to the Alfresco APIs, where I use a
> protocol, Node, to extend a class coming from the original Java API
> (NodeRef). Now, one of the proj
>
> The problem with using type hints for doc is, that they actually alter
>> runtime behavior, non - locally:
>> - They replace expensive reflective method call sites with casts to a
>> known type
>> - Hence they effectively narrow the accepted type at the call site
>>
> But the above would only a
Please excuse my ignorance. This is the first time I've played with
read-string and the reader...
I was trying to serialise some clojure data structures to a database and
then read them back.
In the data I have some java.sql.Timestamp data. These get serialised as
#
When trying to read-string t
Thanks for organising this, Bruce.
I hadn't come across Clojure eXchange before. For other folks that want
more info on what happened last year and what's proposed for this year, the
links are:
http://skillsmatter.com/event/scala/clojure-exchange
and
http://skillsmatter.com/event/scala/clojure-
MerelyAPseudonym writes:
Hi!
> When abstracting out common behavior by creating higher-order
> functions, I would like the resulting function to retain the arglist
> metadata. Has anyone already solved this problem?
Right now, if I define public functions in terms of comp or partial, I
add the
Interesting settings Sam,
I'm curious about this one:
"-XX:MaxTenuringThreshold=0" ; Makes the full NewSize available to every
NewGC
; cycle, and reduces the pause time by not
; evaluating tenured objects. Technically,
19 matches
Mail list logo