Skip to content

Instantly share code, notes, and snippets.

View bendlas's full-sized avatar

Herwig Hochleitner bendlas

View GitHub Profile
;; First fetch CVS version of slime, git version of clojure, swank-clojure, clojure-contrib and clojure-mode
;; Create ~/bin/clojure script which starts clojure repl and adds clojure-contrib src dir and swank-clojure src dir to classpath. I used clj-env helper from clojure-contrib
(pushnew '("\.clj$" . clojure-mode) auto-mode-alist)
(require 'clojure-mode)
;;;; Slime configuration stuff
(setf slime-lisp-implementations
'((ecl("~/bin/ecl" "--heap-size" "1024000000") :coding-system utf-8-unix)
@bendlas
bendlas / composite.cljs
Created May 31, 2016 13:46 — forked from anmonteiro/composite.cljs
Code for the series of posts "An exploration of object recursion design patterns in Om Next recursive queries"
(ns rec
(:require
[webnf.base.logging :as log]
[om.next :as om :refer-macros [defui]]
[goog.dom :as gdom]
[om-tools.dom :as dom]
[clojure.string :as str]))
(def composite-data
{:composite/item {:id 0