functionalscript 0.0.309 → 0.0.310

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FunctionalScript
2
2
 
3
- FunctionalScript is a pure functional programming language and a strict subset of
3
+ FunctionalScript is a purely functional programming language and a strict subset of
4
4
  [ECMAScript](https://en.wikipedia.org/wiki/ECMAScript)/[JavaScript](https://en.wikipedia.org/wiki/JavaScript). It's inspired by
5
5
 
6
6
  - [JSON](https://en.wikipedia.org/wiki/JSON) as a subset of JavaScript. JSON is also a subset of FunctionalScript.
@@ -16,14 +16,14 @@ Create a new FunctionalScript repository on GitHub [here](https://github.com/fun
16
16
  In FunctionalScript:
17
17
 
18
18
  - Any module is a valid JavaScript module. No additional build steps are required.
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
- - A module can't depend on non FunctionalScript module.
21
- - It also has no standard library, only a safe subset of standard JavaScript API can be used without referencing other modules.
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
+ - A module can't depend on a non FunctionalScript module.
21
+ - It also has no standard library. Only a safe subset of standard JavaScript API can be used without referencing other modules.
22
22
 
23
23
  ## Applications
24
24
 
25
- FunctionalScript code can be used
25
+ FunctionalScript code can be used
26
26
 
27
27
  - in any JavaScript/TypeScript application,
28
28
  - as a JSON with expressions,
29
- - as a query language.
29
+ - as a query language.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functionalscript",
3
- "version": "0.0.309",
3
+ "version": "0.0.310",
4
4
  "description": "FunctionalScript is a functional subset of JavaScript",
5
5
  "main": "index.js",
6
6
  "scripts": {