functionalscript 0.0.369 → 0.0.372
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/.vscode/tasks.json +41 -0
- package/com/cpp/com.hpp +18 -12
- package/com/cpp/module.f.cjs +78 -0
- package/com/cpp/test/build.cjs +5 -3
- package/com/cpp/test/main.cpp +4 -0
- package/com/cpp/test.f.cjs +35 -2
- package/com/cs/{main.f.cjs → module.f.cjs} +14 -20
- package/com/cs/test.f.cjs +9 -26
- package/com/{main.f.cjs → module.f.cjs} +1 -1
- package/com/types/{main.f.cjs → module.f.cjs} +25 -2
- package/com/types/test.f.cjs +25 -0
- package/commonjs/build/{main.f.cjs → module.f.cjs} +7 -7
- package/commonjs/build/test.f.cjs +6 -6
- package/commonjs/module/function/{main.f.cjs → module.f.cjs} +1 -1
- package/commonjs/module/{main.f.cjs → module.f.cjs} +2 -2
- package/commonjs/{main.f.cjs → module.f.cjs} +4 -4
- package/commonjs/package/dependencies/{main.f.cjs → module.f.cjs} +2 -2
- package/commonjs/package/dependencies/test.f.cjs +1 -1
- package/commonjs/package/{main.f.cjs → module.f.cjs} +2 -2
- package/commonjs/package/test.f.cjs +1 -1
- package/commonjs/path/{main.f.cjs → module.f.cjs} +3 -3
- package/commonjs/path/test.f.cjs +7 -7
- package/dev/{main.f.cjs → module.f.cjs} +0 -0
- package/html/{main.f.cjs → module.f.cjs} +3 -3
- package/html/test.f.cjs +1 -1
- package/io/commonjs/{main.cjs → module.cjs} +3 -3
- package/io/commonjs/test.cjs +2 -2
- package/io/result/{main.cjs → module.cjs} +1 -1
- package/json/{main.f.cjs → module.f.cjs} +5 -5
- package/json/test.f.cjs +3 -3
- package/json/tokenizer/{main.f.cjs → module.f.cjs} +3 -3
- package/json/tokenizer/test.f.cjs +4 -4
- package/module.f.cjs +14 -0
- package/package.json +2 -2
- package/sha2/{main.f.cjs → module.f.cjs} +1 -1
- package/sha2/test.f.cjs +4 -4
- package/test.f.cjs +2 -1
- package/text/encoding/{main.f.cjs → module.f.cjs} +2 -2
- package/text/encoding/test.f.cjs +4 -4
- package/text/{main.f.cjs → module.f.cjs} +1 -1
- package/text/test.f.cjs +2 -2
- package/tsconfig.json +1 -1
- package/types/array/{main.f.cjs → module.f.cjs} +1 -1
- package/types/array/test.f.cjs +3 -3
- package/types/btree/find/{main.f.cjs → module.f.cjs} +4 -4
- package/types/btree/find/test.f.cjs +7 -7
- package/types/btree/{main.f.cjs → module.f.cjs} +6 -6
- package/types/btree/remove/{main.f.cjs → module.f.cjs} +6 -6
- package/types/btree/remove/test.f.cjs +6 -6
- package/types/btree/set/{main.f.cjs → module.f.cjs} +4 -4
- package/types/btree/set/test.f.cjs +5 -5
- package/types/btree/test.f.cjs +8 -8
- package/types/btree/types/{main.f.cjs → module.f.cjs} +0 -0
- package/types/function/compare/{main.f.cjs → module.f.cjs} +1 -1
- package/types/function/compare/test.f.cjs +1 -1
- package/types/function/{main.f.cjs → module.f.cjs} +2 -2
- package/types/function/operator/{main.f.cjs → module.f.cjs} +0 -0
- package/types/list/{main.f.cjs → module.f.cjs} +2 -2
- package/types/list/test.f.cjs +4 -4
- package/types/map/{main.f.cjs → module.f.cjs} +9 -9
- package/types/map/test.f.cjs +3 -3
- package/types/module.f.cjs +20 -0
- package/types/object/{main.f.cjs → module.f.cjs} +2 -2
- package/types/object/test.f.cjs +1 -1
- package/types/option/{main.f.cjs → module.f.cjs} +0 -0
- package/types/option/test.f.cjs +1 -1
- package/types/range/{main.f.cjs → module.f.cjs} +0 -0
- package/types/range/test.f.cjs +1 -1
- package/types/result/{main.f.cjs → module.f.cjs} +0 -0
- package/types/stringset/{main.f.cjs → module.f.cjs} +5 -5
- package/types/stringset/test.f.cjs +1 -1
- package/com/cpp/main.f.cjs +0 -10
- package/main.f.cjs +0 -14
- package/types/main.f.cjs +0 -20
package/json/test.f.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const json = require('./
|
|
2
|
-
const { sort } = require('../types/object/
|
|
3
|
-
const { identity } = require('../types/function/
|
|
1
|
+
const json = require('./module.f.cjs')
|
|
2
|
+
const { sort } = require('../types/object/module.f.cjs')
|
|
3
|
+
const { identity } = require('../types/function/module.f.cjs')
|
|
4
4
|
|
|
5
5
|
if (json.setProperty("Hello")([])({}) !== "Hello") { throw 'error' }
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const operator = require('../../types/function/operator/
|
|
2
|
-
const list = require('../../types/list/
|
|
3
|
-
const range = require('../../types/range/
|
|
1
|
+
const operator = require('../../types/function/operator/module.f.cjs')
|
|
2
|
+
const list = require('../../types/list/module.f.cjs')
|
|
3
|
+
const range = require('../../types/range/module.f.cjs')
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @typedef {{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const tokenizer = require('./
|
|
2
|
-
const list = require('../../types/list/
|
|
3
|
-
const json = require('../
|
|
4
|
-
const { sort } = require('../../types/object/
|
|
1
|
+
const tokenizer = require('./module.f.cjs')
|
|
2
|
+
const list = require('../../types/list/module.f.cjs')
|
|
3
|
+
const json = require('../module.f.cjs')
|
|
4
|
+
const { sort } = require('../../types/object/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/** @type {(s: string) => readonly tokenizer.JsonToken[]} */
|
|
7
7
|
const tokenizeString = s => list.toArray(tokenizer.tokenize(list.toCharCodeList(s)))
|
package/module.f.cjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
/** @readonly */
|
|
3
|
+
commonjs: require('./commonjs/module.f.cjs'),
|
|
4
|
+
/** @readonly */
|
|
5
|
+
dev: require('./dev/module.f.cjs'),
|
|
6
|
+
/** @readonly */
|
|
7
|
+
html: require('./html/module.f.cjs'),
|
|
8
|
+
/** @readonly */
|
|
9
|
+
json: require('./json/module.f.cjs'),
|
|
10
|
+
/** @readonly */
|
|
11
|
+
sha2: require('./sha2/module.f.cjs'),
|
|
12
|
+
/** @readonly */
|
|
13
|
+
types: require('./types/module.f.cjs'),
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "functionalscript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.372",
|
|
4
4
|
"description": "FunctionalScript is a functional subset of JavaScript",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "module.f.cjs",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"tsc": "tsc",
|
|
8
8
|
"test": "tsc && npm run test-only",
|
package/sha2/test.f.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const json = require('../json/
|
|
3
|
-
const { sort } = require('../types/object/
|
|
4
|
-
const list = require('../types/list/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const json = require('../json/module.f.cjs')
|
|
3
|
+
const { sort } = require('../types/object/module.f.cjs')
|
|
4
|
+
const list = require('../types/list/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/** @type {(a: number) => number} */
|
|
7
7
|
const toU32 = x => (x + 0x1_0000_0000) % 0x1_0000_0000
|
package/test.f.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const i = require('./
|
|
1
|
+
const i = require('./module.f.cjs')
|
|
2
2
|
|
|
3
3
|
require('./types/list/test.f.cjs')
|
|
4
4
|
require('./types/array/test.f.cjs')
|
|
@@ -20,6 +20,7 @@ require('./html/test.f.cjs')
|
|
|
20
20
|
require('./text/test.f.cjs')
|
|
21
21
|
require('./text/encoding/test.f.cjs')
|
|
22
22
|
require('./com/cs/test.f.cjs')
|
|
23
|
+
require('./com/cpp/test.f.cjs')
|
|
23
24
|
|
|
24
25
|
/** @type {() => never} */
|
|
25
26
|
const assert = () => { throw 'assert' }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const result = require('../../types/result/
|
|
2
|
-
const list = require('../../types/list/
|
|
1
|
+
const result = require('../../types/result/module.f.cjs')
|
|
2
|
+
const list = require('../../types/list/module.f.cjs')
|
|
3
3
|
const { ok, error } = result
|
|
4
4
|
|
|
5
5
|
/** @typedef {result.Result<number,number>} Utf8Result */
|
package/text/encoding/test.f.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const encoding = require('./
|
|
2
|
-
const json = require('../../json/
|
|
3
|
-
const { sort } = require('../../types/object/
|
|
4
|
-
const { list } = require('../../types/
|
|
1
|
+
const encoding = require('./module.f.cjs')
|
|
2
|
+
const json = require('../../json/module.f.cjs')
|
|
3
|
+
const { sort } = require('../../types/object/module.f.cjs')
|
|
4
|
+
const { list } = require('../../types/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/** @type {(a: readonly json.Unknown[]) => string} */
|
|
7
7
|
const stringify = a => json.stringify(sort)(a)
|
package/text/test.f.cjs
CHANGED
package/tsconfig.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
12
12
|
|
|
13
13
|
/* Language and Environment */
|
|
14
|
-
"target": "
|
|
14
|
+
"target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
15
15
|
// "lib": ["ES2021"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
16
16
|
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
17
17
|
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
package/types/array/test.f.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const json = require('../../json/
|
|
3
|
-
const { sort } = require('../object/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const json = require('../../json/module.f.cjs')
|
|
3
|
+
const { sort } = require('../object/module.f.cjs')
|
|
4
4
|
|
|
5
5
|
/** @type {(a: readonly json.Unknown[]) => string} */
|
|
6
6
|
const stringify = a => json.stringify(sort)(a)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const _ = require('../types/
|
|
2
|
-
const list = require('../../list/
|
|
3
|
-
const cmp = require('../../function/compare/
|
|
4
|
-
const array = require('../../array/
|
|
1
|
+
const _ = require('../types/module.f.cjs')
|
|
2
|
+
const list = require('../../list/module.f.cjs')
|
|
3
|
+
const cmp = require('../../function/compare/module.f.cjs')
|
|
4
|
+
const array = require('../../array/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @template T
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const list = require('../../list/
|
|
3
|
-
const json = require('../../../json/
|
|
4
|
-
const { sort } = require('../../object/
|
|
5
|
-
const btree = require('../types/
|
|
6
|
-
const { stringCmp } = require('../../function/compare/
|
|
7
|
-
const s = require('../set/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const list = require('../../list/module.f.cjs')
|
|
3
|
+
const json = require('../../../json/module.f.cjs')
|
|
4
|
+
const { sort } = require('../../object/module.f.cjs')
|
|
5
|
+
const btree = require('../types/module.f.cjs')
|
|
6
|
+
const { stringCmp } = require('../../function/compare/module.f.cjs')
|
|
7
|
+
const s = require('../set/module.f.cjs')
|
|
8
8
|
|
|
9
9
|
const jsonStr = json.stringify(sort)
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const list = require('../list/
|
|
2
|
-
const option = require('../option/
|
|
3
|
-
const _ = require('./types/
|
|
1
|
+
const list = require('../list/module.f.cjs')
|
|
2
|
+
const option = require('../option/module.f.cjs')
|
|
3
|
+
const _ = require('./types/module.f.cjs')
|
|
4
4
|
|
|
5
5
|
/** @type {<T>(node: _.Node<T>) => list.Thunk<T>} */
|
|
6
6
|
const nodeValues = node => () => {
|
|
@@ -30,11 +30,11 @@ const values = option.map(nodeValues)
|
|
|
30
30
|
|
|
31
31
|
module.exports = {
|
|
32
32
|
/** @readonly */
|
|
33
|
-
find: require('./find/
|
|
33
|
+
find: require('./find/module.f.cjs'),
|
|
34
34
|
/** @readonly */
|
|
35
|
-
remove: require('./remove/
|
|
35
|
+
remove: require('./remove/module.f.cjs'),
|
|
36
36
|
/** @readonly */
|
|
37
|
-
set: require('./set/
|
|
37
|
+
set: require('./set/module.f.cjs'),
|
|
38
38
|
/** @readonly */
|
|
39
39
|
values,
|
|
40
40
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const _ = require('../types/
|
|
2
|
-
const cmp = require('../../function/compare/
|
|
3
|
-
const find = require('../find/
|
|
4
|
-
const list = require('../../list/
|
|
5
|
-
const array = require('../../array/
|
|
6
|
-
const option = require('../../option/
|
|
1
|
+
const _ = require('../types/module.f.cjs')
|
|
2
|
+
const cmp = require('../../function/compare/module.f.cjs')
|
|
3
|
+
const find = require('../find/module.f.cjs')
|
|
4
|
+
const list = require('../../list/module.f.cjs')
|
|
5
|
+
const array = require('../../array/module.f.cjs')
|
|
6
|
+
const option = require('../../option/module.f.cjs')
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @template T
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const btree = require('../types/
|
|
3
|
-
const s = require('../set/
|
|
4
|
-
const { stringCmp } = require('../../function/compare/
|
|
5
|
-
const json = require('../../../json/
|
|
6
|
-
const { sort } = require('../../object/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const btree = require('../types/module.f.cjs')
|
|
3
|
+
const s = require('../set/module.f.cjs')
|
|
4
|
+
const { stringCmp } = require('../../function/compare/module.f.cjs')
|
|
5
|
+
const json = require('../../../json/module.f.cjs')
|
|
6
|
+
const { sort } = require('../../object/module.f.cjs')
|
|
7
7
|
|
|
8
8
|
/** @type {(node: btree.Node<string>) => (value: string) => btree.Node<string>} */
|
|
9
9
|
const set = node => value => s.set(stringCmp(value))(value)(node)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const _ = require('../types/
|
|
2
|
-
const find = require('../find/
|
|
3
|
-
const cmp = require('../../function/compare/
|
|
4
|
-
const list = require('../../list/
|
|
1
|
+
const _ = require('../types/module.f.cjs')
|
|
2
|
+
const find = require('../find/module.f.cjs')
|
|
3
|
+
const cmp = require('../../function/compare/module.f.cjs')
|
|
4
|
+
const list = require('../../list/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @template T
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const btree = require('../types/
|
|
3
|
-
const { stringCmp } = require('../../function/compare/
|
|
4
|
-
const json = require('../../../json/
|
|
5
|
-
const { sort } = require('../../object/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const btree = require('../types/module.f.cjs')
|
|
3
|
+
const { stringCmp } = require('../../function/compare/module.f.cjs')
|
|
4
|
+
const json = require('../../../json/module.f.cjs')
|
|
5
|
+
const { sort } = require('../../object/module.f.cjs')
|
|
6
6
|
|
|
7
7
|
/** @type {(node: btree.Node<string>) => (value: string) => btree.Node<string>} */
|
|
8
8
|
const set = node => value => _.set(stringCmp(value))(value)(node)
|
package/types/btree/test.f.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const btree = require('./types/
|
|
2
|
-
const { values } = require('./
|
|
3
|
-
const json = require('../../json/
|
|
4
|
-
const { sort } = require('../object/
|
|
5
|
-
const { stringCmp } = require('../function/compare/
|
|
6
|
-
const list = require('../list/
|
|
7
|
-
const s = require('./set/
|
|
8
|
-
const f = require('./find/
|
|
1
|
+
const btree = require('./types/module.f.cjs')
|
|
2
|
+
const { values } = require('./module.f.cjs')
|
|
3
|
+
const json = require('../../json/module.f.cjs')
|
|
4
|
+
const { sort } = require('../object/module.f.cjs')
|
|
5
|
+
const { stringCmp } = require('../function/compare/module.f.cjs')
|
|
6
|
+
const list = require('../list/module.f.cjs')
|
|
7
|
+
const s = require('./set/module.f.cjs')
|
|
8
|
+
const f = require('./find/module.f.cjs')
|
|
9
9
|
|
|
10
10
|
require('./find/test.f.cjs')
|
|
11
11
|
require('./set/test.f.cjs')
|
|
File without changes
|
|
@@ -19,9 +19,9 @@ const flip = f => b => a => f(a)(b)
|
|
|
19
19
|
|
|
20
20
|
module.exports = {
|
|
21
21
|
/** @readonly */
|
|
22
|
-
compare: require('./compare/
|
|
22
|
+
compare: require('./compare/module.f.cjs'),
|
|
23
23
|
/** @readonly */
|
|
24
|
-
operator: require('./operator/
|
|
24
|
+
operator: require('./operator/module.f.cjs'),
|
|
25
25
|
/** @readonly */
|
|
26
26
|
identity,
|
|
27
27
|
/** @readonly */
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const { compose, identity } = require('../function/
|
|
2
|
-
const operator = require('../function/operator/
|
|
1
|
+
const { compose, identity } = require('../function/module.f.cjs')
|
|
2
|
+
const operator = require('../function/operator/module.f.cjs')
|
|
3
3
|
const { logicalNot, strictEqual, stateScanToScan, reduceToScan, foldToScan } = operator
|
|
4
4
|
|
|
5
5
|
/**
|
package/types/list/test.f.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const _ = require('./
|
|
2
|
-
const json = require('../../json/
|
|
3
|
-
const { sort } = require('../object/
|
|
4
|
-
const { addition, strictEqual, foldToScan } = require('../function/operator/
|
|
1
|
+
const _ = require('./module.f.cjs')
|
|
2
|
+
const json = require('../../json/module.f.cjs')
|
|
3
|
+
const { sort } = require('../object/module.f.cjs')
|
|
4
|
+
const { addition, strictEqual, foldToScan } = require('../function/operator/module.f.cjs')
|
|
5
5
|
|
|
6
6
|
/** @type {(sequence: _.List<json.Unknown>) => string} */
|
|
7
7
|
const stringify = sequence => json.stringify(sort)(_.toArray(sequence))
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const btTypes = require('../btree/types/
|
|
2
|
-
const btree = require('../btree/
|
|
3
|
-
const { values } = require("../btree/
|
|
4
|
-
const find = require('../btree/find/
|
|
5
|
-
const s = require('../btree/set/
|
|
6
|
-
const compare = require('../function/compare/
|
|
7
|
-
const { stringCmp } = require('../function/compare/
|
|
8
|
-
const list = require('../list/
|
|
9
|
-
const btRemove = require('../btree/remove/
|
|
1
|
+
const btTypes = require('../btree/types/module.f.cjs')
|
|
2
|
+
const btree = require('../btree/module.f.cjs')
|
|
3
|
+
const { values } = require("../btree/module.f.cjs")
|
|
4
|
+
const find = require('../btree/find/module.f.cjs')
|
|
5
|
+
const s = require('../btree/set/module.f.cjs')
|
|
6
|
+
const compare = require('../function/compare/module.f.cjs')
|
|
7
|
+
const { stringCmp } = require('../function/compare/module.f.cjs')
|
|
8
|
+
const list = require('../list/module.f.cjs')
|
|
9
|
+
const btRemove = require('../btree/remove/module.f.cjs')
|
|
10
10
|
|
|
11
11
|
/** @typedef {compare.Sign} Sign */
|
|
12
12
|
|
package/types/map/test.f.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const { at, set, empty, entries, remove } = require('./
|
|
2
|
-
const seq = require('../list/
|
|
1
|
+
const { at, set, empty, entries, remove } = require('./module.f.cjs')
|
|
2
|
+
const seq = require('../list/module.f.cjs')
|
|
3
3
|
|
|
4
4
|
{
|
|
5
5
|
let m = set('a')(1)(undefined)
|
|
@@ -53,7 +53,7 @@ const seq = require('../list/main.f.cjs')
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
{
|
|
56
|
-
/** @type {import('./
|
|
56
|
+
/** @type {import('./module.f.cjs').Map<number>} */
|
|
57
57
|
let m = empty
|
|
58
58
|
for (let i = 0; i < 100_000; ++i) {
|
|
59
59
|
m = set((i * i).toString())(i)(m)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
/** @readonly */
|
|
3
|
+
array: require('./array/module.f.cjs'),
|
|
4
|
+
/** @readonly */
|
|
5
|
+
btree: require('./btree/module.f.cjs'),
|
|
6
|
+
/** @readonly */
|
|
7
|
+
function: require('./function/module.f.cjs'),
|
|
8
|
+
/** @readonly */
|
|
9
|
+
list: require('./list/module.f.cjs'),
|
|
10
|
+
/** @readonly */
|
|
11
|
+
map: require('./map/module.f.cjs'),
|
|
12
|
+
/** @readonly */
|
|
13
|
+
object: require('./object/module.f.cjs'),
|
|
14
|
+
/** @readonly */
|
|
15
|
+
range: require('./range/module.f.cjs'),
|
|
16
|
+
/** @readonly */
|
|
17
|
+
result: require('./result/module.f.cjs'),
|
|
18
|
+
/** @readonly */
|
|
19
|
+
stringSet: require('./stringset/module.f.cjs'),
|
|
20
|
+
}
|
package/types/object/test.f.cjs
CHANGED
|
File without changes
|
package/types/option/test.f.cjs
CHANGED
|
File without changes
|
package/types/range/test.f.cjs
CHANGED
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const btTypes = require('../btree/types/
|
|
2
|
-
const btree = require('../btree/
|
|
1
|
+
const btTypes = require('../btree/types/module.f.cjs')
|
|
2
|
+
const btree = require('../btree/module.f.cjs')
|
|
3
3
|
const { find } = btree
|
|
4
|
-
const { stringCmp } = require("../function/compare/
|
|
5
|
-
const list = require('../list/
|
|
6
|
-
const { compose } = require('../function/
|
|
4
|
+
const { stringCmp } = require("../function/compare/module.f.cjs")
|
|
5
|
+
const list = require('../list/module.f.cjs')
|
|
6
|
+
const { compose } = require('../function/module.f.cjs')
|
|
7
7
|
|
|
8
8
|
/** @typedef {btTypes.Tree<string>} StringSet */
|
|
9
9
|
|
package/com/cpp/main.f.cjs
DELETED
package/main.f.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/** @readonly */
|
|
3
|
-
commonjs: require('./commonjs/main.f.cjs'),
|
|
4
|
-
/** @readonly */
|
|
5
|
-
dev: require('./dev/main.f.cjs'),
|
|
6
|
-
/** @readonly */
|
|
7
|
-
html: require('./html/main.f.cjs'),
|
|
8
|
-
/** @readonly */
|
|
9
|
-
json: require('./json/main.f.cjs'),
|
|
10
|
-
/** @readonly */
|
|
11
|
-
sha2: require('./sha2/main.f.cjs'),
|
|
12
|
-
/** @readonly */
|
|
13
|
-
types: require('./types/main.f.cjs'),
|
|
14
|
-
}
|
package/types/main.f.cjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/** @readonly */
|
|
3
|
-
array: require('./array/main.f.cjs'),
|
|
4
|
-
/** @readonly */
|
|
5
|
-
btree: require('./btree/main.f.cjs'),
|
|
6
|
-
/** @readonly */
|
|
7
|
-
function: require('./function/main.f.cjs'),
|
|
8
|
-
/** @readonly */
|
|
9
|
-
list: require('./list/main.f.cjs'),
|
|
10
|
-
/** @readonly */
|
|
11
|
-
map: require('./map/main.f.cjs'),
|
|
12
|
-
/** @readonly */
|
|
13
|
-
object: require('./object/main.f.cjs'),
|
|
14
|
-
/** @readonly */
|
|
15
|
-
range: require('./range/main.f.cjs'),
|
|
16
|
-
/** @readonly */
|
|
17
|
-
result: require('./result/main.f.cjs'),
|
|
18
|
-
/** @readonly */
|
|
19
|
-
stringSet: require('./stringset/main.f.cjs'),
|
|
20
|
-
}
|