Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
uwap committed Sep 27, 2014
1 parent 0b1b26f commit 1b5ca94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ __Note: Because of the ambiguity between `fn min<T: Ord>(T)` and `.min()` the mi
Though, the _velocity is still `.{distance}_min()`_ (See [Velocity Types](#velocity-types))
Velocity Types
==============
__These are just plans! None of them is implemented yet!__
With velocities, UNITr shows its full potential.
```
let distance = 10f32.m();
Expand All @@ -94,3 +93,9 @@ These are made of a distance and a time unit. For example:
You can make up any combination you want.
The conversation is done in the pattern of `.{distance}_{time}()`, `.m_s()` for example.
__Note: Instead of using `.minute()` as for the times, velocities use `.min()`__
TODO
====
Beside the previous named features we have a lot of things on our todo list.
* Acceleration
* Temperature
* Non-metric units
2 changes: 2 additions & 0 deletions src/velocities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use meta::HasValue;
use times::*;
use distances::*;

// TODO: Implement add, sub and mul traits

#[deriving(Show, Clone)]
pub struct Velocity<T>(Distances<T>, Times<T>);

Expand Down

0 comments on commit 1b5ca94

Please sign in to comment.