Skip to content
This repository
Browse code

Added usage instructions to the README.md

  • Loading branch information...
commit c29c7333f36dc42394bd08986b3778757cb8964d 1 parent 3915eab
Darren Austin authored

Showing 1 changed file with 19 additions and 0 deletions. Show diff stats Hide diff stats

  1. 19  README.md
19  README.md
Source Rendered
@@ -18,6 +18,25 @@ problems yourself, looking at my solutions may spoil it for you.  Feel
18 18
 free to use these solutions if you wish... only cheating yourself,
19 19
 blah, blah.
20 20
 
  21
+## Usage
  22
+
  23
+Currently this project requires Clojure 1.2.  I will update it to 1.3
  24
+sometime soon.  I use `lein swank` to get a REPL up and running with the 
  25
+right environment setup.  To run the solutions:
  26
+
  27
+    user> (use 'dma.euler)
  28
+    user> (euler)
  29
+  
  30
+This will run all of the solutions giving the result, whether it was correct
  31
+and how long it took (with a warning if it was over a minute... gotta keep
  32
+myself honest :).
  33
+
  34
+You can also run just a specific problem by giving the problem number
  35
+to the `euler` function:
  36
+
  37
+    user> (euler 42)
  38
+    
  39
+
21 40
 ## Problems to migrate from Ruby project
22 41
 
23 42
 I originally started with Project Euler as a way to learn Ruby.  I

0 notes on commit c29c733

Please sign in to comment.
Something went wrong with that request. Please try again.