Flutter definitely looks interesting, but I guess to make it work with
Clojure would require writing a 'ClojureDart', i.e. a Clojure that compiles
to Dart code. Given Dart sits somewhere between Java and Javascript, this
is maybe not undoable, but would certainly be a lot of work.
On
Hi all,
I'm playing around with defprotocol and defrecord and I ran into a
problem when trying to provide my own seq method. I try to create a
record like so:
(defrecord Foo [bar]
clojure.lang.Seqable
(seq [this] (seq this)))
but I get an error:
error: java.lang.ClassFormatError: Duplicate
Why do you want to override seq? The only reason that I can think of
is that you are implementing some sort of custom data type. If that is
the case, you should be using deftype instead; defrecord is a protocol-
aware drop in replacement for normal maps.
Well, my idea was for the type to hold
vict...@gmail.com wrote:
On Wed, May 13, 2009 at 5:35 PM, Kees-Jochem Wehrmeijer
henc...@gmail.com wrote:
Hi everybody,
I started playing with Clojure on Google App Engine. By following the
experiences of others (http://elhumidor.blogspot.com/2009/04/clojure-
on-google-appengine.html
Hi everybody,
I started playing with Clojure on Google App Engine. By following the
experiences of others (http://elhumidor.blogspot.com/2009/04/clojure-
on-google-appengine.html and
http://www.fatvat.co.uk/2009/05/clojure-on-google-app-engine.html
mostly) I was able to get something running
This looks really cool. I've actually been experimenting with exactly
the same thing. One thing I thought about (but didn't implement), was
using some kind of lazy hash map, for the request, so that it only
calls the methods (like getServerPort) if you need them. I don't
really know how hard or
20:37 schrieb Kees-Jochem Wehrmeijer:
I created a small file foo.clj with the following contents:
(defn foo [] :bar)
Then from a REPL I try the following:
(do (load-file foo.clj) (foo))
but this gives an error message:
java.lang.Exception: Unable to resolve symbol: foo
Hi everybody,
I just got started with Clojure and I'm now trying to simultaneously
learn Lisp and Java. My progress is slow, but I'm having a lot of fun.
I hit a small roadblock though, because I can't figure out why calling
load-file from within a do is behaving the way it is. I'm probably