There are two libs with that name; I maintain the one in google code.
In case that's the one you found, here's a status.
It supports the spec, but there are two differences described in
issues #4 and #5 (#3 is fixed) that arise from the spec's assumption
that you'll use an interpreter.
Works with
I was playing with Groovy yesterday. It was just several hours of work
to read through the important parts and took only a few attempts to
successfully load a complete level written in Groovy.
:(
Had to decide which one to pick. If I pick groovy, i will be always
stuck with Imperative family, and
Thanks David. That worked a treat.
For anyone curious, I've added my working code below.
;;
(ns drag
(:require [goog.math :as math]
[goog.fx :as fx]
[goog.fx.Dragger :as Dragger]
[goog.dom :as dom]
[goog.style :as styl
I am very new in Clojure. I'd like someone to how an example code on
how we can authenticate users on a windows server using clj-ldap
library.
Best,
George Tasso.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email t
reduce-fsm provides a simple way to specify clojure finite state
machines, it allows you to:
- Define define state machines that accumulate values (in the same was
that reduce does)
- Create lazy sequences from state machines
- Perform stateful filtering with clojures filter/remove functions
- Vis
I put together a Redis library that focuses on the newer unified protocol
for communicating with Redis. I am still playing a bit with the API and
there are still a few things left to do, but the library is fully usable.
You can check the source out at
http://github.com/abedra/accession
and the
Good color choices on the website. It would be interesting to see
some performance comparisons between korma and clojureql, but I don't
really know what kinds of tests would make for good benchmarks. From
what I read c3po is the preferred way to do connection pooling (I had
been configuring clj-d
Just don't get to the end of developing your game in java before you start
playing with clojure. You might slap yourself and decide to rewrite it in
clojure :-).
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to c
indeed
On Thu, Nov 3, 2011 at 9:48 PM, iamcreasy wrote:
> That's what I had in my mind. I was thinking about implementing a
> console(like old quake days) and the clojure script would be executed
> its written and pressed ctrl+enter. Behind there would be live update
> of the game scene graph.
>
That's what I had in my mind. I was thinking about implementing a
console(like old quake days) and the clojure script would be executed
its written and pressed ctrl+enter. Behind there would be live update
of the game scene graph.
On Nov 4, 5:56 am, Gary Trakhman wrote:
> For the parent's post, i
that's one way to do it, the other way is the direct way I mentioned
via clojure.main/repl
On Thu, Nov 3, 2011 at 9:47 PM, iamcreasy wrote:
> Sorry, I dont get the part of "advantages even if you do have stdin/
> out (multiple sessions, for one)"
>
> The main thing I am getting here is, that a cl
Sorry, I dont get the part of "advantages even if you do have stdin/
out (multiple sessions, for one)"
The main thing I am getting here is, that a clojure receiving(to a
particular port) end is attached with my game and there is another
stand along clojure REPL program which would send commands to
I might have replied to you instead of posting here. Used the "Reply
to author" button instead of "Reply" :(
On Nov 3, 10:17 pm, Chas Emerick wrote:
> Do you need to use JSR-233? I can see that being useful if you aim to have
> multiple scripting languages available in the game. I don't know w
Most probably I replied your post using "Reply to author" instead of
using "Reply" :(
On Nov 3, 10:53 pm, Sean Corfield wrote:
> As Chas says, RT.var() is probably your easier point of entry here.
>
> I use Clojure as a scripting language within a JVM-based application
> (not Java, but it uses Ja
Indeed, if you have stdin/out, then you can use clojure.main/repl and be on
your way.
If you don't, you'll need to start an nREPL server, and connect to that using
an nREPL client. That actually has some advantages even if you do have
stdin/out (multiple sessions, for one), but I wouldn't say
http://clojure.github.com/clojure/clojure.main-api.html#clojure.main/repl
On Thu, Nov 3, 2011 at 7:56 PM, Gary Trakhman wrote:
> For the parent's post, it might be more useful to directly have a repl
> instead of connecting to an outside one. I don't have any ideas
> on-hand about it, but i'm in
For the parent's post, it might be more useful to directly have a repl
instead of connecting to an outside one. I don't have any ideas
on-hand about it, but i'm interested in finding out. I've been
thinking it would be cool to have the repl for exploratory java dev
work, even in projects that don
On Thu, Nov 3, 2011 at 4:40 PM, Gary Trakhman wrote:
> You can even consider a live scripting facility (while the game's running)
> with the repl and some api to access your game's state. All of those
> functions are available.
I'm a bit fuzzy on how to enable an application to be connected to
f
You can even consider a live scripting facility (while the game's running)
with the repl and some api to access your game's state. All of those
functions are available.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send ema
I'm sure CL syntax will work for my needs.
I'm not sure that anyone will like how I might use it to make code
more portable. :)
That could also stand some discussion.
Almost OT, ClojureCLR already extends the reader syntax to accommodate
symbols naming types with really bad characters in them, us
Geat studf, good level of abstraction. definitly worth of Using.
Only one thing, color of theme, impractical, it would be good for
marketing, but not for informational site, it should be simple as your
lib, black fonts on white background. Maybe this is a matter of screen
but on ipad device it i
On Nov 3, 10:52 pm, Chas Emerick wrote:
> Joost,
>
> This looks great. I think I might have been vaguely aware of
> clojure-refactoring before, but I'm glad to have been reminded of it.
>
> Q: how much of it is Emacs/SLIME specific?
>
> I ask because I'd love to see the advertised functionalit
Hi Andy,
the issue you're having is that using the & for rest args captures the rest of
the arguments as a seq. Therefore when you pass a fn as the final parameter to
#'timed-agent, #'test-func is not bound to the fn you passed in but a seq
containing that fn. You either need to pull out the fn
The problem is that inside your timed-agent function, "test-func" is not a
function - it is a one-element sequence containing your test function.
That's what using & in the arguments vector does.
Try it like this: (defn timed-agent [limit timed-func & [test-func]] ...)
- Chris
--
You receiv
Is it possible to print information about a function from within the
repl? For example, after using comp or partial to create new
functions, can you display the arity, the source, etc? I'm trying to
debug a problem and it would be handy to be able to check that my
dynamic funcitons are what I think
I'm running into a strange problem that I can't see the bottom of.
Wonder if someone can explain why I'm seeing the behavior I'm
seeing...
I have a function that uses a Java timer to run a function and can
also check the results of that function by passing in an optional test
function
(defn timed
Joost,
This looks great. I think I might have been vaguely aware of
clojure-refactoring before, but I'm glad to have been reminded of it.
Q: how much of it is Emacs/SLIME specific?
I ask because I'd love to see the advertised functionality rolled into
Counterclockwise (and any other Clojure t
On Nov 3, 10:37 pm, Phil Hagelberg wrote:
> Swank Clojure 1.3.3 actually supports piggybacking elisp inside jar
> files. Create a file called "swank_elisp_payloads.clj" in the root of
> your jar file that contains a vector of paths to elisp files contained
> in the jar.
>
> I hope to have this do
On Thu, Nov 3, 2011 at 2:32 PM, Joost wrote:
> As some of you may know, I've recently taken over maintenance of the
> clojure-refactoring package for doing simple refactorings in Emacs/
> SLIME with clojure-mode.
>
> This package consists of a bunch of clojure code that does the actual
> refactori
On Wed, Nov 2, 2011 at 2:09 PM, Craig Brozefsky wrote:
> I am making a project that uses clojure 1.3, and I want to use autodoc,
> and I'm not sure which dependency line should be in my project.clj.
Things like autodoc are usually best installed as user-level plugins,
so stick with "lein plugin i
As some of you may know, I've recently taken over maintenance of the
clojure-refactoring package for doing simple refactorings in Emacs/
SLIME with clojure-mode.
This package consists of a bunch of clojure code that does the actual
refactoring, plus an elisp file that handles the editor/ui side of
Just jumping in to say thanks. The site looks nice, and the examples are
attractive. I'm looking forward to kicking the tires.
On Wednesday, November 2, 2011 at 4:04 PM, Owen Dall wrote:
> That is great, Chris. I have been lurking in the group just waiting to see
> when a nice DB framework woul
Changes in 0.2.1 (should make it to maven central soon):
* :required option no longer supported, caused issues when trying to
provide your own --help and you have other parameters that are
"required".
You must now validate your own required parameters, eg:
(let [[options args banner] (cli [] ["-
Accessing "this" is supported via this-as
https://github.com/clojure/clojurescript/commit/09ff093dc86b455e3090ce3612c5e01f3b5bada6
On Thu, Nov 3, 2011 at 1:51 AM, olivergeorge wrote:
> Hello,
>
> This must be obvious (pun unintended) but I'm struggling to work out
> how to define a callback fun
Hello,
This must be obvious (pun unintended) but I'm struggling to work out
how to define a callback function in clojurescript which has a local
"this" variable.
I see references to "gthis" in the compiler.clj but I'm unsure how to
do define a function which uses it.
Below is the javascript code
I am making a project that uses clojure 1.3, and I want to use autodoc,
and I'm not sure which dependency line should be in my project.clj.
So, I'm asking for a suggested dep for that, but also I am wondering
what is the standard operating procedure for resolving such dependency
issues. Is there
That is great, Chris. I have been lurking in the group just waiting to see
when a nice DB framework would emerge.
We have been using Rails and JRuby for a long time, so having another
option in the JVM will be very useful.
-Owen
On Wed, Nov 2, 2011 at 3:49 PM, Chris Granger wrote:
> Hey Fol
Alex Baranosky writes:
> Julian,
>
> I saw no flames fired from Craig - and I am particularly intrigued by non-Lisp
> languages such as Ioke that are homoiconic and have macros.
I meant my comment as a pre-emptive joke to derail a replaying of the
old tale of Dylan, the lisp with infix syntax.
> I had to make minor changes to algorithms in a few places.Could
> the original have been written to make porting easier? I can think of
> a few ways to do that, but the best ways require read-time
> conditionalization and Rich is against that. Would writing against
> clojure.java.io instead
Any thoughts about when / where these events can take place? Is it possible
to get access to a projector? Or do we have to fend for ourselves?
David
On Tuesday, October 25, 2011, Fogus wrote:
> All,
>
> We talked about the possibility of getting some ideas about
> extracurricular activities duri
A parallel set of contribs matching the clojure.java.* libs does make
sense. Some already exist. As part of the core distribution, there
are clojure.clr.io and clojure.io.shell.
There are several levels of porting difficulty.
(1) libs with very little interop, hence requiring little or no
edit
Ah, the main source of confusion was in the version difference. Those jars
don't exist in 4.2 (which is what I was using).
Thanks for the explanation,
--
Devin Walters
On Thursday, November 3, 2011 at 2:06 PM, ru wrote:
> Hello Devin,
>
> 1. Put ProtegeClojureTab-1.4 folder into your
Hello Devin,
1. Put ProtegeClojureTab-1.4 folder into your home folder (for
example, /Users/devin/ProtegeClojureTab-1.4/).
2. You should have Protege_3.4.7 installed (not Protege 4.x). From its
home folder (/Applications/Protege_3.4.7) take protege.jar, looks.jar,
unicode_panel.jar and put them i
On Thu, Nov 3, 2011 at 10:35 AM, dmiller wrote:
> An analysis of the 2011 ClojureCLR survey and a plan of action is now
> available here:
>
> http://clojureclr.blogspot.com/2011/11/survey-says-call-to-action.html
Nice set of analyses David - great work!
On this one:
http://clojureclr.blogspot.c
when transferring "special" Double/Float values, namely NaN, Infinity
and -Infinity using prn/read mechanics, these values are received as
Symbols. This surprised me quite a bit. Wouldn't it be a reasonable
fix to prn these values as
#=(java.lang.Double/valueOf "")
( one of the above)?
At least in
An analysis of the 2011 ClojureCLR survey and a plan of action is now
available here:
http://clojureclr.blogspot.com/2011/11/survey-says-call-to-action.html
Consider this also notification that the ClojureCLR blog exists. You
can turn your dial there for future updates.
-David
--
You received
As Chas says, RT.var() is probably your easier point of entry here.
I use Clojure as a scripting language within a JVM-based application
(not Java, but it uses Java interop to access Clojure) and the
patterns I use are:
* clojure.lang.RT.var( "the.namespace", "some-name" ) - get a
reference to the
As a nice result of this, you can easily see what the problem is
simply by quoting the form: this resolves reader macros but leaves the
form otherwise unevaluated, so you can determine what forms the ->
macro is working with:
user> '(-> x #(inc %))
(-> x (fn* [p1__4781#] (inc p1__4781#)))
user> (m
On Nov 3, 4:18 am, Ben Smith-Mannschott wrote:
> On Thu, Nov 3, 2011 at 03:14, Alex Baranosky
>
> wrote:
> > What a coincidence. My instinct would be to make (interleave) return an
> > empty seq, instead of nil. I wonder the trade-offs between the two?
>
> There is no such thing as an empty seq.
Do you need to use JSR-233? I can see that being useful if you aim to have
multiple scripting languages available in the game. I don't know what the
functional status of clojure-jsr233 is, but I doubt it would take much to bring
it up to part in any case.
However, if Clojure will be the only
Hi ru,
It looks like it would be fun to try, but I am unclear on the installation
instructions. Maybe it's just too early in the morning, but if I have the OSX
Protege.app/ where do I place ProtegeClojureTab's files?
Thanks in advance.
On Thursday, November 3, 2011 at 3:30 AM, ru wrote:
> D
I am going to make a game framework using jMonkeyEngine.site ::
jmonkeyengine.com
I want to include live modification / any kind of end user
modification of the game through writing script. At first I was a bit
biased towards Groovy but now I want to integrate clojure as scripting
language in my f
On Thu, Nov 3, 2011 at 13:13, Meikel Brandmeyer wrote:
> Hi,
>
> Am 03.11.2011 um 12:18 schrieb Ben Smith-Mannschott:
>
>> There is no such thing as an empty seq. Or put another way, the empty
>> seq *is* nil. You're probably thinking of an empty list.
>
> while this is true, the following is dang
2011/11/2 Stefan Kamphausen :
> Hi,
>
> while all the other answers already offered explanations and solutions I
> feel like I should add, that macros like -> and ->> work on the
> source-code.
Not quite. Macros work on Clojure data structures returned by the
Clojure Reader (so reader-macros have
Hi,
Am 03.11.2011 um 12:18 schrieb Ben Smith-Mannschott:
> There is no such thing as an empty seq. Or put another way, the empty
> seq *is* nil. You're probably thinking of an empty list.
while this is true, the following is dangerous
> Returning nil has the advantage that nil is false in a boo
Great. Works! Thanks!
--
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 are moderated - please be patient with your
first post.
To unsubscribe from this grou
On Thu, Nov 3, 2011 at 03:14, Alex Baranosky
wrote:
> What a coincidence. My instinct would be to make (interleave) return an
> empty seq, instead of nil. I wonder the trade-offs between the two?
There is no such thing as an empty seq. Or put another way, the empty
seq *is* nil. You're probably t
You have to make sure that all the dependencies you control are generated with
:omit-source true
But any dependency that has some clj files in its target will get bundled as is
in the target jar.
This includes Clojure itself,contrib, ...
Luc P.
On Thu, 3 Nov 2011 02:55:20 -0700 (PDT)
finbeu w
Hello
is there a way to tell Leinigen not to include the source code into the
uberjar? I just want to ship the class files (AOT compiled).
Thx.
Finn
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googl
Dear clojure-users!
Protege ClojureTab plugin version 1.4 published on
http://protegewiki.stanford.edu/wiki/ClojureTab
http://oogis.ru/clojuretab
In this version:
1. Added support of Clojure protocols, types and records.
2. Simplified installation and addition of third-party jars.
3. Minor chan
60 matches
Mail list logo