eyeprolog 0.5.15 → 0.5.16
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/package.json +1 -1
- package/test/run-regression.mjs +1 -1
- package/the-art-of-eyeprolog.md +9 -24
package/package.json
CHANGED
package/test/run-regression.mjs
CHANGED
|
@@ -1858,7 +1858,7 @@ function bookBuiltinNames() {
|
|
|
1858
1858
|
|
|
1859
1859
|
function bookEyePrologLibraryNames() {
|
|
1860
1860
|
const book = fs.readFileSync(path.join(packageRoot, 'the-art-of-eyeprolog.md'), 'utf8');
|
|
1861
|
-
return documentedBuiltinNames(between(book, '<!-- eyeprolog-library-catalog:start -->', '<!-- eyeprolog-library-catalog:end -->'),
|
|
1861
|
+
return documentedBuiltinNames(between(book, '<!-- eyeprolog-library-catalog:start -->', '<!-- eyeprolog-library-catalog:end -->'), 2);
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
1864
|
function bookBuiltinSummary() {
|
package/the-art-of-eyeprolog.md
CHANGED
|
@@ -5220,9 +5220,6 @@ contains 115 name/arity entries across 94 names.
|
|
|
5220
5220
|
| Term output | `write/1`, `write/2`, `writeq/1`, `writeq/2`, `write_canonical/1`, `write_canonical/2`, `write_term/2`, `write_term/3` |
|
|
5221
5221
|
| Arithmetic | `is/2`, `=:=/2`, `=\=/2`, `</2`, `=</2`, `>/2`, `>=/2` |
|
|
5222
5222
|
|
|
5223
|
-
`false/0` and `fail/0` both fail as goals. `false/0` is a protected static
|
|
5224
|
-
procedure and cannot be defined by source clauses or declared dynamic.
|
|
5225
|
-
|
|
5226
5223
|
### Reading the built-in reference
|
|
5227
5224
|
|
|
5228
5225
|
The call patterns below use `+` for an argument that must be sufficiently
|
|
@@ -5530,27 +5527,15 @@ standard fallback relation.
|
|
|
5530
5527
|
|
|
5531
5528
|
<!-- eyeprolog-library-catalog:start -->
|
|
5532
5529
|
|
|
5533
|
-
|
|
|
5534
|
-
| --- |
|
|
5535
|
-
|
|
|
5536
|
-
| `
|
|
5537
|
-
| `
|
|
5538
|
-
| `
|
|
5539
|
-
| `list_to_set/2`, `sort_unique/2` |
|
|
5540
|
-
| `string_concat/3`, `contains/2`, `matches/2` |
|
|
5541
|
-
| `
|
|
5542
|
-
| `countall/2`, `sumall/3` |
|
|
5543
|
-
| `aggregate_min/5`, `aggregate_max/5` |
|
|
5544
|
-
| `between/3`, `smallest_divisor_from/3`, `random/3` |
|
|
5545
|
-
| `apply/3` |
|
|
5546
|
-
| `maplist/3` |
|
|
5547
|
-
| `acos/2`, `asin/2`, `atan2/3`, `tan/2` |
|
|
5548
|
-
| `lt/2`, `le/2`, `gt/2`, `ge/2` |
|
|
5549
|
-
| `uuid/3`, `difference/3` |
|
|
5550
|
-
| `matches/3` |
|
|
5551
|
-
| `split/3`, `replace/4` |
|
|
5552
|
-
| `lowercase/2`, `uppercase/2`, `trim/2` |
|
|
5553
|
-
| `number_string/2`, `atom_string/2`, `term_string/2` |
|
|
5530
|
+
| Family | Registered predicate indicators |
|
|
5531
|
+
| --- | --- |
|
|
5532
|
+
| Meta-call and mapping | `apply/3`, `maplist/3` |
|
|
5533
|
+
| Arithmetic and generation | `tan/2`, `asin/2`, `acos/2`, `atan2/3`, `between/3`, `smallest_divisor_from/3`, `random/3` |
|
|
5534
|
+
| Comparison | `lt/2`, `le/2`, `gt/2`, `ge/2` |
|
|
5535
|
+
| Identifiers and dates | `uuid/3`, `difference/3` |
|
|
5536
|
+
| Lists | `append/3`, `member/2`, `select/3`, `last/2`, `nth0/3`, `nth1/3`, `set_nth0/4`, `take/3`, `drop/3`, `slice/4`, `reverse/2`, `length/2`, `sum_list/2`, `min_list/2`, `max_list/2`, `list_to_set/2`, `sort_unique/2` |
|
|
5537
|
+
| Text and pattern matching | `string_concat/3`, `contains/2`, `matches/2`, `matches/3`, `split/3`, `join/3`, `substring/4`, `replace/4`, `lowercase/2`, `uppercase/2`, `trim/2`, `number_string/2`, `atom_string/2`, `term_string/2` |
|
|
5538
|
+
| Aggregation | `countall/2`, `sumall/3`, `aggregate_min/5`, `aggregate_max/5` |
|
|
5554
5539
|
|
|
5555
5540
|
<!-- eyeprolog-library-catalog:end -->
|
|
5556
5541
|
|