This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Context: | |
; http://stackoverflow.com/questions/3436216/how-to-map-clojure-code-to-and-from-json | |
(defn escape-string [x] | |
(clojure.string/replace x #"^[':\\]" "\\\\$0")) | |
(defn code-to-json [x] | |
(condp #(%1 %2) x | |
number? x | |
symbol? (str \' (name x)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns hierarchy.core | |
(:refer-clojure :exclude [==]) | |
(:use [clojure.core.logic])) | |
(def order [:domain :kingdom :phylum :class :order :family :genus :species]) | |
(def homo-sapiens | |
{:domain :eukarya | |
:kingdom :animalia-metazoa | |
:phylum :chordata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#~/.mutt/aliases | |
alias nick Nicholas Levandoski <nick.levandoski@auglug.org> | |
alias tim Timothy Pitt <timothy.pitt@auglug.org> | |
alias steven Steven Jackson <sjackson@auglug.org> | |
alias kaleb Kaleb Hornsby <kaleb.hornsby@auglug.org> | |
alias alug-admin nick, tim, steven |