Permalink
Browse files

THinking thinking thinking

  • Loading branch information...
1 parent 0cb241b commit 18a7c0fc42ca4709b33d4b0d28998a60d9920c9e @fogus committed Dec 16, 2015
Showing with 8 additions and 2 deletions.
  1. +7 −1 src/minderbinder/core.clj
  2. +1 −1 src/minderbinder/time.clj
View
8 src/minderbinder/core.clj
@@ -82,4 +82,10 @@
TOOD
Cross-product of names
-)
+)
+
+(defprotocol Measurable
+ ""
+ (double-value [this unit])
+ (long-value [this unit]))
+
View
2 src/minderbinder/time.clj
@@ -38,7 +38,7 @@
(defmacro in [unit body]
`(unit-of-time ~body ~unit))
- (minderbinder.time/in :second #unit/time [1000 :ms])
+ (minderbinder.time/in :seconds #unit/time [1000 :ms])
(unit-of-time 1 :second)

0 comments on commit 18a7c0f

Please sign in to comment.