Hello,
Maybe this is a dumb question, but I have been trying to get deftype class
annotations to work for a few hours now, ended up reading most of the code
in Compiler.java and short of debugging Clojure, I'm out of ideas. As I
understand the murky interactions between deftype, metadata and Ja
Hello,
I apologize if this isn't the right place to post this.
I've seen slurp exhibit some very strange behavior when querying a
particular URL at certain times of day - it seems that a call to slurp as
such:
(slurp "http://support.clean-mx.de/clean-mx/viruses.php?limit=0,150";)
will crash
Hello,
So I've been working on a project at work, that required me to code a
simple web interface. I considered going with Noir, and while reading the
code, I noticed a pattern that seems to repeat throughout most of the code
that Chris Granger has published in Clojure. This is what I'm referri
gt; can anyone else add anything?
>
> Jim
>
>
> On 12/09/12 15:30, the80srobot wrote:
> > Hello,
> >
> > So I've been working on a project at work, that required me to code a
> > simple web interface. I considered going with Noir, and while reading
> >
t
> is a "Clojure best practice" :)
>
> On Wed, Sep 12, 2012 at 9:30 AM, the80srobot
> >
> wrote:
> > Is this a Clojure best practice?
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
If I understand this right, you're looking for something like Lua's unpack
function. AFAIK you will not be able to do this in Clojure using functions,
because Clojure functions can only return one argument. The only way to
achieve this behavior would by by transforming your calls using reader
m
I have come up with a solution to a problem I don't think exists outside of
my mind, but since I can't for the life of me figure out how Clojure
'wants' me to do this, I thought I would bounce this off the Google Group.
*The scenario:* I am trying to collect a bunch of functions and macros from
Stuart,
You're right that it breaks identity. How about a different approach then -
I can get the list of referred vars from a namespace, and vars can cary
metadata. A natural way to add more flexibility would be to add a flag -
let's call it :export - to referred vars that I'd like for namespa