@plylang/plylang 1.1.2 → 1.1.3

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 +4 -4
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -96,7 +96,7 @@ The same permutations as in Factor follow, with names made of letters: `dupd`, `
96
96
  `cons` pushes a value and then runs a quotation. The value sits under the quotation, so `5 [ 1 add ] cons` is a quotation of type `(-- Num)` that pushes five and then adds one. The call site does not name that value.
97
97
 
98
98
  ```ply
99
- ~ "@plylang/prelude/Classes/Comparable" equal
99
+ ~ "@plylang/prelude/Classes/Eq" equal
100
100
  ~ "@plylang/prelude/Classes/Subtractable" subtract
101
101
  ~ "@plylang/prelude/Classes/Arithmetic" multiply
102
102
  ~ "@plylang/prelude/Data/Num"
@@ -192,7 +192,7 @@ The text between the angles is a program. It starts from an empty stack and does
192
192
  A word that walks an array is imported. In the example the quotation sits on top. The name comes from one module, and the instance for the array comes from another.
193
193
 
194
194
  ```ply
195
- ~ "@plylang/prelude/Classes/Mappable" map
195
+ ~ "@plylang/prelude/Classes/Functor" map
196
196
  ~ "@plylang/prelude/Classes/Arithmetic" add
197
197
  ~ "@plylang/prelude/Data/Num"
198
198
  ~ "@plylang/prelude/Data/Array"
@@ -259,10 +259,10 @@ The order in the example is the dictionary, the key, and the value on top.
259
259
  ```
260
260
 
261
261
  ```ply
262
- ~ "@plylang/prelude/Classes/Comparable" Comparable, equal
262
+ ~ "@plylang/prelude/Classes/Eq" Eq, equal
263
263
  ~ "@plylang/prelude/Data/Num"
264
264
 
265
- : same ( Comparable a => a a -- Bool )
265
+ : same ( Eq a => a a -- Bool )
266
266
  equal
267
267
  ```
268
268
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plylang/plylang",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Ply compiler",
5
5
  "license": "MIT",
6
6
  "author": "Algosail",
@@ -30,12 +30,12 @@
30
30
  "bin/native.js"
31
31
  ],
32
32
  "optionalDependencies": {
33
- "@plylang/plylang-darwin-arm64": "1.1.2",
34
- "@plylang/plylang-darwin-x64": "1.1.2",
35
- "@plylang/plylang-linux-arm64": "1.1.2",
36
- "@plylang/plylang-linux-x64": "1.1.2",
37
- "@plylang/plylang-win32-arm64": "1.1.2",
38
- "@plylang/plylang-win32-x64": "1.1.2"
33
+ "@plylang/plylang-darwin-arm64": "1.1.3",
34
+ "@plylang/plylang-darwin-x64": "1.1.3",
35
+ "@plylang/plylang-linux-arm64": "1.1.3",
36
+ "@plylang/plylang-linux-x64": "1.1.3",
37
+ "@plylang/plylang-win32-arm64": "1.1.3",
38
+ "@plylang/plylang-win32-x64": "1.1.3"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "cargo build --release",