functionalscript 0.0.308 → 0.0.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,3 +19,11 @@ In FunctionalScript:
|
|
|
19
19
|
- Code should not have [side-effects](https://en.wikipedia.org/wiki/Side_effect_(computer_science)). Any JavaScript statement, expression, or function which has a side effect is not allowed in FunctionalScript. There are no exceptions to this rule, such as `unsafe` code which can be found in Rust, C#, and other languages.
|
|
20
20
|
- A module can't depend on non FunctionalScript module.
|
|
21
21
|
- It also has no standard library, only a safe subset of standard JavaScript API can be used without referencing other modules.
|
|
22
|
+
|
|
23
|
+
## Applications
|
|
24
|
+
|
|
25
|
+
FunctionalScript code can be used
|
|
26
|
+
|
|
27
|
+
- in any JavaScript/TypeScript application,
|
|
28
|
+
- as a JSON with expressions,
|
|
29
|
+
- as a query language.
|