@parischap/conversions 0.1.0 → 0.2.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.
- package/README.md +51 -50
- package/cjs/BigDecimal.js +2 -2
- package/cjs/BigInt.js +7 -5
- package/cjs/BigInt.js.map +1 -1
- package/cjs/DateTime.js +144 -136
- package/cjs/DateTime.js.map +1 -1
- package/cjs/DateTimeFormat.js +7 -2
- package/cjs/DateTimeFormat.js.map +1 -1
- package/cjs/DateTimeFormatContext.js +11 -6
- package/cjs/DateTimeFormatContext.js.map +1 -1
- package/cjs/Email.js +11 -15
- package/cjs/Email.js.map +1 -1
- package/cjs/Integer.js +33 -23
- package/cjs/Integer.js.map +1 -1
- package/cjs/NumberBase10Format.js +65 -65
- package/cjs/PositiveInteger.js +44 -29
- package/cjs/PositiveInteger.js.map +1 -1
- package/cjs/PositiveReal.js +34 -24
- package/cjs/PositiveReal.js.map +1 -1
- package/cjs/Real.js +29 -18
- package/cjs/Real.js.map +1 -1
- package/cjs/RoundingMode.js +7 -4
- package/cjs/RoundingMode.js.map +1 -1
- package/cjs/RoundingOption.js +6 -6
- package/cjs/RoundingOption.js.map +1 -1
- package/cjs/Schema.js +29 -28
- package/cjs/Schema.js.map +1 -1
- package/cjs/SemVer.js +19 -20
- package/cjs/SemVer.js.map +1 -1
- package/cjs/Template.js +36 -31
- package/cjs/Template.js.map +1 -1
- package/cjs/TemplatePart.js +4 -4
- package/cjs/TemplateParts.js +3 -2
- package/cjs/TemplateParts.js.map +1 -1
- package/cjs/TemplatePlaceholder.js +56 -45
- package/cjs/TemplatePlaceholder.js.map +1 -1
- package/cjs/TemplateSeparator.js +17 -24
- package/cjs/TemplateSeparator.js.map +1 -1
- package/cjs/internal/Int.js +5 -8
- package/cjs/internal/Int.js.map +1 -1
- package/cjs/internal/Positive.js +5 -8
- package/cjs/internal/Positive.js.map +1 -1
- package/dts/BigDecimal.d.ts +2 -2
- package/dts/BigDecimal.d.ts.map +1 -1
- package/dts/BigInt.d.ts +7 -5
- package/dts/BigInt.d.ts.map +1 -1
- package/dts/DateTime.d.ts +145 -137
- package/dts/DateTime.d.ts.map +1 -1
- package/dts/DateTimeFormat.d.ts +7 -2
- package/dts/DateTimeFormat.d.ts.map +1 -1
- package/dts/DateTimeFormatContext.d.ts +17 -12
- package/dts/DateTimeFormatContext.d.ts.map +1 -1
- package/dts/Email.d.ts +16 -13
- package/dts/Email.d.ts.map +1 -1
- package/dts/Integer.d.ts +43 -21
- package/dts/Integer.d.ts.map +1 -1
- package/dts/NumberBase10Format.d.ts +68 -68
- package/dts/PositiveInteger.d.ts +54 -27
- package/dts/PositiveInteger.d.ts.map +1 -1
- package/dts/PositiveReal.d.ts +44 -22
- package/dts/PositiveReal.d.ts.map +1 -1
- package/dts/Real.d.ts +39 -16
- package/dts/Real.d.ts.map +1 -1
- package/dts/RoundingMode.d.ts +6 -3
- package/dts/RoundingMode.d.ts.map +1 -1
- package/dts/RoundingOption.d.ts +6 -6
- package/dts/Schema.d.ts +32 -33
- package/dts/Schema.d.ts.map +1 -1
- package/dts/SemVer.d.ts +25 -13
- package/dts/SemVer.d.ts.map +1 -1
- package/dts/Template.d.ts +30 -29
- package/dts/Template.d.ts.map +1 -1
- package/dts/TemplatePart.d.ts +4 -4
- package/dts/TemplateParts.d.ts +4 -3
- package/dts/TemplateParts.d.ts.map +1 -1
- package/dts/TemplatePlaceholder.d.ts +56 -44
- package/dts/TemplatePlaceholder.d.ts.map +1 -1
- package/dts/TemplateSeparator.d.ts +9 -51
- package/dts/TemplateSeparator.d.ts.map +1 -1
- package/dts/internal/Int.d.ts +0 -4
- package/dts/internal/Int.d.ts.map +1 -1
- package/dts/internal/Positive.d.ts +0 -4
- package/dts/internal/Positive.d.ts.map +1 -1
- package/esm/BigDecimal.js +2 -2
- package/esm/BigInt.js +7 -5
- package/esm/BigInt.js.map +1 -1
- package/esm/DateTime.js +144 -136
- package/esm/DateTime.js.map +1 -1
- package/esm/DateTimeFormat.js +7 -2
- package/esm/DateTimeFormat.js.map +1 -1
- package/esm/DateTimeFormatContext.js +11 -6
- package/esm/DateTimeFormatContext.js.map +1 -1
- package/esm/Email.js +10 -13
- package/esm/Email.js.map +1 -1
- package/esm/Integer.js +33 -23
- package/esm/Integer.js.map +1 -1
- package/esm/NumberBase10Format.js +65 -65
- package/esm/PositiveInteger.js +44 -29
- package/esm/PositiveInteger.js.map +1 -1
- package/esm/PositiveReal.js +34 -24
- package/esm/PositiveReal.js.map +1 -1
- package/esm/Real.js +29 -18
- package/esm/Real.js.map +1 -1
- package/esm/RoundingMode.js +6 -3
- package/esm/RoundingMode.js.map +1 -1
- package/esm/RoundingOption.js +6 -6
- package/esm/RoundingOption.js.map +1 -1
- package/esm/Schema.js +33 -34
- package/esm/Schema.js.map +1 -1
- package/esm/SemVer.js +18 -18
- package/esm/SemVer.js.map +1 -1
- package/esm/Template.js +36 -31
- package/esm/Template.js.map +1 -1
- package/esm/TemplatePart.js +4 -4
- package/esm/TemplateParts.js +3 -2
- package/esm/TemplateParts.js.map +1 -1
- package/esm/TemplatePlaceholder.js +55 -44
- package/esm/TemplatePlaceholder.js.map +1 -1
- package/esm/TemplateSeparator.js +16 -24
- package/esm/TemplateSeparator.js.map +1 -1
- package/esm/internal/Int.js +5 -7
- package/esm/internal/Int.js.map +1 -1
- package/esm/internal/Positive.js +5 -7
- package/esm/internal/Positive.js.map +1 -1
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* This module implements
|
3
|
-
*
|
2
|
+
* This module implements a `CVNumberBase10Format` which describes the possible options to
|
3
|
+
* format/parse a base-10 number or `BigDecimal` and implements the formatting/parsing algortithms
|
4
4
|
*/
|
5
5
|
import { MTypes } from '@parischap/effect-lib';
|
6
6
|
import { BigDecimal, Inspectable, Option, Pipeable } from 'effect';
|
@@ -13,7 +13,7 @@ import * as CVRoundingMode from './RoundingMode.js';
|
|
13
13
|
*/
|
14
14
|
export declare const moduleTag = "@parischap/conversions/NumberBase10Format/";
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Type that represents the possible sign display options
|
17
17
|
*
|
18
18
|
* @category Models
|
19
19
|
*/
|
@@ -57,13 +57,13 @@ export declare enum SignDisplay {
|
|
57
57
|
*/
|
58
58
|
export declare namespace SignDisplay {
|
59
59
|
/**
|
60
|
-
* Type that represents the possible strings
|
60
|
+
* Type that represents the possible strings used to represent a sign
|
61
61
|
*
|
62
62
|
* @category Models
|
63
63
|
*/
|
64
64
|
type SignString = '-' | '+' | '';
|
65
65
|
/**
|
66
|
-
* Type that represents the possible values
|
66
|
+
* Type that represents the possible values of a sign
|
67
67
|
*
|
68
68
|
* @category Models
|
69
69
|
*/
|
@@ -102,7 +102,7 @@ export declare namespace SignDisplay {
|
|
102
102
|
const toFormatter: MTypes.OneArgFunction<SignDisplay, Formatter>;
|
103
103
|
}
|
104
104
|
/**
|
105
|
-
*
|
105
|
+
* Type that represents the possible scientific notation options
|
106
106
|
*
|
107
107
|
* @category Models
|
108
108
|
*/
|
@@ -140,7 +140,7 @@ export declare enum ScientificNotation {
|
|
140
140
|
Engineering = 3
|
141
141
|
}
|
142
142
|
/**
|
143
|
-
*
|
143
|
+
* ScientificNotation namespace
|
144
144
|
*
|
145
145
|
* @category Models
|
146
146
|
*/
|
@@ -186,7 +186,7 @@ export declare namespace ScientificNotation {
|
|
186
186
|
const toMantissaAdjuster: MTypes.OneArgFunction<ScientificNotation, MantissaAdjuster>;
|
187
187
|
}
|
188
188
|
/**
|
189
|
-
* Type that represents a
|
189
|
+
* Type that represents a `CVNumberBase10Format`
|
190
190
|
*
|
191
191
|
* @category Models
|
192
192
|
*/
|
@@ -320,7 +320,7 @@ export declare const roundingMode: MTypes.OneArgFunction<Type, CVRoundingMode.Ty
|
|
320
320
|
*/
|
321
321
|
export declare const signDisplay: MTypes.OneArgFunction<Type, SignDisplay>;
|
322
322
|
/**
|
323
|
-
* Returns a short description of `self
|
323
|
+
* Returns a short description of `self`, e.g. 'signed integer'
|
324
324
|
*
|
325
325
|
* @category Destructors
|
326
326
|
*/
|
@@ -328,47 +328,47 @@ export declare const toDescription: (self: Type) => string;
|
|
328
328
|
/**
|
329
329
|
* Returns a function that tries to parse, from the start of a string `text`, a number respecting
|
330
330
|
* the options represented by `self` and an optional `fillChar` parameter. If successful, that
|
331
|
-
* function returns a `
|
331
|
+
* function returns a `Some` containing `parsedText` (the part of `text` that could be analyzed as
|
332
332
|
* representing a number) and `value` (`parsedText` converted to a BigDecimal value). Otherwise, it
|
333
|
-
* returns a `
|
334
|
-
* '0', '+0' will yield the same result.
|
333
|
+
* returns a `None`. As `BigDecimal`'s provide no possibility to distinguish `-0n` and `0n`, parsing
|
334
|
+
* '-0', '0', '+0' will yield the same result.
|
335
335
|
*
|
336
336
|
* `fillChar` is a character that may be used as filler between the sign and the number (or at the
|
337
337
|
* start of the number if it is unsigned). It must be a one-character string (but no error is
|
338
|
-
* triggered if it's not). You can use '0' as `fillChar` but you
|
338
|
+
* triggered if it's not). You can use '0' as `fillChar` but you should not use any other digit
|
339
339
|
* because the value of the number to parse would depend on the number of removed `fillChar`'s.
|
340
340
|
*
|
341
341
|
* @category Parsing
|
342
342
|
*/
|
343
343
|
export declare const toBigDecimalExtractor: (self: Type, fillChar?: string) => MTypes.OneArgFunction<string, Option.Option<MTypes.Pair<BigDecimal.BigDecimal, string>>>;
|
344
344
|
/**
|
345
|
-
* Same as toBigDecimalExtractor but the returned parser throws in case of
|
345
|
+
* Same as `toBigDecimalExtractor` but the returned parser throws in case of failure
|
346
346
|
*
|
347
347
|
* @category Parsing
|
348
348
|
*/
|
349
349
|
export declare const toThrowingBigDecimalExtractor: (self: Type, fillChar?: string) => (text: string) => MTypes.Pair<BigDecimal.BigDecimal, string>;
|
350
350
|
/**
|
351
|
-
* Same as `toBigDecimalExtractor` but returns a `
|
352
|
-
* Furthermore, this function will return
|
351
|
+
* Same as `toBigDecimalExtractor` but returns a `CVReal`. This is the most usual use case.
|
352
|
+
* Furthermore, this function will return `-0` if your parse '-0' and `0` if you parse '0' or '+0'.
|
353
353
|
*
|
354
354
|
* @category Parsing
|
355
355
|
*/
|
356
356
|
export declare const toRealExtractor: (self: Type, fillChar?: string) => MTypes.OneArgFunction<string, Option.Option<MTypes.Pair<CVReal.Type, string>>>;
|
357
357
|
/**
|
358
|
-
* Same as toRealExtractor but the returned parser throws in case of
|
358
|
+
* Same as `toRealExtractor` but the returned parser throws in case of failure
|
359
359
|
*
|
360
360
|
* @category Parsing
|
361
361
|
*/
|
362
362
|
export declare const toThrowingRealExtractor: (self: Type, fillChar?: string) => (text: string) => MTypes.Pair<CVReal.Type, string>;
|
363
363
|
/**
|
364
|
-
* Same as toBigDecimalExtractor but the whole of the input text must represent a number, not just
|
364
|
+
* Same as `toBigDecimalExtractor` but the whole of the input text must represent a number, not just
|
365
365
|
* its start
|
366
366
|
*
|
367
367
|
* @category Parsing
|
368
368
|
*/
|
369
369
|
export declare const toBigDecimalParser: (self: Type, fillChar?: string) => MTypes.OneArgFunction<string, Option.Option<BigDecimal.BigDecimal>>;
|
370
370
|
/**
|
371
|
-
* Same as
|
371
|
+
* Same as `toBigDecimalParser` but the returned parser throws in case of failure
|
372
372
|
*
|
373
373
|
* @category Parsing
|
374
374
|
*/
|
@@ -381,16 +381,16 @@ export declare const toThrowingBigDecimalParser: (self: Type, fillChar?: string)
|
|
381
381
|
*/
|
382
382
|
export declare const toRealParser: (self: Type, fillChar?: string) => MTypes.OneArgFunction<string, Option.Option<CVReal.Type>>;
|
383
383
|
/**
|
384
|
-
* Same as toRealParser but the returned parser throws in case of
|
384
|
+
* Same as `toRealParser` but the returned parser throws in case of failure
|
385
385
|
*
|
386
386
|
* @category Parsing
|
387
387
|
*/
|
388
388
|
export declare const toThrowingRealParser: (self: Type, fillChar?: string) => (text: string) => CVReal.Type;
|
389
389
|
/**
|
390
390
|
* Returns a function that tries to format a `number` respecting the options represented by
|
391
|
-
* `self`and an optional parameter `fillChars`. If successful, that function returns a `
|
392
|
-
* formatted number. Otherwise, it returns a `
|
393
|
-
* for better accuracy. There is a difference between number and BigDecimal (and bigint) regarding
|
391
|
+
* `self`and an optional parameter `fillChars`. If successful, that function returns a `Some` of the
|
392
|
+
* formatted number. Otherwise, it returns a `None`. `number` can be of type number or `BigDecimal`
|
393
|
+
* for better accuracy. There is a difference between number and `BigDecimal` (and bigint) regarding
|
394
394
|
* the sign of 0. In Javascript, Object.is(0,-0) is false whereas Object.is(0n,-0n) is true. So if
|
395
395
|
* the sign of zero is important to you, prefer passing a number to the function. `0` as a
|
396
396
|
* BigDecimal will always be interpreted as a positive `0` as we have no means of knowing if it is
|
@@ -405,166 +405,166 @@ export declare const toThrowingRealParser: (self: Type, fillChar?: string) => (t
|
|
405
405
|
*/
|
406
406
|
export declare const toNumberFormatter: (self: Type, fillChars?: string) => MTypes.OneArgFunction<BigDecimal.BigDecimal | CVReal.Type, string>;
|
407
407
|
/**
|
408
|
-
*
|
409
|
-
* `
|
408
|
+
* Returns a copy of `self` with `minimumFractionalDigits` and `maximumFractionalDigits` set to `n`.
|
409
|
+
* `n` must be a finite positive integer
|
410
410
|
*
|
411
411
|
* @category Modifiers
|
412
412
|
*/
|
413
413
|
export declare const withNDecimals: (decimalNumber: number) => MTypes.OneArgFunction<Type>;
|
414
414
|
/**
|
415
|
-
*
|
416
|
-
*
|
415
|
+
* Returns a copy of `self` with `maximumFractionalDigits` set to `n`. `n` must be a positive
|
416
|
+
* integer (`+Infinity` allowed). Pass 0 for an integer format
|
417
417
|
*
|
418
418
|
* @category Modifiers
|
419
419
|
*/
|
420
420
|
export declare const withMaxNDecimals: (maxDecimalNumber: number) => (self: Type) => Type;
|
421
421
|
/**
|
422
|
-
*
|
423
|
-
*
|
422
|
+
* Returns a copy of `self` with `minimumFractionalDigits` set to `n`. `n` must be a finite positive
|
423
|
+
* integer
|
424
424
|
*
|
425
425
|
* @category Modifiers
|
426
426
|
*/
|
427
427
|
export declare const withMinNDecimals: (minDecimalNumber: number) => (self: Type) => Type;
|
428
428
|
/**
|
429
|
-
*
|
429
|
+
* Returns a copy of `self` with `scientificNotation` set to `None`
|
430
430
|
*
|
431
431
|
* @category Modifiers
|
432
432
|
*/
|
433
433
|
export declare const withNoScientificNotation: MTypes.OneArgFunction<Type>;
|
434
434
|
/**
|
435
|
-
*
|
435
|
+
* Returns a copy of `self` with `scientificNotation` set to `Standard`
|
436
436
|
*
|
437
437
|
* @category Modifiers
|
438
438
|
*/
|
439
439
|
export declare const withStandardScientificNotation: MTypes.OneArgFunction<Type>;
|
440
440
|
/**
|
441
|
-
*
|
441
|
+
* Returns a copy of `self` with `scientificNotation` set to `Normalized`
|
442
442
|
*
|
443
443
|
* @category Modifiers
|
444
444
|
*/
|
445
445
|
export declare const withNormalizedScientificNotation: MTypes.OneArgFunction<Type>;
|
446
446
|
/**
|
447
|
-
*
|
447
|
+
* Returns a copy of `self` with `scientificNotation` set to `Engineering`
|
448
448
|
*
|
449
449
|
* @category Modifiers
|
450
450
|
*/
|
451
451
|
export declare const withEngineeringScientificNotation: MTypes.OneArgFunction<Type>;
|
452
452
|
/**
|
453
|
-
*
|
453
|
+
* Returns a copy of `self` with `thousandSeparator` set to `thousandSeparator`
|
454
454
|
*
|
455
455
|
* @category Modifiers
|
456
456
|
*/
|
457
457
|
export declare const withThousandSeparator: (thousandSeparator: string) => MTypes.OneArgFunction<Type>;
|
458
458
|
/**
|
459
|
-
*
|
459
|
+
* Returns a copy of `self` with `thousandSeparator` set to ''
|
460
460
|
*
|
461
461
|
* @category Modifiers
|
462
462
|
*/
|
463
463
|
export declare const withoutThousandSeparator: MTypes.OneArgFunction<Type>;
|
464
464
|
/**
|
465
|
-
*
|
465
|
+
* Returns a copy of `self` with `fractionalSeparator` set to `fractionalSeparator`
|
466
466
|
*
|
467
467
|
* @category Modifiers
|
468
468
|
*/
|
469
469
|
export declare const withFractionalSeparator: (fractionalSeparator: string) => MTypes.OneArgFunction<Type>;
|
470
470
|
/**
|
471
|
-
*
|
471
|
+
* Returns a copy of `self` with `signDisplay` set to `Auto`
|
472
472
|
*
|
473
473
|
* @category Modifiers
|
474
474
|
*/
|
475
475
|
export declare const withSignDisplayForNegative: MTypes.OneArgFunction<Type>;
|
476
476
|
/**
|
477
|
-
*
|
477
|
+
* Returns a copy of `self` with `signDisplay` set to `Always`
|
478
478
|
*
|
479
479
|
* @category Modifiers
|
480
480
|
*/
|
481
481
|
export declare const withSignDisplay: MTypes.OneArgFunction<Type>;
|
482
482
|
/**
|
483
|
-
*
|
483
|
+
* Returns a copy of `self` with `signDisplay` set to `ExceptZero`
|
484
484
|
*
|
485
485
|
* @category Modifiers
|
486
486
|
*/
|
487
487
|
export declare const withSignDisplayExceptZero: MTypes.OneArgFunction<Type>;
|
488
488
|
/**
|
489
|
-
*
|
489
|
+
* Returns a copy of `self` with `signDisplay` set to `Negative`
|
490
490
|
*
|
491
491
|
* @category Modifiers
|
492
492
|
*/
|
493
493
|
export declare const withSignDisplayForNegativeExceptZero: MTypes.OneArgFunction<Type>;
|
494
494
|
/**
|
495
|
-
*
|
495
|
+
* Returns a copy of `self` with `signDisplay` set to `Never`
|
496
496
|
*
|
497
497
|
* @category Modifiers
|
498
498
|
*/
|
499
499
|
export declare const withoutSignDisplay: MTypes.OneArgFunction<Type>;
|
500
500
|
/**
|
501
|
-
*
|
501
|
+
* Returns a copy of `self` with `roundingMode` set to `Ceil`
|
502
502
|
*
|
503
503
|
* @category Modifiers
|
504
504
|
*/
|
505
505
|
export declare const withCeilRoundingMode: MTypes.OneArgFunction<Type>;
|
506
506
|
/**
|
507
|
-
*
|
507
|
+
* Returns a copy of `self` with `roundingMode` set to `Floor`
|
508
508
|
*
|
509
509
|
* @category Modifiers
|
510
510
|
*/
|
511
511
|
export declare const withFloorRoundingMode: MTypes.OneArgFunction<Type>;
|
512
512
|
/**
|
513
|
-
*
|
513
|
+
* Returns a copy of `self` with `roundingMode` set to `Expand`
|
514
514
|
*
|
515
515
|
* @category Modifiers
|
516
516
|
*/
|
517
517
|
export declare const withExpandRoundingMode: MTypes.OneArgFunction<Type>;
|
518
518
|
/**
|
519
|
-
*
|
519
|
+
* Returns a copy of `self` with `roundingMode` set to `Trunc`
|
520
520
|
*
|
521
521
|
* @category Modifiers
|
522
522
|
*/
|
523
523
|
export declare const withTruncRoundingMode: MTypes.OneArgFunction<Type>;
|
524
524
|
/**
|
525
|
-
*
|
525
|
+
* Returns a copy of `self` with `roundingMode` set to `HalfCeil`
|
526
526
|
*
|
527
527
|
* @category Modifiers
|
528
528
|
*/
|
529
529
|
export declare const withHalfCeilRoundingMode: MTypes.OneArgFunction<Type>;
|
530
530
|
/**
|
531
|
-
*
|
531
|
+
* Returns a copy of `self` with `roundingMode` set to `HalfFloor`
|
532
532
|
*
|
533
533
|
* @category Modifiers
|
534
534
|
*/
|
535
535
|
export declare const withHalfFloorRoundingMode: MTypes.OneArgFunction<Type>;
|
536
536
|
/**
|
537
|
-
*
|
537
|
+
* Returns a copy of `self` with `roundingMode` set to `HalfExpand`
|
538
538
|
*
|
539
539
|
* @category Modifiers
|
540
540
|
*/
|
541
541
|
export declare const withHalfExpandRoundingMode: MTypes.OneArgFunction<Type>;
|
542
542
|
/**
|
543
|
-
*
|
543
|
+
* Returns a copy of `self` with `roundingMode` set to `HalfTrunc`
|
544
544
|
*
|
545
545
|
* @category Modifiers
|
546
546
|
*/
|
547
547
|
export declare const withHalfTruncRoundingMode: MTypes.OneArgFunction<Type>;
|
548
548
|
/**
|
549
|
-
*
|
549
|
+
* Returns a copy of `self` with `roundingMode` set to `HalfEven`
|
550
550
|
*
|
551
551
|
* @category Modifiers
|
552
552
|
*/
|
553
553
|
export declare const withHalfEvenRoundingMode: MTypes.OneArgFunction<Type>;
|
554
554
|
/**
|
555
|
-
*
|
555
|
+
* Returns a copy of `self` with `showNullIntegerPart` set to `false`
|
556
556
|
*
|
557
557
|
* @category Modifiers
|
558
558
|
*/
|
559
559
|
export declare const withNullIntegerPartNotShowing: MTypes.OneArgFunction<Type>;
|
560
560
|
/**
|
561
|
-
*
|
561
|
+
* Returns a copy of `self` with `showNullIntegerPart` set to `true`
|
562
562
|
*
|
563
563
|
* @category Modifiers
|
564
564
|
*/
|
565
565
|
export declare const withNullIntegerPartShowing: MTypes.OneArgFunction<Type>;
|
566
566
|
/**
|
567
|
-
*
|
567
|
+
* `CVNumberBase10Format` instance that uses a comma as fractional separator, a space as thousand
|
568
568
|
* separator and shows at most three fractional digits. Used in countries like France,
|
569
569
|
* French-speaking Canada, French-speaking Belgium, Denmark, Finland, Sweden...
|
570
570
|
*
|
@@ -572,22 +572,22 @@ export declare const withNullIntegerPartShowing: MTypes.OneArgFunction<Type>;
|
|
572
572
|
*/
|
573
573
|
export declare const frenchStyleNumber: Type;
|
574
574
|
/**
|
575
|
-
*
|
576
|
-
* shows at most three fractional digits. Used in countries like France, French-speaking Canada,
|
575
|
+
* `CVNumberBase10Format` instance that uses a comma as fractional separator, no thousand separator
|
576
|
+
* and shows at most three fractional digits. Used in countries like France, French-speaking Canada,
|
577
577
|
* French-speaking Belgium, Denmark, Finland, Sweden...
|
578
578
|
*
|
579
579
|
* @category Instances
|
580
580
|
*/
|
581
581
|
export declare const frenchStyleUngroupedNumber: Type;
|
582
582
|
/**
|
583
|
-
* French-style integer
|
584
|
-
* Canada, French-speaking Belgium, Denmark, Finland, Sweden...
|
583
|
+
* French-style integer `CVNumberBase10Format` instance. Used in countries like France,
|
584
|
+
* French-speaking Canada, French-speaking Belgium, Denmark, Finland, Sweden...
|
585
585
|
*
|
586
586
|
* @category Instances
|
587
587
|
*/
|
588
588
|
export declare const frenchStyleInteger: Type;
|
589
589
|
/**
|
590
|
-
*
|
590
|
+
* `CVNumberBase10Format` instance that uses a comma as fractional separator, a dot as thousand
|
591
591
|
* separator and shows at most three fractional digits. Used in countries like Dutch-speaking
|
592
592
|
* Belgium, the Netherlands, Germany, Italy, Norway, Croatia, Spain...
|
593
593
|
*
|
@@ -595,22 +595,22 @@ export declare const frenchStyleInteger: Type;
|
|
595
595
|
*/
|
596
596
|
export declare const dutchStyleNumber: Type;
|
597
597
|
/**
|
598
|
-
*
|
599
|
-
* shows at most three fractional digits. Used in countries like Dutch-speaking Belgium, the
|
598
|
+
* `CVNumberBase10Format` instance that uses a comma as fractional separator, no thousand separator
|
599
|
+
* and shows at most three fractional digits. Used in countries like Dutch-speaking Belgium, the
|
600
600
|
* Netherlands, Germany, Italy, Norway, Croatia, Spain...
|
601
601
|
*
|
602
602
|
* @category Instances
|
603
603
|
*/
|
604
604
|
export declare const dutchStyleUngroupedNumber: Type;
|
605
605
|
/**
|
606
|
-
* Dutch-style integer
|
607
|
-
* the Netherlands, Germany, Italy, Norway, Croatia, Spain...
|
606
|
+
* Dutch-style integer `CVNumberBase10Format` instance. Used in countries like Dutch-speaking
|
607
|
+
* Belgium, the Netherlands, Germany, Italy, Norway, Croatia, Spain...
|
608
608
|
*
|
609
609
|
* @category Instances
|
610
610
|
*/
|
611
611
|
export declare const dutchStyleInteger: Type;
|
612
612
|
/**
|
613
|
-
*
|
613
|
+
* `CVNumberBase10Format` instance that uses a dot as fractional separator, a comma as thousand
|
614
614
|
* separator and shows at most three fractional digits. Used in countries like the UK, the US,
|
615
615
|
* English-speaking Canada, Australia, Thaïland, Bosnia...
|
616
616
|
*
|
@@ -618,22 +618,22 @@ export declare const dutchStyleInteger: Type;
|
|
618
618
|
*/
|
619
619
|
export declare const ukStyleNumber: Type;
|
620
620
|
/**
|
621
|
-
*
|
622
|
-
* shows at most three fractional digits. Used in countries like the UK, the US,
|
623
|
-
* Canada, Australia, Thaïland, Bosnia...
|
621
|
+
* `CVNumberBase10Format` instance that uses a dot as fractional separator, no thousand separator
|
622
|
+
* and shows at most three fractional digits. Used in countries like the UK, the US,
|
623
|
+
* English-speaking Canada, Australia, Thaïland, Bosnia...
|
624
624
|
*
|
625
625
|
* @category Instances
|
626
626
|
*/
|
627
627
|
export declare const ukStyleUngroupedNumber: Type;
|
628
628
|
/**
|
629
|
-
* Uk-style integer
|
629
|
+
* Uk-style integer `CVNumberBase10Format` instance. Used in countries like the UK, the US,
|
630
630
|
* English-speaking Canada, Australia, Thaïland, Bosnia...
|
631
631
|
*
|
632
632
|
* @category Instances
|
633
633
|
*/
|
634
634
|
export declare const ukStyleInteger: Type;
|
635
635
|
/**
|
636
|
-
* Integer
|
636
|
+
* Integer `CVNumberBase10Format` instance with no thousand separator
|
637
637
|
*
|
638
638
|
* @category Instances
|
639
639
|
*/
|
package/dts/PositiveInteger.d.ts
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* This module implements a
|
3
|
-
* disallowed)
|
2
|
+
* This module implements a CVPositiveInteger brand, i.e. a number that represents an integer
|
3
|
+
* greater than or equal to 0 (Infinity, NaN disallowed). Can be used to represent an age, a
|
4
|
+
* quantity,... See the `Effect` documentation about Branding
|
5
|
+
* (https://effect.website/docs/code-style/branded-types/) if you are not familiar with this
|
6
|
+
* concept.
|
4
7
|
*/
|
5
8
|
import { MTypes } from '@parischap/effect-lib';
|
6
|
-
import { BigDecimal, Brand, Either, Option } from 'effect';
|
9
|
+
import { BigDecimal, Brand, Either, Option, Schema } from 'effect';
|
7
10
|
import * as CVInteger from './Integer.js';
|
8
11
|
import * as CVPositive from './internal/Positive.js';
|
9
12
|
import type * as CVPositiveReal from './PositiveReal.js';
|
@@ -17,145 +20,169 @@ export declare const moduleTag = "@parischap/conversions/PositiveInteger/";
|
|
17
20
|
/**
|
18
21
|
* Brand constructor. Should not be used directly
|
19
22
|
*
|
20
|
-
* @
|
23
|
+
* @ignore
|
21
24
|
*/
|
22
25
|
export declare const constructor: Brand.Brand.Constructor<number & Brand.Brand<typeof CVPositive._TypeId> & Brand.Brand<typeof CVReal.TypeId> & Brand.Brand<typeof import("./internal/Int.js")._TypeId>>;
|
23
26
|
/**
|
24
|
-
*
|
27
|
+
* `CVPositiveInteger` type
|
25
28
|
*
|
26
29
|
* @category Models
|
27
30
|
*/
|
28
31
|
export type Type = Brand.Brand.FromConstructor<typeof constructor>;
|
29
32
|
/**
|
30
|
-
* Constructs a
|
33
|
+
* Constructs a `CVPositiveInteger` from a number without any verifications
|
31
34
|
*
|
32
35
|
* @category Constructors
|
33
36
|
*/
|
34
37
|
export declare const unsafeFromNumber: Brand.Brand.Constructor<number & Brand.Brand<typeof CVPositive._TypeId> & Brand.Brand<typeof CVReal.TypeId> & Brand.Brand<typeof import("./internal/Int.js")._TypeId>>;
|
35
38
|
/**
|
36
|
-
*
|
39
|
+
* Tries to construct a `CVPositiveInteger` from a number. Returns a `Some` if the conversion can be
|
40
|
+
* performed, a `None` otherwise
|
37
41
|
*
|
38
42
|
* @category Constructors
|
39
43
|
*/
|
40
44
|
export declare const fromNumberOption: MTypes.OneArgFunction<number, Option.Option<Type>>;
|
41
45
|
/**
|
42
|
-
*
|
46
|
+
* Tries to construct a `CVPositiveInteger` from a number. Returns a `Right` if the conversion can
|
47
|
+
* be performed, a `Left` otherwise
|
43
48
|
*
|
44
49
|
* @category Constructors
|
45
50
|
*/
|
46
51
|
export declare const fromNumber: MTypes.OneArgFunction<number, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
47
52
|
/**
|
48
|
-
* Constructs a
|
53
|
+
* Constructs a `CVPositiveInteger` from a number if possible. Throws otherwise
|
49
54
|
*
|
50
55
|
* @category Constructors
|
51
56
|
*/
|
52
57
|
export declare const fromNumberOrThrow: MTypes.OneArgFunction<number, Type>;
|
53
58
|
/**
|
54
|
-
* Constructs a
|
59
|
+
* Constructs a `CVPositiveInteger` from a `BigDecimal` without any checks
|
55
60
|
*
|
56
61
|
* @category Constructors
|
57
62
|
*/
|
58
63
|
export declare const unsafeFromBigDecimal: MTypes.OneArgFunction<BigDecimal.BigDecimal, Type>;
|
59
64
|
/**
|
60
|
-
*
|
65
|
+
* Tries to construct a `CVPositiveInteger` from a `BigDecimal`. Returns a `Some` if the conversion
|
66
|
+
* can be performed, a `None` otherwise
|
61
67
|
*
|
62
68
|
* @category Constructors
|
63
69
|
*/
|
64
70
|
export declare const fromBigDecimalOption: MTypes.OneArgFunction<BigDecimal.BigDecimal, Option.Option<Type>>;
|
65
71
|
/**
|
66
|
-
*
|
72
|
+
* Tries to construct a `CVPositiveInteger` from a `BigDecimal`. Returns a `Right` if the conversion
|
73
|
+
* can be performed, a `Left` otherwise
|
67
74
|
*
|
68
75
|
* @category Constructors
|
69
76
|
*/
|
70
77
|
export declare const fromBigDecimal: MTypes.OneArgFunction<BigDecimal.BigDecimal, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
71
78
|
/**
|
72
|
-
* Constructs a
|
79
|
+
* Constructs a `CVPositiveInteger` from a `BigDecimal` if possible. Throws otherwise
|
73
80
|
*
|
74
81
|
* @category Constructors
|
75
82
|
*/
|
76
83
|
export declare const fromBigDecimalOrThrow: MTypes.OneArgFunction<BigDecimal.BigDecimal, Type>;
|
77
84
|
/**
|
78
|
-
* Constructs a
|
85
|
+
* Constructs a `CVPositiveInteger` from a `BigInt` without any checks
|
79
86
|
*
|
80
87
|
* @category Constructors
|
81
88
|
*/
|
82
89
|
export declare const unsafeFromBigInt: MTypes.OneArgFunction<bigint, Type>;
|
83
90
|
/**
|
84
|
-
*
|
91
|
+
* Tries to construct a `CVPositiveInteger` from a `BigInt`. Returns a `Some` if the conversion can
|
92
|
+
* be performed, a `None` otherwise
|
85
93
|
*
|
86
94
|
* @category Constructors
|
87
95
|
*/
|
88
96
|
export declare const fromBigIntOption: MTypes.OneArgFunction<bigint, Option.Option<Type>>;
|
89
97
|
/**
|
90
|
-
*
|
98
|
+
* Tries to construct a `CVPositiveInteger` from a `BigInt`. Returns a `Right` if the conversion can
|
99
|
+
* be performed, a `Left` otherwise
|
91
100
|
*
|
92
101
|
* @category Constructors
|
93
102
|
*/
|
94
103
|
export declare const fromBigInt: MTypes.OneArgFunction<bigint, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
95
104
|
/**
|
96
|
-
* Constructs a
|
105
|
+
* Constructs a `CVPositiveInteger` from a `BigInt` if possible. Throws otherwise
|
97
106
|
*
|
98
107
|
* @category Constructors
|
99
108
|
*/
|
100
109
|
export declare const fromBigIntOrThrow: MTypes.OneArgFunction<bigint, Type>;
|
101
110
|
/**
|
102
|
-
* Constructs a
|
111
|
+
* Constructs a `CVPositiveInteger` from a `CVReal` without any checks
|
103
112
|
*
|
104
113
|
* @category Constructors
|
105
114
|
*/
|
106
115
|
export declare const unsafeFromReal: MTypes.OneArgFunction<CVReal.Type, Type>;
|
107
116
|
/**
|
108
|
-
*
|
117
|
+
* Tries to construct a `CVPositiveInteger` from a `CVReal`. Returns a `Some` if the conversion can
|
118
|
+
* be performed, a `None` otherwise
|
109
119
|
*
|
110
120
|
* @category Constructors
|
111
121
|
*/
|
112
122
|
export declare const fromRealOption: MTypes.OneArgFunction<CVReal.Type, Option.Option<Type>>;
|
113
123
|
/**
|
114
|
-
*
|
124
|
+
* Tries to construct a `CVPositiveInteger` from a `CVReal`. Returns a `Right` if the conversion can
|
125
|
+
* be performed, a `Left` otherwise
|
115
126
|
*
|
116
127
|
* @category Constructors
|
117
128
|
*/
|
118
129
|
export declare const fromReal: MTypes.OneArgFunction<CVReal.Type, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
119
130
|
/**
|
120
|
-
* Constructs a
|
131
|
+
* Constructs a `CVPositiveInteger` from a `CVReal` if possible. Throws otherwise
|
121
132
|
*
|
122
133
|
* @category Constructors
|
123
134
|
*/
|
124
135
|
export declare const fromRealOrThrow: MTypes.OneArgFunction<CVReal.Type, Type>;
|
125
136
|
/**
|
126
|
-
*
|
137
|
+
* Tries to construct a `CVPositiveInteger` from a `CVInteger`. Returns a `Some` if the conversion
|
138
|
+
* can be performed, a `None` otherwise
|
127
139
|
*
|
128
140
|
* @category Constructors
|
129
141
|
*/
|
130
142
|
export declare const fromIntegerOption: MTypes.OneArgFunction<CVInteger.Type, Option.Option<Type>>;
|
131
143
|
/**
|
132
|
-
*
|
144
|
+
* Tries to construct a `CVPositiveInteger` from a `CVInteger`. Returns a `Right` if the conversion
|
145
|
+
* can be performed, a `Left` otherwise
|
133
146
|
*
|
134
147
|
* @category Constructors
|
135
148
|
*/
|
136
149
|
export declare const fromInteger: MTypes.OneArgFunction<CVInteger.Type, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
137
150
|
/**
|
138
|
-
* Constructs a
|
151
|
+
* Constructs a `CVPositiveInteger` from a `CVInteger` if possible. Throws otherwise
|
139
152
|
*
|
140
153
|
* @category Constructors
|
141
154
|
*/
|
142
155
|
export declare const fromIntegerOrThrow: MTypes.OneArgFunction<CVInteger.Type, Type>;
|
143
156
|
/**
|
144
|
-
*
|
157
|
+
* Tries to construct a `CVPositiveInteger` from a `CVPositiveReal`. Returns a `Some` if the
|
158
|
+
* conversion can be performed, a `None` otherwise
|
145
159
|
*
|
146
160
|
* @category Constructors
|
147
161
|
*/
|
148
162
|
export declare const fromPositiveRealOption: MTypes.OneArgFunction<CVPositiveReal.Type, Option.Option<Type>>;
|
149
163
|
/**
|
150
|
-
*
|
164
|
+
* Tries to construct a `CVPositiveInteger` from a `CVPositiveReal`. Returns a `Right` if the
|
165
|
+
* conversion can be performed, a `Left` otherwise
|
151
166
|
*
|
152
167
|
* @category Constructors
|
153
168
|
*/
|
154
169
|
export declare const fromPositiveReal: MTypes.OneArgFunction<CVPositiveReal.Type, Either.Either<Type, Brand.Brand.BrandErrors>>;
|
155
170
|
/**
|
156
|
-
* Constructs a
|
171
|
+
* Constructs a `CVPositiveInteger` from a `CVPositiveReal` if possible. Throws otherwise
|
157
172
|
*
|
158
173
|
* @category Constructors
|
159
174
|
*/
|
160
175
|
export declare const fromPositiveRealOrThrow: MTypes.OneArgFunction<CVPositiveReal.Type, Type>;
|
176
|
+
/**
|
177
|
+
* A `Schema` that transforms a number into a `CVPositiveInteger`
|
178
|
+
*
|
179
|
+
* @ignore
|
180
|
+
*/
|
181
|
+
export declare const SchemaFromNumber: Schema.Schema<Type, number>;
|
182
|
+
/**
|
183
|
+
* A Schema that represents a `CVPositiveInteger`
|
184
|
+
*
|
185
|
+
* @ignore
|
186
|
+
*/
|
187
|
+
export declare const SchemaFromSelf: Schema.Schema<Type>;
|
161
188
|
//# sourceMappingURL=PositiveInteger.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PositiveInteger.d.ts","sourceRoot":"","sources":["../../esm/PositiveInteger.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"PositiveInteger.d.ts","sourceRoot":"","sources":["../../esm/PositiveInteger.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAkB,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACnF,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,KAAK,cAAc,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,SAAS,4CAA4C,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,WAAW,wKAA2D,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,OAAO,WAAW,CAAC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,wKAAwB,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,cAAc,CACnD,MAAM,EACN,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CACoB,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,cAAc,CAC7C,MAAM,EACN,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CACL,CAAC;AAEz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