On 25.05.2012 23:45, HelmutKian wrote:
I've recently been on board a project that will targeting Android, and
I've been given pretty much free reign chose my tools. I'm an
experienced Common Lisper and a fairly new Clojure user, but I'd like
to know about the feasibility of writing real-world
A clean of temp files (namely, rm -rf resources/public/cljs) source tree
should have fixed it. Just worked for me after upgrading to latest
ClojureScript.
On Monday, May 14, 2012 3:29:16 AM UTC+2, Murtaza Husain wrote:
>
>
> I am using Chris Ganger's noir-cljs.
>
> Any leads on how I could de
Interesting problem. This is my (first iteration) of a solution:
--8<---cut here---start->8---
(defn select-in [m keyseq]
(loop [acc {} [k & ks] (seq keyseq)]
(if k
(recur
(if (sequential? k)
(let [[k ks] k]
(assoc acc k
Hi,
This is a very interesting idea. It would have been of great use when I
did a Clojure workshop with complete beginners, with all kinds of OSes
(Windows, OSX, ...).
I took the "Completely packaged VirtualBox image" approach, but it is
still a big mess: Not everyone have VirtualBox installed (o
Note also that I could be interesting to plug a swank server in a
regular Java app (mainly for dev). This would allow to manipulate you
live app, and use all the Clojure goodness from the confort of your
REPL:
http://denilab.blogspot.fr/2012/04/injecting-clojure-repl-into-your.html
On Fri, May 25,
Hi,
I don't know google-code-prettify. I am using Emacs with org-mode, it has
native support for prettifying Clojure code when exporting to HTML.
You could also use GitHub's gist https://gist.github.com/, and embed it in
your blog.
Denis
On Fri, May 25, 2012 at 12:07 PM, Jake Johnson wrote:
> H
Great!
On Thu, May 24, 2012 at 9:10 AM, CA wrote:
> Yeah!
>
> On May 24, 12:29 am, Brian Marick wrote:
> > Midje is a test framework for Clojure. It supports top-down as well as
> bottom-up testing, encourages readable tests, provides a smooth migration
> path from clojure.test, and supports a
Hi Dominikus,
and thanks for sharing your valuable thought.
I did not read the antiifcampaign, but I remember very well the number of
ifs code lines
were present in java window toolkit (1995), just because they did not add
NullLayout class to polymorphically manage the absence of a layout ma
Why not create a shell script?
On May 26, 9:32 am, Denis Labaye wrote:
> Hi,
>
> This is a very interesting idea. It would have been of great use when I
> did a Clojure workshop with complete beginners, with all kinds of OSes
> (Windows, OSX, ...).
>
> I took the "Completely packaged VirtualBox i
What about packaging Emacs with a few different configs? For example
Ergoemacs + dark background settings.
--
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 a
Thanks! I didn't realize org-mode would prettify Clojure code when exported
to html (I generally use org-mode without exporting). Using org-mode, would
my best option just be to type it up, export to html, then copy and paste
the resulting html into my blog post?
On Sat, May 26, 2012 at 10:46 AM,
Hi
C-c C-e b for the HTML export and open into the browser to display the
result.
Then copy paste the html source yes.
Antoine
On May 26, 2012 11:42 PM, "Jake Johnson" wrote:
> Thanks! I didn't realize org-mode would prettify Clojure code when
> exported to html (I generally use org-mode witho
If you don't want to create a whole org-document just for a single
export, you can use htmlize-{region,buffer} directly. That's the same
command org uses.
On Sat, May 26, 2012 at 11:46 PM, eniotna wrote:
> Hi
>
> C-c C-e b for the HTML export and open into the browser to display the
> result.
>
>
I was messing with the example at clojure.org/agents to get it to log which
agents called which, and finally came up with
(use 'clojure.pprint)
(defn relay [x i agidx]
(when (:next x)
(send (:next x) relay i (:idx x)))
(when (and (zero? i) (:report-queue x))
(.put (
Thanks again, guys! Much appreciated.
On Sat, May 26, 2012 at 6:07 PM, Moritz Ulrich wrote:
> If you don't want to create a whole org-document just for a single
> export, you can use htmlize-{region,buffer} directly. That's the same
> command org uses.
>
> On Sat, May 26, 2012 at 11:46 PM, eniot
I have a problem deserializing a record from within a swing application.
I wrote the minimal amount of code required to highlight the problem i'm
having below.
(if unfamiliar with seesaw, this is just creating a JButton which
deserializes the
record in the file "/tmp/point" on-click)
(ns babel.r
As an update to this, I can get deserialization working, so long as I
(compile 'babel.records) within the file itself.
It seems to me that having a raw (compile 'babel.records) type form at the
start of each namespace containing defrecords I need to serialize would not
be ideal, are there gene
Hello.
I wrote functions for converting tabs from/to spaces. They are not
used anytime, so they may be irrelevant to include core. Anyway I'd
like to show them and hear your opinions.
I want to use untabify in clojure.repl for formatting docstrings
correctly (I'll post about that later), so it'
What I mean in "they are not used anytime" is "they are _not always_
used."... I'm sorry.
--
OGINO Masanori
http://twitter.com/omasanori
--
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
No
I noticed with the working pdoseq I posted earlier that sometimes the
threads on one core get ahead of those on the others, for some reason,
and then that core is idle for the rest of a job -- Windows, at least,
doesn't seem to reassign one or more threads to the freed core. So I
wrote this version
20 matches
Mail list logo