Permalink
Browse files

Changed ns forms to use keywords

  • Loading branch information...
1 parent 50bf556 commit a8586f67d82e3cebbf04d41f84fd742de854859a @gaverhae committed Jul 21, 2012
View
4 README.md
@@ -74,7 +74,7 @@ Before we can define the ``simpleCalculator``, we have to set up the namespace
properly:
```clojure
-(ns calculation.core (use okku.core))
+(ns calculation.core (:use okku.core))
```
Next, we have to think about what kind of messages we're going to send. From
@@ -143,7 +143,7 @@ then edit ``project.clj`` to add
to ``:dependencies`` and finally change the namespace declaration to
```clojure
(ns lookup.core
- (use okku.core))
+ (:use okku.core))
```
Do not forget to also add the
```clojure
View
6 calculation/project.clj
@@ -1,8 +1,8 @@
-(defproject calculation "0.1.0"
+(defproject calculation "0.1.1-SNAPSHOT"
:description "Calculator part of the Okku remote tutorial"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:main calculation.core
:dependencies [[org.clojure/clojure "1.4.0"]
- [org.clojure.gaverhae/okku "0.1.0"]
- [common-actors "0.1.0"]])
+ [org.clojure.gaverhae/okku "0.1.1-SNAPSHOT"]
+ [common-actors "0.1.1-SNAPSHOT"]])
View
4 calculation/src/calculation/core.clj
@@ -1,6 +1,6 @@
(ns calculation.core
- (use okku.core)
- (require common-actors.core))
+ (:use okku.core)
+ (:require common-actors.core))
(defn m-res [a b op r]
{:type :result :op op :1 a :2 b :result r})
View
4 common-actors/project.clj
@@ -1,7 +1,7 @@
-(defproject common-actors "0.1.0"
+(defproject common-actors "0.1.1-SNAPSHOT"
:description "The common actor between calculation and creation"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:aot [common-actors.core]
:dependencies [[org.clojure/clojure "1.4.0"]
- [org.clojure.gaverhae/okku "0.1.0"]])
+ [org.clojure.gaverhae/okku "0.1.1-SNAPSHOT"]])
View
2 common-actors/src/common_actors/core.clj
@@ -1,5 +1,5 @@
(ns common-actors.core
- (use okku.core))
+ (:use okku.core))
(defn- m-res [a b op res]
{:type :result :1 a :2 b :op op :result res})
View
6 creation/project.clj
@@ -1,8 +1,8 @@
-(defproject creation "0.1.0"
+(defproject creation "0.1.1-SNAPSHOT"
:description "Creation part of the Okku remote tutorial"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:main creation.core
:dependencies [[org.clojure/clojure "1.4.0"]
- [org.clojure.gaverhae/okku "0.1.0"]
- [common-actors "0.1.0"]])
+ [org.clojure.gaverhae/okku "0.1.1-SNAPSHOT"]
+ [common-actors "0.1.1-SNAPSHOT"]])
View
4 creation/src/creation/core.clj
@@ -1,6 +1,6 @@
(ns creation.core
- (use okku.core
- common-actors.core))
+ (:use okku.core
+ common-actors.core))
(defn m-op [op a b]
{:type :operation :op op :1 a :2 b})
View
4 lookup/project.clj
@@ -1,7 +1,7 @@
-(defproject lookup "0.1.0"
+(defproject lookup "0.1.1-SNAPSHOT"
:description "Look-up part of the Okku remote tutorial"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:main lookup.core
:dependencies [[org.clojure/clojure "1.4.0"]
- [org.clojure.gaverhae/okku "0.1.0"]])
+ [org.clojure.gaverhae/okku "0.1.1-SNAPSHOT"]])
View
2 lookup/src/lookup/core.clj
@@ -1,5 +1,5 @@
(ns lookup.core
- (use okku.core))
+ (:use okku.core))
(defn m-op [op a b]
{:type :operation :op op :1 a :2 b})

0 comments on commit a8586f6

Please sign in to comment.