Hi,
I'm new to clojure and lisp in general. I'm trying semi-porting a real
world application but at this time I lack patterns to reason about
clojure solutions to problems. I thought I'd ask the community about
one such problem I’m facing.
To give a simple example for the following discussion, s
quite easily using
> > these parts.
>
> > However if you are interested in more complete 'rules' systems then I
> > suggest searching for Datalog on this group. JS is implementing
> > Datalog logic querying and has already made great progress. hoeck
> >
Hi,
I'm new to lisp and clojure, so what follows may be a very easy (i.e.
stupid) question...
I want a macro to generate multi-methods. Here is the macro I crafted:
(defmacro mcf [type class set-expr & forms]
'(defmethod make ~type [fd controller]
(let [control (new ~class)]
(doto
Thanks, it worked!
Max
On Feb 23, 4:16 pm, Telman Yusupov wrote:
> Try this syntax: ~'link
>
> Cheers,
>
> Telman
>
> On Feb 23, 3:25 pm, max3000 wrote:
>
> > Hi,
>
> > I'm new to lisp and clojure, so what follows may be a very easy (i.e
Hi,
I find the laziness in clojure very hard to wrap my head around. I
understand the idea and it's probably nice in theory. However, in real
life it doesn't seem really useful beyond hardcore mathematical
problems.
Case in point, I just spent 2 hours debugging a piece of code (shown
below) that
ink lazy sequences are worth the initial frustration ;)
>
> On Mon, Mar 2, 2009 at 12:06 AM, max3000 wrote:
>
> > Hi,
>
> > I find the laziness in clojure very hard to wrap my head around. I
> > understand the idea and it's probably nice in theory. However, in rea
Hi,
I'm trying to output accented characters from clojure. Actually, I'm
trying to call setToolTipText on a JComponent with some unicode
string. No problems doing so from Java, but with clojure I'm hitting a
wall.
In REPL:
exmentis=> "àéôö"
"&→∟↔"
exmentis=> \u00f4
\├┤
exmentis=> \u00c0
\À
Ok,
hat make a difference?
I don't really want to use the SVN version because I'm developing an
application and can really do without the (normal) instabilities that
come with development builds.
Thanks,
Max
On Mar 6, 5:38 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 06.03.2009 um 23:
eamReader
(System.in))); //, UTF8)));
(UTF8 commented out)
Anyway this could be seen as a bug? Should I report it? Was this made
like this for a reason?
Thanks,
Max
On Mar 6, 8:03 pm, "rzeze...@gmail.com" wrote:
> On Mar 6, 5:58 pm, max3000 wrote:
>
>
>
> > I don&
ing other places that used UTF8 to use the
default encoding. It didn't change anything.
My time is up for tonight! ;( Any help would be appreciated.
Thanks,
Max
On Mar 6, 9:34 pm, max3000 wrote:
> There is definitely a bug. In r994 (Aug 07, 2008) UTF8 encoding was
> added to *in
gs is 'blessed' by M. Hickey and the community.
Thanks,
Max
On Mar 6, 10:21 pm, max3000 wrote:
> Some more information:
>
> In REPL, everything seems fine:
>
> exmentis=> "ààà"
> "ààà"
> exmentis=> (def a "")
> #'
g encoding-wise. That's a
faulty assumption.
Typically, I believe clojure should read and write to/from the default
character set unless specifically told otherwise. UTF-8 is not the
default on all platforms.
Thanks,
Max
On Mar 7, 10:03 am, Toralf Wittner wrote:
> On Sat, 2009-03-07 at 05
requires changes in only about 5
lines of code, I'm not sure what prevents this from being fixed. At
least, is there a clojure bug tracking site where I could add this
issue?
Thanks,
Max
On Mar 7, 2:21 pm, max3000 wrote:
> The default character set on WinXP (which I use) is windo
"))
abcd
nil
On Mar 13, 3:09 am, Michael Wood wrote:
> On Fri, Mar 13, 2009 at 8:46 AM, max3000 wrote:
>
> > Any news on this item? Does what I'm saying make sense?
>
> > I understand most people who use clojure are probably English-speaking
> > and couldn&
Hi,
I want a Java application to support evaluation of older and newer
clojure scripts that may not run on the same clojure versions/
releases. I want to support this without restarting the application.
The approach I'm trying is to load clojure from its own classloader.
My idea is to GC the cla
I really like the above class solution (but maybe its my OO
background! ;).
Howerver, I thought gen-class wasn't doing anything when not AOT-ing.
In other words, unless you are doing AOT compilation, gen-class
shoudn't be used. Did I miss something?
Thanks,
Max
On May 26, 1:23 am, Daniel Lyo
16 matches
Mail list logo