@@ -41,14 +41,14 @@ Where:
41
41
42
42
* ** Rack** is a logic state either for the whole process or for a group of
43
43
rules. In the first case, a [ ` global ` ] module can be used which contains a
44
- pre-defined process ladder instance. Rack can also act as an object factory
45
- for [ ` Processor ` ] instances, in case if created from a [ ` Rack ` ]
46
- instance, the processors have the common recording flag.
44
+ pre-defined process global instance. Rack can also act as an object factory
45
+ for [ ` Processor ` ] instances, in case if created from a [ ` Rack ` ] instance, the
46
+ processors have the common recording flag.
47
47
48
48
``` rust
49
49
use logicline :: Rack ;
50
50
51
- let ladder = Rack :: new ();
51
+ let rack = Rack :: new ();
52
52
```
53
53
54
54
* ** Processor** is a logic processor that processes a chain of rules. The
@@ -58,8 +58,8 @@ let ladder = Rack::new();
58
58
``` rust
59
59
use logicline :: Rack ;
60
60
61
- let ladder = Rack :: new ();
62
- let processor = ladder . processor ();
61
+ let rack = Rack :: new ();
62
+ let processor = rack . processor ();
63
63
```
64
64
65
65
* ** Line** is an instance which is used to structure logic as a sequence of
@@ -186,8 +186,8 @@ let env = Env {
186
186
humidity: 40.0,
187
187
};
188
188
189
- let ladder = Rack::new();
190
- let mut processor = ladder .processor();
189
+ let rack = Rack::new();
190
+ let mut processor = rack .processor();
191
191
192
192
let mut env_healthy = true;
193
193
@@ -210,8 +210,8 @@ external variable which is recorded as an input:
210
210
``` rust
211
211
use logicline :: {action, Rack };
212
212
213
- let ladder = Rack :: new ();
214
- let mut processor = ladder . processor ();
213
+ let rack = Rack :: new ();
214
+ let mut processor = rack . processor ();
215
215
216
216
let temperature = 25.0 ;
217
217
let humidity = 40.0 ;
0 commit comments