Mercurial > lasercutter
comparison src/clojureDemo/rlm.clj~ @ 1:6d9bdaf919f7
added clojureDemo source
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 20 Aug 2010 00:32:44 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:163bf9b2fd13 | 1:6d9bdaf919f7 |
---|---|
1 (ns clojureDemo.rlm | |
2 | |
3 (:refer-clojure :exclude [+ - / * | |
4 assoc conj dissoc empty get into seq | |
5 = < > <= >= zero? | |
6 ]) | |
7 | |
8 (:use [clojure.contrib.generic | |
9 arithmetic | |
10 collection | |
11 comparison | |
12 ]) | |
13 | |
14 (:use [clojure.contrib | |
15 accumulators | |
16 combinatorics | |
17 repl-utils | |
18 def | |
19 duck-streams | |
20 shell-out | |
21 import-static | |
22 lazy-seqs | |
23 logging | |
24 map-utils | |
25 math | |
26 mock | |
27 monads | |
28 ns-utils | |
29 ]) | |
30 | |
31 (:use [clojure.contrib.pprint :exclude [write]]) | |
32 | |
33 (:use [clojure.contrib.pprint.examples | |
34 hexdump | |
35 json | |
36 multiply | |
37 props | |
38 show-doc | |
39 xml | |
40 ]) | |
41 | |
42 (:import java.io.File) | |
43 | |
44 | |
45 | |
46 ) | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 (defn rlm-extra-load [] | |
55 (use :reload-all | |
56 '[ clojureDemo | |
57 rlm | |
58 project-euler | |
59 ])) | |
60 | |
61 | |
62 (defn rlm-switch [] | |
63 (in-ns 'rlm) | |
64 (rlm-extra-load)) | |
65 | |
66 (defn switch-rlm [] | |
67 (rlm-switch)) |