functype 0.8.43 → 0.8.44

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.
@@ -1,4 +1,4 @@
1
- export { a as Collection, C as Converters } from '../index-nj1jVrpW.mjs';
1
+ export { a as Collection, C as Converters } from '../index-CCrywtih.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../core/base/Base.mjs';
4
4
  import '../core/error/Throwable.mjs';
@@ -1,4 +1,4 @@
1
- export { a as Collection, C as Converters } from '../index--8rlykpD.js';
1
+ export { a as Collection, C as Converters } from '../index-CpEbFn27.js';
2
2
  import '../functor/index.js';
3
3
  import '../core/base/Base.js';
4
4
  import '../core/error/Throwable.js';
@@ -1,4 +1,4 @@
1
- export { A as AppException, h as AppResult, k as AsyncTask, j as Task } from '../../index-nj1jVrpW.mjs';
1
+ export { A as AppException, h as AppResult, k as AsyncTask, j as Task } from '../../index-CCrywtih.mjs';
2
2
  import '../error/Throwable.mjs';
3
3
  import '../../functor/index.mjs';
4
4
  import '../base/Base.mjs';
@@ -1,4 +1,4 @@
1
- export { A as AppException, h as AppResult, k as AsyncTask, j as Task } from '../../index--8rlykpD.js';
1
+ export { A as AppException, h as AppResult, k as AsyncTask, j as Task } from '../../index-CpEbFn27.js';
2
2
  import '../error/Throwable.js';
3
3
  import '../../functor/index.js';
4
4
  import '../base/Base.js';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.mjs';
2
- export { E as Either, c as Left, R as Right, T as TestEither, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from '../index-nj1jVrpW.mjs';
2
+ export { E as Either, c as Left, R as Right, T as TestEither, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from '../index-CCrywtih.mjs';
3
3
  import '../typeable/Typeable.mjs';
4
4
  import '../core/base/Base.mjs';
5
5
  import '../core/error/Throwable.mjs';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.js';
2
- export { E as Either, c as Left, R as Right, T as TestEither, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from '../index--8rlykpD.js';
2
+ export { E as Either, c as Left, R as Right, T as TestEither, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from '../index-CpEbFn27.js';
3
3
  import '../typeable/Typeable.js';
4
4
  import '../core/base/Base.js';
5
5
  import '../core/error/Throwable.js';
@@ -63,7 +63,7 @@ type IterableType<A extends Type> = {
63
63
  map<B extends Type>(f: (a: A) => B): IterableType<B>;
64
64
  flatMap<B extends Type>(f: (a: A) => IterableType<B>): IterableType<B>;
65
65
  get size(): number;
66
- toArray<B extends A = A>(): readonly B[];
66
+ toArray<B = A>(): readonly B[];
67
67
  toValue: () => {
68
68
  _tag: string;
69
69
  value: A[];
@@ -113,7 +113,7 @@ type List<A> = {
113
113
  readonly head: A;
114
114
  readonly headOption: Option<A>;
115
115
  readonly isEmpty: boolean;
116
- toArray: <B extends A = A>() => B[];
116
+ toArray: <B = A>() => B[];
117
117
  reduce: (f: (prev: A, curr: A) => A) => A;
118
118
  reduceRight: (f: (prev: A, curr: A) => A) => A;
119
119
  foldLeft: <B>(z: B) => (op: (b: B, a: A) => B) => B;
@@ -63,7 +63,7 @@ type IterableType<A extends Type> = {
63
63
  map<B extends Type>(f: (a: A) => B): IterableType<B>;
64
64
  flatMap<B extends Type>(f: (a: A) => IterableType<B>): IterableType<B>;
65
65
  get size(): number;
66
- toArray<B extends A = A>(): readonly B[];
66
+ toArray<B = A>(): readonly B[];
67
67
  toValue: () => {
68
68
  _tag: string;
69
69
  value: A[];
@@ -113,7 +113,7 @@ type List<A> = {
113
113
  readonly head: A;
114
114
  readonly headOption: Option<A>;
115
115
  readonly isEmpty: boolean;
116
- toArray: <B extends A = A>() => B[];
116
+ toArray: <B = A>() => B[];
117
117
  reduce: (f: (prev: A, curr: A) => A) => A;
118
118
  reduceRight: (f: (prev: A, curr: A) => A) => A;
119
119
  foldLeft: <B>(z: B) => (op: (b: B, a: A) => B) => B;
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { AbstractFunctor, ArrayFunctor, ArrayType, AsyncFunctor, Functor, SingleType, Type } from './functor/index.mjs';
2
2
  export { Base } from './core/base/Base.mjs';
3
3
  export { Throwable } from './core/error/Throwable.mjs';
4
- export { A as AppException, h as AppResult, k as AsyncTask, E as Either, I as IterableType, c as Left, L as List, M as Map, N as None, O as Option, R as Right, b as Set, S as Some, j as Task, T as TestEither, m as Traversable, l as Try, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from './index-nj1jVrpW.mjs';
4
+ export { A as AppException, h as AppResult, k as AsyncTask, E as Either, I as IterableType, c as Left, L as List, M as Map, N as None, O as Option, R as Right, b as Set, S as Some, j as Task, T as TestEither, m as Traversable, l as Try, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from './index-CCrywtih.mjs';
5
5
  export { Identity } from './identity/Identity.mjs';
6
6
  export { Tuple } from './tuple/Tuple.mjs';
7
7
  export { TypeGuard, Typeable, UnTag } from './typeable/Typeable.mjs';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { AbstractFunctor, ArrayFunctor, ArrayType, AsyncFunctor, Functor, SingleType, Type } from './functor/index.js';
2
2
  export { Base } from './core/base/Base.js';
3
3
  export { Throwable } from './core/error/Throwable.js';
4
- export { A as AppException, h as AppResult, k as AsyncTask, E as Either, I as IterableType, c as Left, L as List, M as Map, N as None, O as Option, R as Right, b as Set, S as Some, j as Task, T as TestEither, m as Traversable, l as Try, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from './index--8rlykpD.js';
4
+ export { A as AppException, h as AppResult, k as AsyncTask, E as Either, I as IterableType, c as Left, L as List, M as Map, N as None, O as Option, R as Right, b as Set, S as Some, j as Task, T as TestEither, m as Traversable, l as Try, f as TypeCheckLeft, e as TypeCheckRight, d as isLeft, i as isRight, t as tryCatch, g as tryCatchAsync } from './index-CpEbFn27.js';
5
5
  export { Identity } from './identity/Identity.js';
6
6
  export { Tuple } from './tuple/Tuple.js';
7
7
  export { TypeGuard, Typeable, UnTag } from './typeable/Typeable.js';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.mjs';
2
- export { I as IterableType } from '../index-nj1jVrpW.mjs';
2
+ export { I as IterableType } from '../index-CCrywtih.mjs';
3
3
  import '../core/base/Base.mjs';
4
4
  import '../core/error/Throwable.mjs';
5
5
  import '../typeable/Typeable.mjs';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.js';
2
- export { I as IterableType } from '../index--8rlykpD.js';
2
+ export { I as IterableType } from '../index-CpEbFn27.js';
3
3
  import '../core/base/Base.js';
4
4
  import '../core/error/Throwable.js';
5
5
  import '../typeable/Typeable.js';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.mjs';
2
- export { L as List } from '../index-nj1jVrpW.mjs';
2
+ export { L as List } from '../index-CCrywtih.mjs';
3
3
  import '../typeable/Typeable.mjs';
4
4
  import '../core/base/Base.mjs';
5
5
  import '../core/error/Throwable.mjs';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.js';
2
- export { L as List } from '../index--8rlykpD.js';
2
+ export { L as List } from '../index-CpEbFn27.js';
3
3
  import '../typeable/Typeable.js';
4
4
  import '../core/base/Base.js';
5
5
  import '../core/error/Throwable.js';
@@ -1,4 +1,4 @@
1
- export { M as Map } from '../index-nj1jVrpW.mjs';
1
+ export { M as Map } from '../index-CCrywtih.mjs';
2
2
  import '../tuple/Tuple.mjs';
3
3
  import '../functor/index.mjs';
4
4
  import '../core/base/Base.mjs';
package/dist/map/Map.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { M as Map } from '../index--8rlykpD.js';
1
+ export { M as Map } from '../index-CpEbFn27.js';
2
2
  import '../tuple/Tuple.js';
3
3
  import '../functor/index.js';
4
4
  import '../core/base/Base.js';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.mjs';
2
- export { N as None, O as Option, S as Some } from '../index-nj1jVrpW.mjs';
2
+ export { N as None, O as Option, S as Some } from '../index-CCrywtih.mjs';
3
3
  import '../typeable/Typeable.mjs';
4
4
  import '../valuable/Valuable.mjs';
5
5
  import '../core/base/Base.mjs';
@@ -1,5 +1,5 @@
1
1
  import '../functor/index.js';
2
- export { N as None, O as Option, S as Some } from '../index--8rlykpD.js';
2
+ export { N as None, O as Option, S as Some } from '../index-CpEbFn27.js';
3
3
  import '../typeable/Typeable.js';
4
4
  import '../valuable/Valuable.js';
5
5
  import '../core/base/Base.js';
@@ -1,4 +1,4 @@
1
- export { b as Set } from '../index-nj1jVrpW.mjs';
1
+ export { b as Set } from '../index-CCrywtih.mjs';
2
2
  import '../functor/index.mjs';
3
3
  import '../core/base/Base.mjs';
4
4
  import '../core/error/Throwable.mjs';
package/dist/set/Set.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { b as Set } from '../index--8rlykpD.js';
1
+ export { b as Set } from '../index-CpEbFn27.js';
2
2
  import '../functor/index.js';
3
3
  import '../core/base/Base.js';
4
4
  import '../core/error/Throwable.js';
@@ -1,4 +1,4 @@
1
- export { l as Try } from '../index-nj1jVrpW.mjs';
1
+ export { l as Try } from '../index-CCrywtih.mjs';
2
2
  import '../typeable/Typeable.mjs';
3
3
  import '../functor/index.mjs';
4
4
  import '../core/base/Base.mjs';
package/dist/try/Try.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { l as Try } from '../index--8rlykpD.js';
1
+ export { l as Try } from '../index-CpEbFn27.js';
2
2
  import '../typeable/Typeable.js';
3
3
  import '../functor/index.js';
4
4
  import '../core/base/Base.js';
@@ -1,4 +1,4 @@
1
- import { E as Either } from '../index-nj1jVrpW.mjs';
1
+ import { E as Either } from '../index-CCrywtih.mjs';
2
2
  import { ParseError } from '../error/ParseError.mjs';
3
3
  import '../functor/index.mjs';
4
4
  import '../core/base/Base.mjs';
@@ -1,4 +1,4 @@
1
- import { E as Either } from '../index--8rlykpD.js';
1
+ import { E as Either } from '../index-CpEbFn27.js';
2
2
  import { ParseError } from '../error/ParseError.js';
3
3
  import '../functor/index.js';
4
4
  import '../core/base/Base.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "functype",
3
- "version": "0.8.43",
3
+ "version": "0.8.44",
4
4
  "description": "A smallish functional library for TypeScript",
5
5
  "author": "jordan.burke@gmail.com",
6
6
  "license": "MIT",