From e1040cfcf85dfaa5f9e892eb5171b36525d6dce3 Mon Sep 17 00:00:00 2001 From: Scott Gardner Date: Fri, 10 Jun 2016 12:01:05 -0500 Subject: [PATCH] Remove Variable from Units documentation --- Documentation/Units.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Documentation/Units.md b/Documentation/Units.md index 77dd5976..c1d2a11f 100644 --- a/Documentation/Units.md +++ b/Documentation/Units.md @@ -43,7 +43,7 @@ Analogies: | Physical units | Rx units | |-------------------------------------|---------------------------------------------------------------------| | number (one value) | observable sequence (sequence of values) | -| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, Variable, ...) | +| dimensional unit (m, s, m/s, N ...) | Swift struct (Driver, ControlProperty, ControlEvent, ...) | A physical unit is a pair of a number and a corresponding dimensional unit.
An Rx unit is a pair of an observable sequence and a corresponding struct that describes observable sequence properties. @@ -106,7 +106,6 @@ E.g. ``` Driver = (can't error out) * (observe on main scheduler) * (sharing side effects) ControlProperty = (sharing side effects) * (subscribe on main scheduler) -Variable = (can't error out) * (sharing side effects) ``` Conversion between different units in physics is done with the help of operators defined on numbers `*`, `/`.
@@ -137,11 +136,6 @@ Sharing side effects = share* (one of the `share` operators) * Observe on main scheduler * Sharing side effects -### Variable - -* Can't error out -* Sharing side effects - ## Driver This is the most elaborate unit. Its intention is to provide an intuitive way to write reactive code in the UI layer.