Mercurial > cortex
diff org/world.org @ 317:bb3f8a4af87f
removed references to defvar from clojure.contrib.def since the def from 1.4 now allows for docstrings
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 28 Feb 2012 14:04:21 -0600 |
parents | a48a75e5876c |
children | 52de8a36edde |
line wrap: on
line diff
1.1 --- a/org/world.org Tue Feb 28 13:44:46 2012 -0600 1.2 +++ b/org/world.org Tue Feb 28 14:04:21 2012 -0600 1.3 @@ -53,7 +53,7 @@ 1.4 driven exception handling" 1.5 {:author "Robert McIntyre"} 1.6 1.7 - (:use (clojure.contrib (def :only (defvar defn-memo)))) 1.8 + (:use (clojure.contrib (def :only (defn-memo)))) 1.9 (:use [clojure.contrib [str-utils :only [re-gsub]]]) 1.10 1.11 (:import com.aurellem.capture.IsoTimer) 1.12 @@ -217,18 +217,17 @@ 1.13 mouse button controls to the map. 1.14 1.15 #+begin_src clojure :exports both :results output 1.16 -(require 'clojure.contrib.pprint) 1.17 -(clojure.contrib.pprint/pprint 1.18 +(clojure.pprint/pprint 1.19 (take 6 (cortex.world/all-keys))) 1.20 #+end_src 1.21 1.22 #+results: 1.23 -: (["key-n" #<KeyTrigger com.jme3.input.controls.KeyTrigger@9f9fec0>] 1.24 -: ["key-apps" #<KeyTrigger com.jme3.input.controls.KeyTrigger@28edbe7f>] 1.25 -: ["key-pgup" #<KeyTrigger com.jme3.input.controls.KeyTrigger@647fd33a>] 1.26 -: ["key-f8" #<KeyTrigger com.jme3.input.controls.KeyTrigger@24f97188>] 1.27 -: ["key-o" #<KeyTrigger com.jme3.input.controls.KeyTrigger@685c53ff>] 1.28 -: ["key-at" #<KeyTrigger com.jme3.input.controls.KeyTrigger@4c3e2e5f>]) 1.29 +: (["key-n" #<KeyTrigger com.jme3.input.controls.KeyTrigger@2ad82934>] 1.30 +: ["key-apps" #<KeyTrigger com.jme3.input.controls.KeyTrigger@3c900d00>] 1.31 +: ["key-pgup" #<KeyTrigger com.jme3.input.controls.KeyTrigger@7d051157>] 1.32 +: ["key-f8" #<KeyTrigger com.jme3.input.controls.KeyTrigger@717f0d2d>] 1.33 +: ["key-o" #<KeyTrigger com.jme3.input.controls.KeyTrigger@4a555fcc>] 1.34 +: ["key-at" #<KeyTrigger com.jme3.input.controls.KeyTrigger@47d31aaa>]) 1.35 1.36 ** World Creation 1.37 #+name: world