Permalink
Browse files

Corrected a typo in creation/printer

  • Loading branch information...
1 parent a1d32f3 commit acc14634c838268c397916783c8143f57f202589 @gaverhae committed Jul 23, 2012
Showing with 14 additions and 14 deletions.
  1. +2 −2 README.md
  2. +3 −3 calculation/project.clj
  3. +2 −2 common-actors/project.clj
  4. +3 −3 creation/project.clj
  5. +2 −2 creation/src/creation/core.clj
  6. +2 −2 lookup/project.clj
View
@@ -284,8 +284,8 @@ lookup application.
(onReceive [{t :type act :target m :msg op :op a :1 b :2 r :result}]
(dispatch-on [t op]
[:proxy nil] (! act m)
- [:result :*] (println (format "Add result: %s * %s = %s" a b r))
- [:result :d] (println (format "Sub result: %s / %s = %s" a b r)))))
+ [:result :*] (println (format "Mul result: %s * %s = %s" a b r))
+ [:result :d] (println (format "Div result: %s / %s = %s" a b r)))))
```
The interesting differences will of course be in the ``main`` function, though
@@ -1,8 +1,8 @@
-(defproject calculation "0.1.1"
+(defproject calculation "0.1.2-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.1"]
- [common-actors "0.1.1"]])
+ [org.clojure.gaverhae/okku "0.1.2-SNAPSHOT"]
+ [common-actors "0.1.2-SNAPSHOT"]])
@@ -1,7 +1,7 @@
-(defproject common-actors "0.1.1"
+(defproject common-actors "0.1.2-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.1"]])
+ [org.clojure.gaverhae/okku "0.1.2-SNAPSHOT"]])
@@ -1,8 +1,8 @@
-(defproject creation "0.1.1"
+(defproject creation "0.1.2-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.1"]
- [common-actors "0.1.1"]])
+ [org.clojure.gaverhae/okku "0.1.2-SNAPSHOT"]
+ [common-actors "0.1.2-SNAPSHOT"]])
@@ -12,8 +12,8 @@
(onReceive [{t :type act :target m :msg op :op a :1 b :2 r :result}]
(dispatch-on [t op]
[:proxy nil] (! act m)
- [:result :*] (println (format "Add result: %s * %s = %s" a b r))
- [:result :d] (println (format "Sub result: %s / %s = %s" a b r))))))
+ [:result :*] (println (format "Mul result: %s * %s = %s" a b r))
+ [:result :d] (println (format "Div result: %s / %s = %s" a b r))))))
(defn -main [& args]
(let [as (actor-system "CreationApplication" :port 2554)
View
@@ -1,7 +1,7 @@
-(defproject lookup "0.1.1"
+(defproject lookup "0.1.2-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.1"]])
+ [org.clojure.gaverhae/okku "0.1.2-SNAPSHOT"]])

0 comments on commit acc1463

Please sign in to comment.