Hi,
Clojure reads a file toplevel expression after toplevel expression and
compiles and executes them separately (exception: toplevel "do" is split
into its sub-expressions). The fact that things are stored in a file is
just a coincidence. You can just as well type everything into the repl
man
This is great. I'm amazed at how easy you're projects have made it to
create web interfaces.
One note for anybody else trying to go along with this -- skip the
piano portions. It seems we've knocked out the site where Overtone
grabs the samples. Now every time I do lein run overtone tries and
f
On Thu, Feb 23, 2012 at 8:23 PM, Andreas Kostler
wrote:
> Bump...I'm interested in this, too...
>
> On 21 February 2012 12:29, T.Y Chew wrote:
>>
>> Hi all,
>>
>> I had a question about clojure's compilation model, which my co-worker
>> suggest to redirect here :-)
>>
>> I wonder what clojure doe
Bump...I'm interested in this, too...
On 21 February 2012 12:29, T.Y Chew wrote:
>
>
> Hi all,
>
> I had a question about clojure's compilation model, which my co-worker
> suggest to redirect here :-)
>
> I wonder what clojure does during compilation of a file? Can
> side-effects occur (definiti
kovas boguta writes:
> Is it possible to have something like this as a lein plugin?
Sure, you could write an alternate repl that did this fairly easily,
though doing it in Swank would be more work.
Your best bet would be to build it on reply:
https://github.com/trptcolin/reply
-Phil
--
You
Just by adding couple of files to a Noir web application, you can add
JMX data monitoring admin page.
Code at https://github.com/zoka/noirMon
Demo at http://noirmon.herokuapp.com
Regards
Zoka
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post t
Just by adding couple of files to a Noir web application, you can add
JMX data monitoring admin page.
Code at https://github.com/zoka/noirMon
Demo at http://noirmon.herokuapp.com
Regards
Zoka
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post t
Is it possible to have something like this as a lein plugin?
On Thu, Feb 23, 2012 at 3:45 PM, kovas boguta wrote:
> You could also have 1 file for inputs, and 1 file for outputs.
>
> One of the most useless things about repl's is when you go back to the
> saved sessions, the input and output are
You could also have 1 file for inputs, and 1 file for outputs.
One of the most useless things about repl's is when you go back to the
saved sessions, the input and output are mixed together in an
indistinguishable mess.
On Thu, Feb 23, 2012 at 3:28 PM, Linus Ericsson
wrote:
>
>
> 2012/2/23 Cedr
2012/2/23 Cedric Greevey
> On Thu, Feb 23, 2012 at 2:41 PM, kovas boguta
> wrote:
> > In general the way repl's handle state is pretty busted.
> >
> > Ever create a piece of data and then later wonder, how the heck did I
> make this?
>
> One simple thing would be if the repl logged sessions to
>
http://java.dzone.com/polls/which-jvm-language-top-0
--
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
On Thu, Feb 23, 2012 at 2:41 PM, kovas boguta wrote:
> In general the way repl's handle state is pretty busted.
>
> Ever create a piece of data and then later wonder, how the heck did I make
> this?
One simple thing would be if the repl logged sessions to
sequentially-numbered files.
You'd be a
In general the way repl's handle state is pretty busted.
Ever create a piece of data and then later wonder, how the heck did I make this?
On Wed, Feb 22, 2012 at 11:29 PM, Jason Jackson wrote:
> "But this exposes a bigger problem: when doing interactive
> development,
> you will end up with old
I'm not sure that java.jmx should be attempting to do any conversion
of the values returned over jmx. I think it should be the
application's responsibility to convert types appropriately for how
they are needed.
On Wed, Feb 22, 2012 at 7:47 PM, zoka wrote:
> I was trying to convert result of JMX
Jonas,
Thanks for pushing this out so quickly. We're using it now and it
works fine.
On Feb 23, 12:32 am, Jonas wrote:
> * Quote only when necessary (this is the default)
This default is very handy.
Michael
--
You received this message because you are subscribed to the Google
Groups "Cloju
On Thu, Feb 16, 2012 at 14:06 -0600, Michael Gardner wrote:
> On Feb 16, 2012, at 11:08 AM, Wolodja Wentland wrote:
>
> > Thanks for the explanation. What would be a good way to ensure that the
> > subseqeuence are lazy too?
>
> I can't think of a good way to do this with higher-order functions,
Corrected url (without whitespace) is
http://groups.google.com/group/clojure-android
--
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
If someone has an Android 4 tablet, it would be good to test if that
works with a real device as well.
- Raju
--
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 membe
Here's a screenshot of the browser-connected REPL connected to an
instance of ClojureScript One running inside the Android 4.0 emulator.
That's going to be a killer feature for developing Android HTML5 apps
with ClojureScript!
http://www.flickr.com/photos/semanticmemories/6923250197/in/photostream
Good idea, Daniel. I joined the group.
- Raju
--
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
Thanks for the clarification, Chas.
--
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
On Feb 23, 2012, at 8:19 AM, Raju Bitter wrote:
> Here's what I found on the project pages for the required software:
> Clojure.org / Java 1.5
> Shouldn't that be Java 6? Does Clojure 1.3 still work with Java 1.5? I
> remember that I read that ClojureScript 1.3 requires Java6.
> http://clojure.or
One addition: The browser-connected REPL does not work in IE9, and
exiting the Clojure/ClojureScript REPL usind Ctrl-d keeps the Jetty
server running in memory.
- Raju
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Looking at the project website, there doesn't seem to be any
information on the required Java or Leiningen version for
ClojureScript One.
Here's what I found on the project pages for the required software:
Clojure.org / Java 1.5
Shouldn't that be Java 6? Does Clojure 1.3 still work with Java 1.5?
"But this exposes a bigger problem: when doing interactive
development,
you will end up with old definitions sticking around. You are
debugging one case of your function, and change the pattern a little.
"
Personally, I suffer from interactive development problems even with
merely using def/defn.
MBeans will let you store serialized java objects, so you can also
find hashmaps, or arbitrary arrays.
When you encounter cases like this one, you can extend
clojure.data.json's functionnality to get the
appropriate behavior (see
http://spootnik.org/blog/2011/08/12/a-bit-of-protocol/ for hints)
O
26 matches
Mail list logo