Is Bukkit an option? I've used https://github.com/CmdrDats/clj-minecraft.
Active project, fun and easy to use.
On Thu, Sep 18, 2014 at 4:30 AM, Hi-tech Robert
wrote:
> Hi, I am looking for tutorial on modding minecraft 1.7.4 in clojure. There
> are plenty of tutorial that use java e.g.
> http://
Here's what I came up with:
(require '[clojure.set :as set])
(let [->map-fn (fn [s] (->> s (map (juxt :id :val)) (into {})))
xs-m (->map-fn xs)
ys-m (->map-fn ys)]
(->> (set/union (keys xs-m) (keys ys-m))
(map (fn [k] {:id k :val (* (get xs-m k 1) (get ys-m k 1))}
On Tue
You sure this isn't what you're looking for?
https://gist.github.com/stuarthalloway/2645453
On Thu, Feb 13, 2014 at 8:34 PM, David Jagoe wrote:
> Here's an example:
>
>
> http://www.bagdemir.com/2013/07/30/implementing-relational-algebra-in-clojure/
>
>
> On 13 February 2014 18:32, David Jagoe
Tweaked slightly...
(defn my-filter [pred? a-seq]
(if (empty? a-seq)
a-seq
(if (pred? (first a-seq))
(cons (first a-seq) (my-filter pred? (rest a-seq)))
(my-filter pred? (rest a-seq)
On Thu, Oct 24, 2013 at 9:51 AM, Wilson wrote:
> I am supposed to make my own filter
Just what I was looking for last week -- many thanks!
On Monday, May 20, 2013 12:41:50 PM UTC-5, Erik Bakstad wrote:
>
> enlive-partials (http://github.com/ebaxt/enlive-partials) adds support
> for wrapping and including enlive templates. It is convenient when you want
> to give designers a sand
Is there a term/phrase that describes this style of programming (as opposed
to nested ifs, for example)?
On Wednesday, May 1, 2013 12:46:36 PM UTC-5, Cedric Greevey wrote:
>
> What about
>
> (or
> (validate-data-1 data-1)
> (validate-data-2 data-2)
> (validate-data-3 data-3))
>
--
--
You
r first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
--
Jeb Beich
http://www.red-source.net/jeb
--
You received this message because you are s
sqlite (www.sqlite.org) is another obvious choice, right?
On Jan 10, 2012 9:46 PM, "Sean Corfield" wrote:
--
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
e value is bound to the parameter in the same place.
> >
> > > Feels more natural to me in a way.
> >
> > > Thoughts?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this grou