@northtalk/ts 0.6.0 → 0.8.0

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 (57) hide show
  1. package/{binary-value-C4ZiXVjv.d.ts → binary-value-B93hEK7l.d.ts} +1 -1
  2. package/{checker-CUhn2XaM.js → checker-Q4w7rLXk.js} +600 -85
  3. package/{core-egHbNmve.d.ts → core-BBPI6EhG.d.ts} +1 -1
  4. package/{debug--Of4MSLw.d.ts → debug-s6QIovKS.d.ts} +142 -10
  5. package/debug.d.ts +1 -1
  6. package/debug.js +1 -1
  7. package/{driver-BIm1mL77.d.ts → driver-D5yrK3Nu.d.ts} +1 -1
  8. package/driver.d.ts +1 -1
  9. package/driver.js +1 -1
  10. package/encoding-B7MCQ4ii.js +338 -0
  11. package/{engine-DbDcopGM.d.ts → engine-Dy-BCoiw.d.ts} +2 -2
  12. package/{engine-CXf5FCwi.js → engine-OL1BveVZ.js} +6 -6
  13. package/{errors-D11zizZg.js → errors-VuwK669R.js} +157 -23
  14. package/{group-BpzTo0k4.js → group-Ccuqwq12.js} +477 -110
  15. package/{http-fetch-DFwVIOQg.js → http-fetch--O27xjSW.js} +2 -2
  16. package/http.d.ts +1 -1
  17. package/http.js +4 -4
  18. package/index.d.ts +6 -6
  19. package/index.js +15 -14
  20. package/{inline-grants-XbX9HL_w.js → inline-grants-DmOdgSoK.js} +4 -5
  21. package/{lean-aCvN6y52.js → lean-BjhQvHyr.js} +13 -8
  22. package/{lean-DiS9rUcn.d.ts → lean-D6DQfbqH.d.ts} +42 -7
  23. package/lean.d.ts +6 -6
  24. package/lean.js +15 -14
  25. package/{manifest-CCfpn0kC.js → manifest-BeViDIoy.js} +4 -3
  26. package/{manifest-mpivREn-.d.ts → manifest-l07K7nW-.d.ts} +4 -2
  27. package/message-layer.d.ts +2 -2
  28. package/message-layer.js +2 -2
  29. package/notify.d.ts +1 -1
  30. package/notify.js +1 -1
  31. package/{objects-DmUc0lha.js → objects-TarIKBL8.js} +1 -1
  32. package/{objects-DYq_YvaQ.d.ts → objects-q0lnCK-4.d.ts} +8 -3
  33. package/{operations-DnCcztkZ.js → operations-BAELnqwf.js} +133 -58
  34. package/package.json +5 -1
  35. package/peer-capability-B8eKbljR.js +151 -0
  36. package/peer.d.ts +180 -0
  37. package/peer.js +559 -0
  38. package/{readers-8WCimMop.d.ts → readers-AeB1bJ--.d.ts} +1 -1
  39. package/{readers-CsvlahLi.js → readers-BG8g59qS.js} +1 -1
  40. package/{request-pump-binary-oqjWFqZA.js → request-pump-binary-87klb6sX.js} +9 -4
  41. package/{router-BZ-aYeXA.js → router-DXmPA-qi.js} +4 -4
  42. package/{router-BQsO8aPV.d.ts → router-DXoJ_2Z4.d.ts} +2 -2
  43. package/session.d.ts +2 -2
  44. package/session.js +64 -16
  45. package/setup.d.ts +3 -2
  46. package/setup.js +14 -16
  47. package/sqlite.d.ts +2 -2
  48. package/sqlite.js +5 -5
  49. package/{store-DHlo6fP5.js → store-DzpyWjt2.js} +2 -2
  50. package/store-capability-CxQJ_Huz.js +187 -0
  51. package/store.d.ts +2 -2
  52. package/store.js +2 -2
  53. package/{user-capability-BcRQyyEw.js → user-capability-ClYd8Vln.js} +3 -4
  54. package/wasm.d.ts +13 -6
  55. package/wasm.js +47 -19
  56. package/encoding-RUuES_e4.js +0 -99
  57. package/store-capability-BrUUAwVS.js +0 -389
@@ -56,12 +56,8 @@ const grammar = {
56
56
  "true"
57
57
  ],
58
58
  "labels": {
59
- "reserved": ["to"],
60
- "excluded": [
61
- "from",
62
- "otherwise",
63
- "with"
64
- ]
59
+ "reserved": ["on", "to"],
60
+ "excluded": ["from", "otherwise"]
65
61
  },
66
62
  "chunk": [
67
63
  {
@@ -164,6 +160,8 @@ const grammar = {
164
160
  "ordering-words",
165
161
  "pattern-anchor",
166
162
  "replace-first",
163
+ "repeat-with",
164
+ "shape-of",
167
165
  "script-variable",
168
166
  "target",
169
167
  "wait-from",
@@ -381,6 +379,53 @@ const units = [
381
379
  "calendar": false,
382
380
  "factor": ["5", "9"]
383
381
  },
382
+ {
383
+ "name": "Hz",
384
+ "kind": "frequency",
385
+ "calendar": false,
386
+ "factor": ["1", "1"]
387
+ },
388
+ {
389
+ "name": "kHz",
390
+ "kind": "frequency",
391
+ "calendar": false,
392
+ "factor": ["1000", "1"]
393
+ },
394
+ {
395
+ "name": "cent",
396
+ "plural": "cents",
397
+ "kind": "pitch interval",
398
+ "calendar": false,
399
+ "factor": ["1", "1"]
400
+ },
401
+ {
402
+ "name": "semitone",
403
+ "plural": "semitones",
404
+ "kind": "pitch interval",
405
+ "calendar": false,
406
+ "factor": ["100", "1"]
407
+ },
408
+ {
409
+ "name": "octave",
410
+ "plural": "octaves",
411
+ "kind": "pitch interval",
412
+ "calendar": false,
413
+ "factor": ["1200", "1"]
414
+ },
415
+ {
416
+ "name": "bar",
417
+ "plural": "bars",
418
+ "kind": "bar",
419
+ "calendar": false,
420
+ "factor": ["1", "1"]
421
+ },
422
+ {
423
+ "name": "beat",
424
+ "plural": "beats",
425
+ "kind": "beat",
426
+ "calendar": false,
427
+ "factor": ["1", "1"]
428
+ },
384
429
  {
385
430
  "name": "USD",
386
431
  "kind": "USD",
@@ -449,6 +494,10 @@ const unitKinds = [
449
494
  "exact duration",
450
495
  "calendar duration",
451
496
  "temperature difference",
497
+ "frequency",
498
+ "pitch interval",
499
+ "bar",
500
+ "beat",
452
501
  "USD",
453
502
  "EUR",
454
503
  "GBP",
@@ -491,6 +540,28 @@ const unitKindTable = [
491
540
  "dimension": "temperature",
492
541
  "factor": "1"
493
542
  },
543
+ {
544
+ "name": "frequency",
545
+ "dimension": "time^-1",
546
+ "factor": "1"
547
+ },
548
+ {
549
+ "name": "pitch interval",
550
+ "dimension": "pitch",
551
+ "factor": "1"
552
+ },
553
+ {
554
+ "name": "bar",
555
+ "dimension": "bar",
556
+ "factor": "1",
557
+ "musical": true
558
+ },
559
+ {
560
+ "name": "beat",
561
+ "dimension": "beat",
562
+ "factor": "1",
563
+ "musical": true
564
+ },
494
565
  {
495
566
  "name": "USD",
496
567
  "dimension": "USD",
@@ -552,6 +623,7 @@ const diagnosticCodes = [
552
623
  "leaves recovery catch",
553
624
  "duplicate key",
554
625
  "unknown kind",
626
+ "bad shape",
555
627
  "no conversion",
556
628
  "bad number",
557
629
  "pattern too large",
@@ -580,6 +652,7 @@ const diagnosticCodes = [
580
652
  "veto outside a decision",
581
653
  "after a suspension",
582
654
  "wrong message",
655
+ "negated shape",
583
656
  "bad suffixes",
584
657
  "can't write",
585
658
  "not a property",
@@ -2494,6 +2567,20 @@ const characterJoinEnd = (s) => {
2494
2567
  };
2495
2568
  const asciiOnly = /^[\u0000-\u007f]*$/;
2496
2569
  const isASCII = (s) => asciiOnly.test(s);
2570
+ /** The UTF-8 byte count of `s`, as TextEncoder would encode it, unallocated. */
2571
+ const utf8Length = (s) => {
2572
+ let bytes = s.length;
2573
+ for (let i = 0; i < s.length; i++) {
2574
+ const c = s.charCodeAt(i);
2575
+ if (c < 128) continue;
2576
+ if (c < 2048) bytes += 1;
2577
+ else if (c >= 55296 && c <= 56319 && (s.charCodeAt(i + 1) & 64512) === 56320) {
2578
+ bytes += 2;
2579
+ i++;
2580
+ } else bytes += 2;
2581
+ }
2582
+ return bytes;
2583
+ };
2497
2584
  /** Slices `s` at Character boundaries from characterBoundaries. */
2498
2585
  const charactersAt = (s, boundaries) => {
2499
2586
  const result = new Array(boundaries.length - 1);
@@ -2575,7 +2662,6 @@ const lower = (s) => {
2575
2662
  };
2576
2663
  //#endregion
2577
2664
  //#region src/text-storage.ts
2578
- const encoder = new TextEncoder();
2579
2665
  const headOf = (text, boundaries) => {
2580
2666
  const end = characterJoinEnd(text);
2581
2667
  let count = 1;
@@ -2601,7 +2687,7 @@ var TextStorage = class TextStorage {
2601
2687
  this.#utf8 = ascii ? text.length : void 0;
2602
2688
  }
2603
2689
  get utf8Length() {
2604
- return this.#utf8 ??= encoder.encode(this.text).length;
2690
+ return this.#utf8 ??= utf8Length(this.text);
2605
2691
  }
2606
2692
  get characterCount() {
2607
2693
  if (this.#count === void 0) {
@@ -3123,12 +3209,14 @@ const ownUnit = (spec) => {
3123
3209
  var UnitError = class extends Error {
3124
3210
  name = "UnitError";
3125
3211
  };
3212
+ const musicalKinds = new Set(unitKindTable.flatMap((k) => "musical" in k && k.musical ? [k.name] : []));
3126
3213
  const entries = /* @__PURE__ */ new Map();
3127
3214
  for (const u of units) {
3128
3215
  const entry = {
3129
3216
  name: u.name,
3130
3217
  kind: u.kind,
3131
3218
  calendar: u.calendar,
3219
+ musical: musicalKinds.has(u.kind),
3132
3220
  factor: [parseDec(u.factor[0]), parseDec(u.factor[1])],
3133
3221
  ..."plural" in u && u.plural ? { plural: u.plural } : {}
3134
3222
  };
@@ -3153,6 +3241,7 @@ const parseUnit = (text) => {
3153
3241
  let sign = text.startsWith("1/") ? -1 : 1;
3154
3242
  const slots = [];
3155
3243
  let calendar = false;
3244
+ let musical = false;
3156
3245
  const parts = body.split(/([*/])/);
3157
3246
  let slashes = sign < 0 ? 1 : 0;
3158
3247
  for (let i = 0; i < parts.length; i += 2) {
@@ -3172,10 +3261,13 @@ const parseUnit = (text) => {
3172
3261
  unit: entry.name,
3173
3262
  exponent
3174
3263
  });
3175
- calendar ||= entry.calendar && (parts.length > 1 || power !== void 0 || sign < 0);
3264
+ const compound = parts.length > 1 || power !== void 0 || sign < 0;
3265
+ calendar ||= entry.calendar && compound;
3266
+ musical ||= entry.musical && compound;
3176
3267
  }
3177
3268
  if (slashes > 1) throw new UnitError("a Compound Unit has at most one `/`");
3178
3269
  if (calendar) throw new UnitError("a Calendar Unit can't be part of a Compound Unit");
3270
+ if (musical) throw new UnitError("a Musical Unit can't be part of a Compound Unit");
3179
3271
  return ownUnit(ordered(slots));
3180
3272
  };
3181
3273
  const ordered = (slots) => slots.filter((slot) => slot.exponent !== 0).sort((a, b) => kindOrder.get(entryOf(a).kind) - kindOrder.get(entryOf(b).kind));
@@ -3275,10 +3367,18 @@ const fromBase = (value, spec) => {
3275
3367
  return v;
3276
3368
  };
3277
3369
  const checkCalendar = (spec) => {
3278
- const calendar = spec.find((slot) => entryOf(slot).calendar);
3279
- if (calendar && (spec.length > 1 || calendar.exponent !== 1)) throw new UnitError("a Calendar Unit stands alone");
3370
+ const alone = spec.find((slot) => {
3371
+ const entry = entryOf(slot);
3372
+ return entry.calendar || entry.musical;
3373
+ });
3374
+ if (alone && (spec.length > 1 || alone.exponent !== 1)) throw new UnitError(entryOf(alone).calendar ? "a Calendar Unit stands alone" : "a Musical Unit stands alone");
3280
3375
  return spec;
3281
3376
  };
3377
+ /** The Musical Unit Kind a Unit is in, `bar` or `beat`, if it is one (ADR 0166). */
3378
+ const musicalKind = (spec) => {
3379
+ const entry = spec.length === 1 ? entryOf(spec[0]) : void 0;
3380
+ return entry?.musical && spec[0].exponent === 1 ? entry.kind : void 0;
3381
+ };
3282
3382
  /**
3283
3383
  * The Unit of `a * b` or `a / b` (chapter 3, Quantity arithmetic): the left
3284
3384
  * operand's, with each of the right operand's slots converted into the
@@ -3350,36 +3450,55 @@ let decimalParts;
3350
3450
  * written with exponent 0, or NaN. The fast paths compute on it directly.
3351
3451
  */
3352
3452
  let smallInteger;
3453
+ /**
3454
+ * Internal: a Decimal's coefficient as a signed JS number when it is a safe
3455
+ * integer, or NaN; `smallExponent` is then its exponent. The fast paths
3456
+ * compute on the pair directly.
3457
+ */
3458
+ let smallCoefficient;
3459
+ let smallExponent;
3353
3460
  let isDecimal;
3354
3461
  /** Internal: owned Map pairs. Never pass these arrays to a Host. */
3355
3462
  let ownedMapPairs;
3356
3463
  /** Internal: immutable Text storage and its cached derived facts. */
3357
3464
  let textStorage;
3465
+ /**
3466
+ * Internal: a Value's cached logical size and contents (costs.ts), or -1
3467
+ * before either is known. Caching never changes what the Value is.
3468
+ */
3469
+ let knownSize;
3470
+ let knownContents;
3471
+ let cacheSize;
3472
+ let cacheContents;
3358
3473
  let textValue;
3359
3474
  var Decimal = class Decimal {
3360
3475
  #canonical;
3361
3476
  #parts;
3362
3477
  #small;
3363
- constructor(token, canonical, parts, small) {
3478
+ #exponent;
3479
+ constructor(token, canonical, parts, small, exponent) {
3364
3480
  if (token !== decimalToken) invalidValue("Use a numeric constructor");
3365
3481
  this.#canonical = canonical;
3366
3482
  this.#parts = parts && frozenParts(parts);
3367
3483
  this.#small = small;
3484
+ this.#exponent = exponent;
3368
3485
  Object.preventExtensions(this);
3369
3486
  }
3370
3487
  static {
3371
3488
  isDecimal = (input) => typeof input === "object" && input !== null && #small in input;
3372
- makeDecimal = (canonical, parts) => new Decimal(decimalToken, canonical, parts, parts.exponent === 0 && parts.coefficient <= SAFE ? Number(parts.coefficient) * (parts.negative ? -1 : 1) + 0 : NaN);
3373
- makeSmallDecimal = (n) => new Decimal(decimalToken, void 0, void 0, n);
3489
+ makeDecimal = (canonical, parts) => new Decimal(decimalToken, canonical, parts, parts.coefficient <= SAFE ? Number(parts.coefficient) * (parts.negative ? -1 : 1) + 0 : NaN, parts.exponent);
3490
+ makeSmallDecimal = (n, exponent) => new Decimal(decimalToken, void 0, void 0, n, exponent);
3374
3491
  decimalParts = (decimal) => decimal.#parts ??= frozenParts({
3375
3492
  coefficient: BigInt(Math.abs(decimal.#small)),
3376
- exponent: 0,
3493
+ exponent: decimal.#exponent,
3377
3494
  negative: decimal.#small < 0
3378
3495
  });
3379
- smallInteger = (decimal) => decimal.#small;
3496
+ smallInteger = (decimal) => decimal.#exponent === 0 ? decimal.#small : NaN;
3497
+ smallCoefficient = (decimal) => decimal.#small;
3498
+ smallExponent = (decimal) => decimal.#exponent;
3380
3499
  }
3381
3500
  toString() {
3382
- return this.#canonical ??= this.#parts ? formatDec(this.#parts) : String(this.#small);
3501
+ return this.#canonical ??= this.#parts || this.#exponent !== 0 ? formatDec(decimalParts(this)) : String(this.#small);
3383
3502
  }
3384
3503
  toBigInt() {
3385
3504
  const parts = decimalParts(this);
@@ -3394,6 +3513,8 @@ var Decimal = class Decimal {
3394
3513
  var Value = class Value {
3395
3514
  #data;
3396
3515
  #kind;
3516
+ #size = -1;
3517
+ #contents = -1;
3397
3518
  constructor(token, kind, payload) {
3398
3519
  if (token !== valueToken) invalidValue("Use a named Value constructor");
3399
3520
  this.#kind = kind;
@@ -3404,6 +3525,14 @@ var Value = class Value {
3404
3525
  makeValue = (kind, payload) => new Value(valueToken, kind, payload);
3405
3526
  ownedMapPairs = (value) => value.#kind === "map" ? value.#data.pairs() : void 0;
3406
3527
  textStorage = (value) => value.#data;
3528
+ knownSize = (value) => value.#size;
3529
+ knownContents = (value) => value.#contents;
3530
+ cacheSize = (value, size) => {
3531
+ value.#size = size;
3532
+ };
3533
+ cacheContents = (value, contents) => {
3534
+ value.#contents = contents;
3535
+ };
3407
3536
  textValue = (storage) => makeValue("text", storage);
3408
3537
  editListValue = (current, i, value) => makeValue("list", current.#data.set(i, value));
3409
3538
  editMapValue = (current, key, value) => {
@@ -3799,9 +3928,11 @@ const dec = (s) => {
3799
3928
  negative: negative && !zero
3800
3929
  }));
3801
3930
  };
3802
- /** Internal: a checked arithmetic result, retaining its coefficient directly. */
3803
- /** A safe integer as a number Value, without BigInt or text work. */
3804
- const smallNumber = (n) => makeValue("number", makeSmallDecimal(n + 0));
3931
+ /**
3932
+ * A safe-integer coefficient and an exponent within chapter 3's limits
3933
+ * (-6176 to 0) as a number Value, without BigInt or text work.
3934
+ */
3935
+ const smallDecimalNumber = (n, exponent) => makeValue("number", makeSmallDecimal(n + 0, exponent));
3805
3936
  const canonicalNumber = (parts) => makeValue("number", makeDecimal(void 0, parts));
3806
3937
  /** ECMAScript's shortest round-trip digits, expanded without rounding. */
3807
3938
  const num = (n) => {
@@ -4136,8 +4267,11 @@ var ScriptError = class extends Error {
4136
4267
  this.reason = code === "send failed" ? data.get("reason").asText() : void 0;
4137
4268
  }
4138
4269
  };
4139
- /** The rejection of a Request whose receiver's Run ended without answering. */
4140
- const sendFailed = (reason) => new ScriptError("send failed", `No answer came: the receiver's Run ended ${reason}`, map([["reason", text(reason)]]));
4270
+ /**
4271
+ * The rejection of a Request whose receiver's Run ended without answering.
4272
+ * An `errored` Run's error map rides as `error` (chapter 6).
4273
+ */
4274
+ const sendFailed = (reason, error) => new ScriptError("send failed", `No answer came: the receiver's Run ended ${reason}`, map([["reason", text(reason)], ...error ? [["error", error]] : []]));
4141
4275
  const hostDetail = (error) => error instanceof Error ? `${error.name}: ${error.message}` : `the Host threw ${typeof error === "symbol" ? error.toString() : String(error)}`;
4142
4276
  //#endregion
4143
- export { textStorage as $, lower as $t, listValues as A, US_PER_DAY as At, ownedMapPairs as B, formatInstant as Bt, functionsBelongTo as C, multiply as Ct, isDecimal as D, subtract as Dt, instantOf as E, roundRatio as Et, mapOfLayout as F, civilFromFields as Ft, record as G, parseInstant as Gt, quantity as H, isoWeek as Ht, mapWithEntry as I, civilOfDays as It, sliceText as J, assertScalarText as Jt, requireArgs as K, parseInstantText as Kt, nothing as L, civilOfUs as Lt, literalDigits as M, addMonths as Mt, map as N, checkInstant as Nt, isReadable as O, withinLimits as Ot, mapLayout as P, civilDays as Pt, text as Q, isWhiteSpace as Qt, num as R, civilUs as Rt, functionValue as S, mod as St, instant as T, powerInteger as Tt, quantityOf as U, nowMicros as Ut, patternValue as V, isInstant as Vt, range as W, parseCivil as Wt, smallNumber as X, charactersAt as Xt, smallInteger as Y, characterBoundaries as Yt, sourceForm as Z, generalCategory as Zt, concatText as _, div as _t, hostDetail as a, builtins as an, parseUnit as at, displayText as b, integerOf as bt, Decimal as c, libraryExports as cn, toBase as ct, bytes as d, ArithmeticError as dt, normalizeNFC as en, trimWhiteSpace as et, bytesOf as f, add as ft, compareBytes as g, digitsOf as gt, civilOf as h, digitCount as ht, ScriptError as i, unicodeVersion as in, ownUnit as it, listWithItem as j, US_PER_SECOND as jt, list as k, DateRangeError as kt, Value as l, unitKinds as ln, unitEntry as lt, civilDate as m, decOf as mt, LoadError as n, simpleFold as nn, combine as nt, invalidValue as o, diagnosticCodes as on, powerOf as ot, canonicalNumber as p, compareDec as pt, requireValue as q, weekday as qt, MailboxFull as r, upper as rn, fromBase as rt, sendFailed as s, grammar as sn, sameDimension as st, HostError as t, scalarCount as tn, UnitError as tt, bool as u, units as un, unitText as ut, dec as v, divide as vt, hiddenCodePoint as w, negate as wt, extendList as x, isInteger as xt, decimalParts as y, formatDec as yt, objectValue as z, dayOfYear as zt };
4277
+ export { smallCoefficient as $, parseInstantText as $t, isReadable as A, multiply as At, mapWithEntry as B, checkInstant as Bt, extendList as C, digitsOf as Ct, instant as D, integerOf as Dt, hiddenCodePoint as E, formatDec as Et, listWithItem as F, withinLimits as Ft, patternValue as G, civilUs as Gt, num as H, civilFromFields as Ht, literalDigits as I, DateRangeError as It, range as J, isInstant as Jt, quantity as K, dayOfYear as Kt, map as L, US_PER_DAY as Lt, knownSize as M, powerInteger as Mt, list as N, roundRatio as Nt, instantOf as O, isInteger as Ot, listValues as P, subtract as Pt, sliceText as Q, parseInstant as Qt, mapLayout as R, US_PER_SECOND as Rt, displayText as S, digitCount as St, functionsBelongTo as T, divide as Tt, objectValue as U, civilOfDays as Ut, nothing as V, civilDays as Vt, ownedMapPairs as W, civilOfUs as Wt, requireArgs as X, nowMicros as Xt, record as Y, isoWeek as Yt, requireValue as Z, parseCivil as Zt, civilOf as _, unitKinds as _n, unitText as _t, hostDetail as a, isWhiteSpace as an, textStorage as at, dec as b, compareDec as bt, Decimal as c, scalarCount as cn, combine as ct, bytes as d, utf8Length as dn, ownUnit as dt, weekday as en, smallDecimalNumber as et, bytesOf as f, unicodeVersion as fn, parseUnit as ft, civilDate as g, libraryExports as gn, unitEntry as gt, canonicalNumber as h, grammar as hn, toBase as ht, ScriptError as i, generalCategory as in, text as it, knownContents as j, negate as jt, isDecimal as k, mod as kt, Value as l, simpleFold as ln, fromBase as lt, cacheSize as m, diagnosticCodes as mn, sameDimension as mt, LoadError as n, characterBoundaries as nn, smallInteger as nt, invalidValue as o, lower as on, trimWhiteSpace as ot, cacheContents as p, builtins as pn, powerOf as pt, quantityOf as q, formatInstant as qt, MailboxFull as r, charactersAt as rn, sourceForm as rt, sendFailed as s, normalizeNFC as sn, UnitError as st, HostError as t, assertScalarText as tn, smallExponent as tt, bool as u, upper as un, musicalKind as ut, compareBytes as v, units as vn, ArithmeticError as vt, functionValue as w, div as wt, decimalParts as x, decOf as xt, concatText as y, add as yt, mapOfLayout as z, addMonths as zt };