Mercurial > rlm
comparison src/rlm/quick.clj @ 0:78a630e650d2
initial import
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 18 Oct 2011 00:57:08 -0700 |
parents | |
children | c7df1ea6fd71 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:78a630e650d2 |
---|---|
1 (ns rlm.quick | |
2 "quick and dirty convienence script to load EVERYTHING! | |
3 This is designed to work with clojure 1.2" | |
4 {:author "Robert McIntyre"} | |
5 (:require (clojure.core.javadoc)) | |
6 | |
7 ) | |
8 | |
9 (defn whatev [] (println 5)) | |
10 | |
11 (defn dirty [] | |
12 | |
13 (use | |
14 :reload-all | |
15 | |
16 '[clojure.java | |
17 [javadoc :only [javadoc add-local-javadoc]]] | |
18 | |
19 '[clojure | |
20 [repl :only [source]]] | |
21 | |
22 '[rlm | |
23 [function-utils :only [mix defmix runonce]] | |
24 [rlm-commands :only [undef ns-nuke reload]] | |
25 [play-all :only [play-all-music]] | |
26 [shell-inspect :only [command-line?]] | |
27 [shell-write :only [sw]] | |
28 [classpath-utils :only [classpath add-to-classpath]] | |
29 [dreams :only [megadef defn-decorated silence]] | |
30 [map-utils :only [map-keys map-vals filter-keys filter-vals]] | |
31 [decorators :only [preserve-meta]]] | |
32 | |
33 '[matchure :only [fn-match defn-match if-match when-match cond-match]] | |
34 | |
35 '[clojure.contrib | |
36 [combinatorics :only [cartesian-product subsets selections | |
37 permutations lex-permutations combinations]] | |
38 [duck-streams :only [file-str]] | |
39 [str-utils :only [re-split re-gsub str-join]] | |
40 [seq :only [separate indexed rotations find-first positions]] | |
41 [math :only [expt round abs gcd lcm floor ceil sqrt]] | |
42 [repl-utils :only [show expression-info]] | |
43 [def :only [defvar defmacro-]]]) | |
44 ; (set! clojure.core/*print-length* 20) | |
45 ; (require 'clojure.java.javadoc) | |
46 ; (clojure.java.javadoc/add-local-javadoc "/home/r/mobius/temp-clj/javadoc") | |
47 nil | |
48 ) | |
49 | |
50 (defn init [] | |
51 (use :reload-all | |
52 '[clojure | |
53 core | |
54 ])) | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 |