Skip to content

Instantly share code, notes, and snippets.

Avatar

Herwig Hochleitner bendlas

  • Austria
View GitHub Profile
View Swank_clojure_setup_for_hardcore_Emacs_users.el
;; 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 — forked from anmonteiro/composite.cljs
Code for the series of posts "An exploration of object recursion design patterns in Om Next recursive queries"
View composite.cljs
(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