diff options
-rw-r--r-- | analytics.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/analytics.md b/analytics.md new file mode 100644 index 000000000..ff3231867 --- /dev/null +++ b/analytics.md | |||
@@ -0,0 +1,28 @@ | |||
1 | # file name change | ||
2 | |||
3 | change module system and `use` clauses. | ||
4 | |||
5 | This means we would not change all possiable places for now.(I think this is hard to implement even in future.) | ||
6 | |||
7 | ## module system | ||
8 | |||
9 | ### physical module and logic module | ||
10 | |||
11 | each file and folder(lib.rs in the folder) is a physical module. | ||
12 | |||
13 | `use` and `pub` could import and export module as logic. | ||
14 | |||
15 | logic module could be seen as `namespace`. | ||
16 | |||
17 | Only logic module matters. | ||
18 | |||
19 | ### module tree | ||
20 | |||
21 | ### module declaration | ||
22 | |||
23 | > logic module could be defined in its ancestor's folder. | ||
24 | |||
25 | > module | ||
26 | |||
27 | ## use clauses | ||
28 | |||