functionalscript 0.0.537 → 0.0.539
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/.github/workflows/ci.yml +0 -2
- package/README.md +5 -6
- package/package.json +1 -1
package/.github/workflows/ci.yml
CHANGED
package/README.md
CHANGED
|
@@ -22,19 +22,18 @@ Learn more about
|
|
|
22
22
|
In FunctionalScript:
|
|
23
23
|
|
|
24
24
|
- Any module is a valid JavaScript module. No additional build steps are required.
|
|
25
|
-
- Code should not have [side-effects](https://en.wikipedia.org/wiki/Side_effect_(computer_science)). Any JavaScript statement, expression, or function
|
|
26
|
-
- A module can
|
|
25
|
+
- Code should not have [side-effects](https://en.wikipedia.org/wiki/Side_effect_(computer_science)). Any JavaScript statement, expression, or function that 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.
|
|
26
|
+
- A module can depend only on another FunctionalScript module.
|
|
27
27
|
- It also has no standard library. Only a safe subset of standard JavaScript API can be used without referencing other modules.
|
|
28
28
|
|
|
29
29
|
## Applications
|
|
30
30
|
|
|
31
|
-
FunctionalScript code can be used
|
|
32
|
-
|
|
31
|
+
FunctionalScript code can be used:
|
|
33
32
|
- in any JavaScript/TypeScript application,
|
|
34
33
|
- as a JSON with expressions,
|
|
35
34
|
- as a query language.
|
|
36
35
|
|
|
37
36
|
## Sponsors
|
|
38
37
|
|
|
39
|
-
- [KirillOsenkov](https://github.com/KirillOsenkov)
|
|
40
|
-
- [antkmsft](https://github.com/antkmsft)
|
|
38
|
+
- [KirillOsenkov](https://github.com/KirillOsenkov),
|
|
39
|
+
- [antkmsft](https://github.com/antkmsft).
|