@effect-ts-app/core
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -1,4 +0,4 @@ | ||
import * as ROA from "@fp-ts/data/ReadonlyArray" | ||
import * as ROArray from "@fp-ts/data/ReadonlyArray" | ||
import { identity } from "./Function.js" | ||
import { Chunk, Option } from "./Prelude.js" | ||
import * as Option from "./Option.js" | ||
@@ -17,12 +17,2 @@ import * as Dur from "@fp-ts/data/Duration" | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk sortWith | ||
*/ | ||
export function ChunksortWith<A>( | ||
...ords: NonEmptyArguments<Ord<A>> | ||
): (a: Chunk<A>) => Chunk<A> { | ||
// TODO | ||
return as => as.toArray.sortWith(...ords).toChunk | ||
} | ||
/** | ||
* @tsplus getter Generator toArray | ||
@@ -40,6 +30,7 @@ * @tsplus getter Iterable toArray | ||
* | ||
* @tsplus pipeable Array uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
*/ | ||
export function uniqArray<A>(E: Equal<A>) { | ||
export function uniq<A>(E: Equal<A>) { | ||
return (self: ReadonlyArray<A>): ReadonlyArray<A> => { | ||
@@ -73,46 +64,2 @@ const includes = arrayIncludes(E) | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops uniq | ||
* @tsplus pipeable fp-ts/data/Chunk uniq | ||
*/ | ||
export function uniq<A>(E: Equal<A>) { | ||
return (self: Chunk<A>): Chunk<A> => { | ||
let out = ([] as A[]).toChunk | ||
for (let i = 0; i < self.length; i++) { | ||
const a = self.unsafeGet(i) | ||
if (!out.elem2(E, a)) { | ||
out = out.append(a) | ||
} | ||
} | ||
return self.length === out.length ? self : out | ||
} | ||
} | ||
/** | ||
* Test if a value is a member of an array. Takes a `Equivalence<A>` as a single | ||
* argument which returns the function to use to search for a value of type `A` | ||
* in an array of type `Chunk<A>`. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops elem2 | ||
* @tsplus pipeable fp-ts/data/Chunk elem2 | ||
*/ | ||
export function elem<A>(E: Equal<A>, value: A) { | ||
return (self: Chunk<A>): boolean => { | ||
const predicate = (element: A) => E.equals(element, value) | ||
for (let i = 0; i < self.length; i++) { | ||
if (predicate(self.unsafeGet(i)!)) { | ||
return true | ||
} | ||
} | ||
return false | ||
} | ||
} | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk partition | ||
*/ | ||
export const ChunkPartition = Chunk.partition | ||
/** | ||
* @tsplus static fp-ts/data/Duration.Ops makeMillis | ||
@@ -146,3 +93,3 @@ */ | ||
export function findFirstMap<A, B>( | ||
f: (a: A) => Option<B> | ||
f: (a: A) => Option.Option<B> | ||
) { | ||
@@ -171,3 +118,3 @@ return (as: ReadonlyArray<A>) => { | ||
*/ | ||
export function NEROAFromArray<T>(ar: ReadonlyArray<T>) { | ||
export function NEROArrayFromArray<T>(ar: ReadonlyArray<T>) { | ||
return ar.length ? Option.some(ar as NonEmptyReadonlyArray<T>) : Option.none | ||
@@ -183,3 +130,3 @@ } | ||
): (a: ReadonlyArray<A>) => ReadonlyArray<A> { | ||
return ROA.sortBy(...ords.map(convertOrd)) | ||
return ROArray.sortBy(...ords.map(convertOrd)) | ||
} | ||
@@ -194,5 +141,5 @@ | ||
export function sortByO<A>( | ||
ords: Option<NonEmptyReadonlyArray<Ord<A>>> | ||
ords: Option.Option<NonEmptyReadonlyArray<Ord<A>>> | ||
): (a: ReadonlyArray<A>) => ReadonlyArray<A> { | ||
return ords.match(() => identity, _ => ROA.sortBy(..._.map(convertOrd))) | ||
return ords.match(() => identity, _ => ROArray.sortBy(..._.map(convertOrd))) | ||
} | ||
@@ -257,3 +204,3 @@ | ||
export function prependOperatorStrict<A>(a: A, self: ReadonlyArray<A>): ReadonlyArray<A> { | ||
return ROA.prepend(a)(self) | ||
return ROArray.prepend(a)(self) | ||
} | ||
@@ -327,3 +274,3 @@ | ||
*/ | ||
export const mapRA = ROA.mapNonEmpty | ||
export const mapRA = ROArray.mapNonEmpty | ||
@@ -334,3 +281,3 @@ /** | ||
export function sortBy<A>(na: NonEmptyReadonlyArray<A>, ords: readonly Ord<A>[]) { | ||
return ROA.sortBy(...ords.map(convertOrd))(na) as unknown as NonEmptyReadonlyArray<A> | ||
return ROArray.sortBy(...ords.map(convertOrd))(na) as unknown as NonEmptyReadonlyArray<A> | ||
} | ||
@@ -351,12 +298,5 @@ | ||
*/ | ||
export const makeNA = ROA.make | ||
export const makeNA = ROArray.make | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
*/ | ||
export function groupByTChunk_<A, Key extends PropertyKey>(c: Chunk<A>, f: (a: A) => Key) { | ||
return c.toReadonlyArray().groupByT(f).toChunk | ||
} | ||
/** | ||
* @tsplus fluent ReadonlyArray filterWith | ||
@@ -363,0 +303,0 @@ */ |
@@ -1,4 +0,25 @@ | ||
import type { Chunk, Option } from "./Prelude.js" | ||
import type { Option } from "./Option.js" | ||
import * as Chunk from "@fp-ts/data/Chunk" | ||
export * from "@fp-ts/data/Chunk" | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk sortWith | ||
*/ | ||
export function ChunksortWith<A>( | ||
...ords: NonEmptyArguments<Ord<A>> | ||
): (a: Chunk.Chunk<A>) => Chunk.Chunk<A> { | ||
// TODO | ||
return as => as.toArray.sortWith(...ords).toChunk | ||
} | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
*/ | ||
export function groupByTChunk_<A, Key extends PropertyKey>(c: Chunk.Chunk<A>, f: (a: A) => Key) { | ||
return c.toReadonlyArray().groupByT(f).toChunk | ||
} | ||
/** | ||
* Returns the first element that satisfies the predicate. | ||
@@ -12,3 +33,3 @@ * | ||
) { | ||
return (as: Chunk<A>) => { | ||
return (as: Chunk.Chunk<A>) => { | ||
const ass = as.toReadonlyArray() | ||
@@ -29,4 +50,48 @@ const len = ass.length | ||
*/ | ||
export function toArray<T>(c: Chunk<T>) { | ||
export function toArray<T>(c: Chunk.Chunk<T>) { | ||
return c.toReadonlyArray() | ||
} | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops uniq | ||
* @tsplus pipeable fp-ts/data/Chunk uniq | ||
*/ | ||
export function uniq<A>(E: Equal<A>) { | ||
return (self: Chunk.Chunk<A>): Chunk.Chunk<A> => { | ||
let out = ([] as A[]).toChunk | ||
for (let i = 0; i < self.length; i++) { | ||
const a = self.unsafeGet(i) | ||
if (!out.elem2(E, a)) { | ||
out = out.append(a) | ||
} | ||
} | ||
return self.length === out.length ? self : out | ||
} | ||
} | ||
/** | ||
* Test if a value is a member of an array. Takes a `Equivalence<A>` as a single | ||
* argument which returns the function to use to search for a value of type `A` | ||
* in an array of type `Chunk<A>`. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops elem2 | ||
* @tsplus pipeable fp-ts/data/Chunk elem2 | ||
*/ | ||
export function elem<A>(E: Equal<A>, value: A) { | ||
return (self: Chunk.Chunk<A>): boolean => { | ||
const predicate = (element: A) => E.equals(element, value) | ||
for (let i = 0; i < self.length; i++) { | ||
if (predicate(self.unsafeGet(i)!)) { | ||
return true | ||
} | ||
} | ||
return false | ||
} | ||
} | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk partition | ||
*/ | ||
export const ChunkPartition = Chunk.partition |
@@ -7,2 +7,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export * from "@fp-ts/data/Option" | ||
export { Option as Opt } from "@fp-ts/data/Option" | ||
@@ -9,0 +11,0 @@ |
@@ -25,3 +25,2 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ | ||
// import type * as EO from "@effect-ts-app/core/EffectOption" | ||
import type * as A from "@effect-ts-app/core/Array" | ||
import type * as NS from "@effect-ts-app/core/NonEmptySet" | ||
@@ -36,11 +35,2 @@ import type * as O from "@fp-ts/data/Option" | ||
/** | ||
* @tsplus type ReadonlyArray | ||
* @tsplus type Iterable | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
*/ | ||
export type ROA<A> = ReadonlyArray<A> | ||
export type { ROA as ReadonlyArray } | ||
export namespace Equal { | ||
@@ -181,3 +171,8 @@ // @ts-expect-error abc | ||
} | ||
/** @tsplus type ReadonlyArray */ | ||
/** | ||
* @tsplus type ReadonlyArray | ||
* @tsplus type Iterable | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
*/ | ||
export type ROArray<A> = ReadonlyArray<A> | ||
@@ -184,0 +179,0 @@ |
# @effect-ts-app/core | ||
## 2.0.12 | ||
### Patch Changes | ||
- Fix | ||
## 2.0.11 | ||
@@ -4,0 +10,0 @@ |
@@ -1,9 +0,30 @@ | ||
import { Equal, Ord, NonEmptyArguments } from "@effect-ts-app/core/Prelude"; | ||
import { Ord, Equal, NonEmptyArguments } from "@effect-ts-app/core/Prelude"; | ||
import { Order } from "@fp-ts/core/typeclass/Order"; | ||
import { NonEmptyArray, NonEmptyReadonlyArray } from "@fp-ts/data/ReadonlyArray"; | ||
import { Order } from "@fp-ts/core/typeclass/Order"; | ||
import { Predicate } from "@fp-ts/data/Predicate"; | ||
import { Chunk } from "@fp-ts/data/Chunk"; | ||
import { Effect } from "@effect/io/Effect"; | ||
import { Chunk, Option } from "./Prelude.js"; | ||
import * as Option from "./Option.js"; | ||
import * as Dur from "@fp-ts/data/Duration"; | ||
export * from "@fp-ts/data/ReadonlyArray"; | ||
/** | ||
* @tsplus getter ets/Ord toOrder | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function convertOrd<A>(_: Ord<A>): Order<A>; | ||
/** | ||
* @tsplus getter Generator toArray | ||
* @tsplus getter Iterable toArray | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function toArray<A>(gen: Generator<A, void, unknown>): A[]; | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* @tsplus pipeable Array uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops uniq | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function uniq<A>(E: Equal<A>): (self: ReadonlyArray<A>) => ReadonlyArray<A>; | ||
/** | ||
* @tsplus static fp-ts/data/Duration.Ops makeMillis | ||
@@ -16,3 +37,2 @@ * @tsplus location "@effect-ts-app/core/Array" | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops findFirstMap | ||
* @tsplus static ReadonlyArray.Ops findFirstMap | ||
* @tsplus static Array.Ops findFirstMap | ||
@@ -26,10 +46,4 @@ * @tsplus pipeable Array findFirstMap | ||
*/ | ||
export declare function findFirstMap<A, B>(f: (a: A) => Option<B>): (as: ReadonlyArray<A>) => Option.None | Option.Some<B>; | ||
export declare function findFirstMap<A, B>(f: (a: A) => Option.Option<B>): (as: ReadonlyArray<A>) => Option.None | Option.Some<B>; | ||
/** | ||
* @tsplus pipeable Array uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function uniq<A>(E: Equal<A>): (self: ReadonlyArray<A>) => ReadonlyArray<A>; | ||
/** | ||
* @tsplus static fp-ts/data/ReadonlyArray.NonEmptyArray.Ops fromArray | ||
@@ -43,8 +57,6 @@ * @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function NEROAFromArray<T>(ar: ReadonlyArray<T>): Option.None | Option.Some<readonly [T, ...T[]]>; | ||
export declare function NEROArrayFromArray<T>(ar: ReadonlyArray<T>): Option.None | Option.Some<readonly [T, ...T[]]>; | ||
/** | ||
* @tsplus pipeable Array sortWith | ||
* @tsplus pipeable ReadonlyArray sortWith | ||
* @tsplus pipeable NonEmptyArray sortWith | ||
* @tsplus pipeable NonEmptyArrayReadonlyArray sortWith | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
@@ -60,3 +72,3 @@ */ | ||
*/ | ||
export declare function sortByO<A>(ords: Option<NonEmptyReadonlyArray<Ord<A>>>): (a: ReadonlyArray<A>) => ReadonlyArray<A>; | ||
export declare function sortByO<A>(ords: Option.Option<NonEmptyReadonlyArray<Ord<A>>>): (a: ReadonlyArray<A>) => ReadonlyArray<A>; | ||
/** | ||
@@ -137,6 +149,7 @@ * @tsplus fluent ReadonlyArray groupByT | ||
/** | ||
* @tsplus fluent fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray sortWith | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops sortWithNonEmpty | ||
* @tsplus pipeable ReadonlyArray sortWithNonEmpty | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function sortWithNEA<A>(na: NonEmptyReadonlyArray<A>, ord: Ord<A>): [A, ...A[]]; | ||
export declare function sortWithNonEmpty<A>(...ords: NonEmptyArguments<Ord<A>>): (a: NonEmptyReadonlyArray<A>) => NonEmptyArray<A>; | ||
/** | ||
@@ -148,7 +161,2 @@ * @tsplus static fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray __call | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
* @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function groupByTChunk_<A, Key extends PropertyKey>(c: Chunk<A>, f: (a: A) => Key): Chunk.Chunk<readonly [Key, readonly [A, ...A[]]]>; | ||
/** | ||
* @tsplus fluent ReadonlyArray filterWith | ||
@@ -170,3 +178,3 @@ * @tsplus location "@effect-ts-app/core/Array" | ||
*/ | ||
export declare function chunk_<T>(items_: Iterable<T>, size: number): Chunk.Chunk<T[]>; | ||
export declare function chunk_<T>(items_: Iterable<T>, size: number): import("@fp-ts/data/Chunk").Chunk<T[]>; | ||
/** | ||
@@ -178,3 +186,3 @@ * @tsplus getter Array toChunk | ||
*/ | ||
export declare function toChunk<T>(items: Iterable<T>): Chunk.Chunk<T>; | ||
export declare function toChunk<T>(items: Iterable<T>): import("@fp-ts/data/Chunk").Chunk<T>; | ||
/** | ||
@@ -214,3 +222,3 @@ * @tsplus getter ReadonlyArray toNonEmpty | ||
*/ | ||
export declare function ext_forEachEffectPar<A, R, E, B>(as: ReadonlyArray<A>, f: (a: A) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, Chunk.Chunk<B>>; | ||
export declare function ext_forEachEffectPar<A, R, E, B>(as: ReadonlyArray<A>, f: (a: A) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, import("@fp-ts/data/Chunk").Chunk<B>>; | ||
/** | ||
@@ -220,3 +228,3 @@ * @tsplus fluent fp-ts/data/Chunk forEachEffectPar | ||
*/ | ||
export declare function ext_CNKforEachEffectPar<A, R, E, B>(as: Chunk<A>, f: (a: A) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, Chunk.Chunk<B>>; | ||
export declare function ext_CNKforEachEffectPar<A, R, E, B>(as: Chunk<A>, f: (a: A) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, import("@fp-ts/data/Chunk").Chunk<B>>; | ||
/** | ||
@@ -249,3 +257,3 @@ * @tsplus fluent fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray forEachEffectPar | ||
*/ | ||
export declare function ext_forEachWithIndex<A, R, E, B>(as: Iterable<A>, f: (a: A, i: number) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, Chunk.Chunk<B>>; | ||
export declare function ext_forEachWithIndex<A, R, E, B>(as: Iterable<A>, f: (a: A, i: number) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, import("@fp-ts/data/Chunk").Chunk<B>>; | ||
/** | ||
@@ -258,3 +266,3 @@ * @tsplus fluent ReadonlyArray forEachEffectParWithIndex | ||
*/ | ||
export declare function ext_forEachParWithIndex<A, R, E, B>(as: Iterable<A>, f: (a: A, i: number) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, Chunk.Chunk<B>>; | ||
export declare function ext_forEachParWithIndex<A, R, E, B>(as: Iterable<A>, f: (a: A, i: number) => Effect<R, E, B>): import("@effect/io/Effect").Effect<R, E, import("@fp-ts/data/Chunk").Chunk<B>>; | ||
/** | ||
@@ -266,3 +274,3 @@ * @tsplus getter Iterable toChunk | ||
*/ | ||
export declare const ext_itToChunk: <A>(self: Iterable<A>) => Chunk.Chunk<A>; | ||
export declare const ext_itToChunk: <A>(self: Iterable<A>) => import("@fp-ts/data/Chunk").Chunk<A>; | ||
//# sourceMappingURL=Array.d.ts.map |
import * as tsplus_module_1 from "@fp-ts/data/Option"; | ||
import * as tsplus_module_2 from "@effect-ts-app/core/Function"; | ||
import * as tsplus_module_3 from "@effect-ts-app/core/Chunk"; | ||
import * as tsplus_module_4 from "@effect/io/Effect"; | ||
export const groupByT = groupByT_1; | ||
import * as tsplus_module_3 from "@fp-ts/data/Chunk"; | ||
import * as tsplus_module_4 from "@effect-ts-app/core/Chunk"; | ||
import * as tsplus_module_5 from "@effect/io/Effect"; | ||
export const convertOrd = convertOrd_1; | ||
export const concat_ = concat_1; | ||
@@ -10,7 +11,54 @@ export const prepend_ = prepend_1; | ||
export const ChunkToNonEmptyReadonlyArray = ChunkToNonEmptyReadonlyArray_1; | ||
import * as ROA from "@fp-ts/data/ReadonlyArray"; | ||
import * as ROArray from "@fp-ts/data/ReadonlyArray"; | ||
import { identity } from "./Function.js"; | ||
import { Chunk, Option } from "./Prelude.js"; | ||
import * as Option from "./Option.js"; | ||
import * as Dur from "@fp-ts/data/Duration"; | ||
export * from "@fp-ts/data/ReadonlyArray"; | ||
/** | ||
* @tsplus getter ets/Ord toOrder | ||
*/ | ||
function convertOrd_1(_) { | ||
return ({ compare: x => y => _.compare(x, y) }); | ||
} | ||
/** | ||
* @tsplus getter Generator toArray | ||
* @tsplus getter Iterable toArray | ||
*/ | ||
export function toArray(gen) { | ||
return Array.from(gen); | ||
} | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* | ||
* @tsplus pipeable Array uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops uniq | ||
*/ | ||
export function uniq(E) { | ||
return (self) => { | ||
const includes = arrayIncludes(E); | ||
const result = []; | ||
const length = self.length; | ||
let i = 0; | ||
for (; i < length; i = i + 1) { | ||
const a = self[i]; | ||
if (!includes(result, a)) { | ||
result.push(a); | ||
} | ||
} | ||
return length === result.length ? self : result; | ||
}; | ||
} | ||
function arrayIncludes(E) { | ||
return (array, value) => { | ||
for (let i = 0; i < array.length; i = i + 1) { | ||
const element = array[i]; | ||
if (E.equals(value, element)) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
}; | ||
} | ||
/** | ||
* @tsplus static fp-ts/data/Duration.Ops makeMillis | ||
@@ -31,3 +79,2 @@ */ | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops findFirstMap | ||
* @tsplus static ReadonlyArray.Ops findFirstMap | ||
* @tsplus static Array.Ops findFirstMap | ||
@@ -53,32 +100,2 @@ * @tsplus pipeable Array findFirstMap | ||
/** | ||
* @tsplus pipeable Array uniq | ||
* @tsplus pipeable ReadonlyArray uniq | ||
*/ | ||
export function uniq(E) { | ||
return (self) => { | ||
const includes = arrayIncludes(E); | ||
const result = []; | ||
const length = self.length; | ||
let i = 0; | ||
for (; i < length; i = i + 1) { | ||
const a = self[i]; | ||
if (!includes(result, a)) { | ||
result.push(a); | ||
} | ||
} | ||
return length === result.length ? self : result; | ||
}; | ||
} | ||
function arrayIncludes(E) { | ||
return (array, value) => { | ||
for (let i = 0; i < array.length; i = i + 1) { | ||
const element = array[i]; | ||
if (E.equals(value, element)) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
}; | ||
} | ||
/** | ||
* @tsplus static fp-ts/data/ReadonlyArray.NonEmptyArray.Ops fromArray | ||
@@ -92,16 +109,11 @@ */ | ||
*/ | ||
export function NEROAFromArray(ar) { | ||
export function NEROArrayFromArray(ar) { | ||
return ar.length ? Option.some(ar) : Option.none; | ||
} | ||
function convertOrd(_) { | ||
return ({ compare: x => y => _.compare(x, y) }); | ||
} | ||
/** | ||
* @tsplus pipeable Array sortWith | ||
* @tsplus pipeable ReadonlyArray sortWith | ||
* @tsplus pipeable NonEmptyArray sortWith | ||
* @tsplus pipeable NonEmptyArrayReadonlyArray sortWith | ||
*/ | ||
export function sortWith(...ords) { | ||
return ROA.sortBy(...ords.map(convertOrd)); | ||
return ROArray.sortBy(...ords.map(convertOrd_1)); | ||
} | ||
@@ -115,3 +127,3 @@ /** | ||
export function sortByO(ords) { | ||
return tsplus_module_1.match(() => identity, _ => ROA.sortBy(..._.map(convertOrd)))(ords); | ||
return tsplus_module_1.match(() => identity, _ => ROArray.sortBy(..._.map(convertOrd_1)))(ords); | ||
} | ||
@@ -124,3 +136,3 @@ /** | ||
*/ | ||
function groupByT_1(as, f) { | ||
export function groupByT(as, f) { | ||
const r = {}; | ||
@@ -164,3 +176,3 @@ for (const a of as) { | ||
export function prependOperatorStrict(a, self) { | ||
return ROA.prepend(a)(self); | ||
return ROArray.prepend(a)(self); | ||
} | ||
@@ -227,3 +239,3 @@ /** | ||
*/ | ||
export const mapRA = ROA.mapNonEmpty; | ||
export const mapRA = ROArray.mapNonEmpty; | ||
/** | ||
@@ -233,9 +245,10 @@ * @tsplus fluent fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray sortBy | ||
export function sortBy(na, ords) { | ||
return ROA.sortBy(...ords.map(convertOrd))(na); | ||
return ROArray.sortBy(...ords.map(convertOrd_1))(na); | ||
} | ||
/** | ||
* @tsplus fluent fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray sortWith | ||
* @tsplus static fp-ts/data/ReadonlyArray.Ops sortWithNonEmpty | ||
* @tsplus pipeable ReadonlyArray sortWithNonEmpty | ||
*/ | ||
export function sortWithNEA(na, ord) { | ||
return ROA.sortNonEmpty(convertOrd(ord))(na); | ||
export function sortWithNonEmpty(...ords) { | ||
return a => ROArray.sortByNonEmpty(...ords.map(convertOrd_1))(a); | ||
} | ||
@@ -245,10 +258,4 @@ /** | ||
*/ | ||
export const makeNA = ROA.make; | ||
export const makeNA = ROArray.make; | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
*/ | ||
export function groupByTChunk_(c, f) { | ||
return ext_itToChunk_1(groupByT_1(c.toReadonlyArray(), f)); | ||
} | ||
/** | ||
* @tsplus fluent ReadonlyArray filterWith | ||
@@ -276,3 +283,3 @@ */ | ||
export function chunk_(items_, size) { | ||
return Chunk.fromIterable(_chunk_(items_, size)); | ||
return tsplus_module_3.fromIterable(_chunk_(items_, size)); | ||
} | ||
@@ -285,3 +292,3 @@ /** | ||
export function toChunk(items) { | ||
return Chunk.fromIterable(items); | ||
return tsplus_module_3.fromIterable(items); | ||
} | ||
@@ -312,3 +319,3 @@ /** | ||
function ChunkToNonEmptyReadonlyArray_1(c) { | ||
return toNonEmptyArray_1(tsplus_module_3.toArray(c)); | ||
return toNonEmptyArray_1(tsplus_module_4.toArray(c)); | ||
} | ||
@@ -320,3 +327,3 @@ /** | ||
export function ext_forEachEffectPar(as, f) { | ||
return tsplus_module_4.forEachPar(f)(as); | ||
return tsplus_module_5.forEachPar(f)(as); | ||
} | ||
@@ -327,3 +334,3 @@ /** | ||
export function ext_CNKforEachEffectPar(as, f) { | ||
return tsplus_module_4.forEachPar(f)(as); | ||
return tsplus_module_5.forEachPar(f)(as); | ||
} | ||
@@ -334,3 +341,3 @@ /** | ||
export function ext_NAforEachEffectPar(as, f) { | ||
return tsplus_module_4.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_4.forEachPar(f)(as)); | ||
return tsplus_module_5.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_5.forEachPar(f)(as)); | ||
} | ||
@@ -341,3 +348,3 @@ /** | ||
export function ext_NAforEach(as, f) { | ||
return tsplus_module_4.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_4.forEach(f)(as)); | ||
return tsplus_module_5.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_5.forEach(f)(as)); | ||
} | ||
@@ -348,3 +355,3 @@ /** | ||
export function ext_NAforEachEffectWithIndexPar(as, f) { | ||
return tsplus_module_4.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_4.forEachParWithIndex(f)(as)); | ||
return tsplus_module_5.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_5.forEachParWithIndex(f)(as)); | ||
} | ||
@@ -355,3 +362,3 @@ /** | ||
export function ext_NAforEachWithIndex(as, f) { | ||
return tsplus_module_4.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_4.forEachWithIndex(f)(as)); | ||
return tsplus_module_5.map(_ => tsplus_module_1.getOrUndefined(ChunkToNonEmptyReadonlyArray_1(_)))(tsplus_module_5.forEachWithIndex(f)(as)); | ||
} | ||
@@ -365,3 +372,3 @@ /** | ||
export function ext_forEachWithIndex(as, f) { | ||
return tsplus_module_4.forEachWithIndex(f)(as); | ||
return tsplus_module_5.forEachWithIndex(f)(as); | ||
} | ||
@@ -375,3 +382,3 @@ /** | ||
export function ext_forEachParWithIndex(as, f) { | ||
return tsplus_module_4.forEachParWithIndex(f)(as); | ||
return tsplus_module_5.forEachParWithIndex(f)(as); | ||
} | ||
@@ -383,4 +390,3 @@ /** | ||
*/ | ||
const ext_itToChunk_1 = Chunk.fromIterable; | ||
export const ext_itToChunk = ext_itToChunk_1; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXJyYXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9fc3JjL0FycmF5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7YU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option } from "./Option.js"; | ||
import * as Chunk from "@fp-ts/data/Chunk"; | ||
export * from "@fp-ts/data/Chunk"; | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk sortWith | ||
* @tsplus location "@effect-ts-app/core/Chunk" | ||
*/ | ||
export declare function ChunksortWith<A>(...ords: NonEmptyArguments<Ord<A>>): (a: Chunk.Chunk<A>) => Chunk.Chunk<A>; | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
* @tsplus location "@effect-ts-app/core/Chunk" | ||
*/ | ||
export declare function groupByTChunk_<A, Key extends PropertyKey>(c: Chunk.Chunk<A>, f: (a: A) => Key): Chunk.Chunk<readonly [Key, readonly [A, ...A[]]]>; | ||
/** | ||
* Returns the first element that satisfies the predicate. | ||
@@ -8,3 +21,3 @@ * @tsplus static fp-ts/data/Chunk.Ops findFirstMap | ||
*/ | ||
export declare function findFirstMap<A, B>(f: (a: A) => Option<B>): (as: Chunk<A>) => Option.None | Option.Some<B>; | ||
export declare function findFirstMap<A, B>(f: (a: A) => Option<B>): (as: Chunk.Chunk<A>) => import("@fp-ts/data/Option").None | import("@fp-ts/data/Option").Some<B>; | ||
/** | ||
@@ -14,3 +27,27 @@ * @tsplus getter fp-ts/data/Chunk toArray | ||
*/ | ||
export declare function toArray<T>(c: Chunk<T>): readonly T[]; | ||
export declare function toArray<T>(c: Chunk.Chunk<T>): readonly T[]; | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* @tsplus static fp-ts/data/Chunk.Ops uniq | ||
* @tsplus pipeable fp-ts/data/Chunk uniq | ||
* @tsplus location "@effect-ts-app/core/Chunk" | ||
*/ | ||
export declare function uniq<A>(E: Equal<A>): (self: Chunk.Chunk<A>) => Chunk.Chunk<A>; | ||
/** | ||
* Test if a value is a member of an array. Takes a `Equivalence<A>` as a single | ||
* argument which returns the function to use to search for a value of type `A` | ||
* in an array of type `Chunk<A>`. | ||
* @tsplus static fp-ts/data/Chunk.Ops elem2 | ||
* @tsplus pipeable fp-ts/data/Chunk elem2 | ||
* @tsplus location "@effect-ts-app/core/Chunk" | ||
*/ | ||
export declare function elem<A>(E: Equal<A>, value: A): (self: Chunk.Chunk<A>) => boolean; | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk partition | ||
* @tsplus location "@effect-ts-app/core/Chunk" | ||
*/ | ||
export declare const ChunkPartition: { | ||
<C extends A, B extends A, A = C>(refinement: import("@fp-ts/data/Predicate").Refinement<A, B>): (fc: Chunk.Chunk<C>) => readonly [Chunk.Chunk<C>, Chunk.Chunk<B>]; | ||
<B_1 extends A_1, A_1 = B_1>(predicate: import("@fp-ts/data/Predicate").Predicate<A_1>): (fb: Chunk.Chunk<B_1>) => readonly [Chunk.Chunk<B_1>, Chunk.Chunk<B_1>]; | ||
}; | ||
//# sourceMappingURL=Chunk.d.ts.map |
@@ -1,3 +0,21 @@ | ||
import * as tsplus_module_1 from "@fp-ts/data/Option"; | ||
import * as tsplus_module_1 from "@effect-ts-app/core/Array"; | ||
import * as tsplus_module_2 from "@fp-ts/data/Option"; | ||
export const toArray = toArray_1; | ||
export const elem = elem_1; | ||
import * as Chunk from "@fp-ts/data/Chunk"; | ||
export * from "@fp-ts/data/Chunk"; | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk sortWith | ||
*/ | ||
export function ChunksortWith(...ords) { | ||
// TODO | ||
return as => tsplus_module_1.ext_itToChunk(tsplus_module_1.sortWith(...ords)(toArray_1(as))); | ||
} | ||
/** | ||
* @tsplus fluent fp-ts/data/Chunk groupByT | ||
*/ | ||
export function groupByTChunk_(c, f) { | ||
return tsplus_module_1.ext_itToChunk(tsplus_module_1.groupByT(c.toReadonlyArray(), f)); | ||
} | ||
/** | ||
* Returns the first element that satisfies the predicate. | ||
@@ -14,7 +32,7 @@ * | ||
const v = f(ass[i]); | ||
if (tsplus_module_1.isSome(v)) { | ||
if (tsplus_module_2.isSome(v)) { | ||
return v; | ||
} | ||
} | ||
return tsplus_module_1.none; | ||
return tsplus_module_2.none; | ||
}; | ||
@@ -25,5 +43,46 @@ } | ||
*/ | ||
export function toArray(c) { | ||
function toArray_1(c) { | ||
return c.toReadonlyArray(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2h1bmsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9fc3JjL0NodW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFFQTs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxZQUFZLENBQzFCLENBQXNCO0lBRXRCLE9BQU8sQ0FBQyxFQUFZLEVBQUUsRUFBRTtRQUN0QixNQUFNLEdBQUcsR0FBRyxFQUFFLENBQUMsZUFBZSxFQUFFLENBQUE7UUFDaEMsTUFBTSxHQUFHLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQTtRQUN0QixLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUMsRUFBRSxFQUFFO1lBQzVCLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFFLENBQUMsQ0FBQTtZQUNwQixJQUFJLHVCQUFBLENBQUMsQ0FBUyxFQUFFO2dCQUNkLE9BQU8sQ0FBQyxDQUFBO2FBQ1Q7U0FDRjtRQUNELDRCQUFlO0lBQ2pCLENBQUMsQ0FBQTtBQUNILENBQUM7QUFFRDs7R0FFRztBQUNILE1BQU0sVUFBVSxPQUFPLENBQUksQ0FBVztJQUNwQyxPQUFPLENBQUMsQ0FBQyxlQUFlLEVBQUUsQ0FBQTtBQUM1QixDQUFDIn0= | ||
/** | ||
* Remove duplicates from an array, keeping the first occurrence of an element. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops uniq | ||
* @tsplus pipeable fp-ts/data/Chunk uniq | ||
*/ | ||
export function uniq(E) { | ||
return (self) => { | ||
let out = tsplus_module_1.ext_itToChunk([]); | ||
for (let i = 0; i < self.length; i++) { | ||
const a = self.unsafeGet(i); | ||
if (!elem_1(E, a)(out)) { | ||
out = out.append(a); | ||
} | ||
} | ||
return self.length === out.length ? self : out; | ||
}; | ||
} | ||
/** | ||
* Test if a value is a member of an array. Takes a `Equivalence<A>` as a single | ||
* argument which returns the function to use to search for a value of type `A` | ||
* in an array of type `Chunk<A>`. | ||
* | ||
* @tsplus static fp-ts/data/Chunk.Ops elem2 | ||
* @tsplus pipeable fp-ts/data/Chunk elem2 | ||
*/ | ||
function elem_1(E, value) { | ||
return (self) => { | ||
const predicate = (element) => E.equals(element, value); | ||
for (let i = 0; i < self.length; i++) { | ||
if (predicate(self.unsafeGet(i))) { | ||
return true; | ||
} | ||
} | ||
return false; | ||
}; | ||
} | ||
/** | ||
* @tsplus pipeable fp-ts/data/Chunk partition | ||
*/ | ||
export const ChunkPartition = Chunk.partition; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2h1bmsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9fc3JjL0NodW5rLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O2FBZ0RnQixPQUFPO2FBK0JQLElBQUk7QUE3RXBCLE9BQU8sS0FBSyxLQUFLLE1BQU0sbUJBQW1CLENBQUE7QUFFMUMsY0FBYyxtQkFBbUIsQ0FBQTtBQUVqQzs7R0FFRztBQUNILE1BQU0sVUFBVSxhQUFhLENBQzNCLEdBQUcsSUFBK0I7SUFFbEMsT0FBTztJQUNQLE9BQU8sRUFBRSxDQUFDLEVBQUUsK0JBQUMseUJBQW9CLEdBQUcsSUFBSSxZQUEzQixFQUFFLEVBQTBCLENBQVEsQ0FBQTtBQUNuRCxDQUFDO0FBRUQ7O0dBRUc7QUFDSCxNQUFNLFVBQVUsY0FBYyxDQUE2QixDQUFpQixFQUFFLENBQWdCO0lBQzVGLHFDQUFPLHlCQUFBLENB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0FBQTtZQUMzQixJQUFJLENBQUMsT0FBVSxDQUFDLEVBQUUsQ0FBQyxFQUFkLEdBQUcsQ0FBWSxFQUFFO2dCQUNwQixHQUFHLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQTthQUNwQjtTQUNGO1FBQ0QsT0FBTyxJQUFJLENBQUMsTUFBTSxLQUFLLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFBO0lBQ2hELENBQUMsQ0FBQTtBQUNILENBQUM7QUFFRDs7Ozs7OztHQU9HO0FBQ0gsZ0JBQXdCLENBQVcsRUFBRSxLQUFRO0lBQzNDLE9BQU8sQ0FBQyxJQUFvQixFQUFXLEVBQUU7UUFDdkMsTUFBTSxTQUFTLEdBQUcsQ0FBQyxPQUFVLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxDQUFBO1FBQzFELEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO1lBQ3BDLElBQUksU0FBUyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFFLENBQUMsRUFBRTtnQkFDakMsT0FBTyxJQUFJLENBQUE7YUFDWjtTQUNGO1FBQ0QsT0FBTyxLQUFLLENBQUE7SUFDZCxDQUFDLENBQUE7QUFDSCxDQUFDO0FBRUQ7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsS0FBSyxDQUFDLFNBQVMsQ0FBQSJ9 |
@@ -14,2 +14,3 @@ export * as Map from "@effect-ts/core/Collections/Immutable/Map"; | ||
export * as ROSet from "@effect-ts-app/core/Set"; | ||
export * as ROArray from "@effect-ts-app/core/Array"; | ||
//# sourceMappingURL=index.d.ts.map |
import { Some } from "@fp-ts/data/Option"; | ||
import { Option } from "@fp-ts/data/Option"; | ||
export * from "@fp-ts/data/Option"; | ||
export { Option as Opt } from "@fp-ts/data/Option"; | ||
@@ -4,0 +5,0 @@ /** |
import * as tsplus_module_1 from "@fp-ts/data/Option"; | ||
export * from "@fp-ts/data/Option"; | ||
/** | ||
@@ -48,2 +49,2 @@ * @tsplus static fp-ts/data/Option.Ops omitableToNullable | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3B0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vX3NyYy9PcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQVFBOztHQUVHO0FBQ0gsTUFBTSxVQUFVLGtCQUFrQixDQUFJLEVBQXlCO0lBQzdELE9BQU8sRUFBRSxJQUFJLDZCQUFvQixFQUFFLENBQUMsQ0FBQTtBQUN0QyxDQUFDO0FBRUQ7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQUcsc0JBQ3BCLEdBQUcsRUFBRSxDQUFDLEtBQUssRUFDWCxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQ1gsQ0FBQTtBQUVEOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sUUFBUSxHQUFHLENBQUMsQ0FBVSxFQUFFLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMscUJBQVksSUFBSSxDQUFDLENBQUMsQ0FBQyxxQkFBWSxDQUFDLENBQUE7QUFTN0UsTUFBTSxVQUFVLENBQUMsQ0FBSSxDQUFNO0lBQ3pCLE9BQU8sQ0FBQyxDQUFZLEVBQUUsRUFBRSxDQUFDLHdCQUFVLENBQUMsQ0FBQyxFQUFFLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUE1QixDQUFDLENBQTRCLEN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nQkFBZ0IsRUFBRSxDQUFBO0FBQzlCLENBQUM7QUFFRDs7O0dBR0c7QUFDSCxNQUFNLFVBQVUsT0FBTyxDQUNyQixDQUE2QztJQUU3QyxPQUFPLENBQUMsR0FBRyxJQUFJLEVBQUUsRUFBRTtRQUNqQixJQUFJO1lBQ0YsT0FBTyxxQkFBWSxDQUFDLENBQUMsWUFBWSxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQyxDQUFBO1NBQzdDO1FBQUMsT0FBTyxDQUFDLEVBQUU7WUFDVixJQUFJLENBQUMsWUFBWSxnQkFBZ0IsRUFBRTtnQkFDakMsNEJBQWtCO2FBQ25CO1lBQ0QsTUFBTSxDQUFDLENBQUE7U0FDUjtJQUNILENBQUMsQ0FBQTtBQUNILENBQUMifQ== |
@@ -11,10 +11,2 @@ import "./global.ts"; | ||
import type * as SET from "@effect-ts-app/core/Set"; | ||
/** | ||
* @tsplus type ReadonlyArray | ||
* @tsplus type Iterable | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
* @tsplus companion ReadonlyArray.Ops | ||
*/ | ||
export type ROA<A> = ReadonlyArray<A>; | ||
export type { ROA as ReadonlyArray }; | ||
export declare namespace Equal { | ||
@@ -56,2 +48,12 @@ export * from "@effect-ts/core/Equal"; | ||
export type NonEmptySet<A> = NS.NonEmptySet<A>; | ||
export declare namespace ROArray { | ||
export * from "@effect-ts-app/core/Array"; | ||
} | ||
/** | ||
* @tsplus type ReadonlyArray | ||
* @tsplus type Iterable | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
* @tsplus companion fp-ts/data/ReadonlyArray.Ops | ||
*/ | ||
export type ROArray<A> = ReadonlyArray<A>; | ||
export declare namespace Set { | ||
@@ -58,0 +60,0 @@ export * from "@effect-ts-app/core/Set"; |
@@ -1,138 +0,16 @@ | ||
/* eslint-disable @typescript-eslint/ban-ts-comment */ | ||
/* eslint-disable unused-imports/no-unused-imports */ | ||
import "./global.ts"; | ||
export var Equal; | ||
(function (Equal) { | ||
})(Equal || (Equal = {})); | ||
// export namespace Has { | ||
// export * from "@effect-ts/core/Has" | ||
// } | ||
// /** @tsplus type ets/Has */ | ||
// export type Has<T> = HAS.Has<T> | ||
// /** @tsplus type ets/Tag */ | ||
// export type Tag<T> = HAS.Tag<T> | ||
// /** @tsplus type ets/Fiber */ | ||
// export type Fiber<A, B> = FIBER.Fiber<A, B> | ||
// export namespace Fiber { | ||
// export * from "@effect-ts/core/Effect/Fiber" | ||
// } | ||
// /** @tsplus type ets/Cause */ | ||
// export type Cause<A> = CAUSE.Cause<A> | ||
// export namespace Cause { | ||
// export * from "@effect-ts/core/Effect/Cause" | ||
// } | ||
// export namespace Exit { | ||
// export * from "@effect-ts/core/Effect/Exit" | ||
// } | ||
// /** @tsplus type ets/Exit */ | ||
// export type Exit<E, A> = EX.Exit<E, A> | ||
export var Either; | ||
(function (Either) { | ||
})(Either || (Either = {})); | ||
export var Ord; | ||
(function (Ord) { | ||
})(Ord || (Ord = {})); | ||
// export namespace EffectOption { | ||
// export * from "@effect-ts-app/core/EffectOption" | ||
// } | ||
// /** @tsplus type ets/EffectOption */ | ||
// export type EffectOption<R, E, A> = EO.EffectOption<R, E, A> | ||
// export { UIO as EffectOptionU, IO as EffectOptionE, RIO as EffectOptionR } from "@effect-ts-app/core/EffectOption" | ||
// export namespace SyncOpt { | ||
// export * from "@effect-ts-app/core/SyncOpt" | ||
// } | ||
// /** @tsplus type ets/SyncOpt */ | ||
// export type SyncOpt<R, E, A> = SO.SyncOpt<R, E, A> | ||
// export { UIO as SyncOptU, IO as SyncOptE, RIO as SyncOptR } from "@effect-ts-app/core/SyncOpt" | ||
// export namespace Managed { | ||
// export * from "@effect-ts/core/Effect/Managed" | ||
// } | ||
// /** @tsplus type ets/Managed */ | ||
// export type Managed<R,E,A> = M.Managed<R, E, A> | ||
// export { UIO as ManagedU, IO as ManagedE, RIO as ManagedR } from "@effect-ts/core/Effect/Managed" | ||
// export namespace Effect { | ||
// export * from "@effect-ts-app/core/Effect" | ||
// } | ||
// /** @tsplus type ets/Effect */ | ||
// export type Effect<R,E,A> = T.Effect<R, E, A> | ||
// export { UIO as EffectU, IO as EffectE, RIO as EffectR } from "@effect-ts-app/core/Effect" | ||
// export namespace Schedule { | ||
// export * from "@effect-ts/core/Effect/Schedule" | ||
// } | ||
// /** @tsplus type ets/Schedule */ | ||
// export type Schedule<Env, In, Out> = SCHEDULE.Schedule<Env, In, Out> | ||
export var Option; | ||
(function (Option) { | ||
})(Option || (Option = {})); | ||
export var Chunk; | ||
(function (Chunk) { | ||
})(Chunk || (Chunk = {})); | ||
// export namespace Sync { | ||
// export * from "@effect-ts-app/core/Sync" | ||
// } | ||
// /** @tsplus type ets/Sync */ | ||
// export type Sync<R, E, A> = Sy.Sync<R, E, A> | ||
// export { UIO as SyncU, IO as SyncE, RIO as SyncR } from "@effect-ts-app/core/Sync" | ||
// export namespace XPure { | ||
// export * from "@effect-ts/core/XPure" | ||
// } | ||
// /** @tsplus type ets/XPure */ | ||
// export type XPure<W, S1, S2, R, E, A> = XPURE.XPure<W, S1, S2, R, E, A> | ||
// export namespace NonEmptyArray { | ||
// // @ts-expect-error | ||
// export * from "@effect-ts-app/core/NonEmptyArray" | ||
// } | ||
// /** @tsplus type fp-ts/data/ReadonlyArray.NonEmptyReadonlyArray */ | ||
// export type NonEmptyReadonlyArray<A> = NA.NonEmptyReadonlyArray<A> | ||
export var NonEmptySet; | ||
(function (NonEmptySet) { | ||
})(NonEmptySet || (NonEmptySet = {})); | ||
// export namespace Array { | ||
// // @ts-expect-error | ||
// export * from "@effect-ts-app/core/Array" | ||
// } | ||
// /** @tsplus type Array */ | ||
// export type Array<A> = A.Array<A> | ||
// export namespace ReadonlyArray { | ||
// // @ts-expect-error | ||
// export * from "@effect-ts-app/core/Array" | ||
// } | ||
// /** @tsplus type Array */ | ||
// export type ReadonlyArray<A> = A.Array<A> | ||
export var Set; | ||
(function (Set) { | ||
})(Set || (Set = {})); | ||
export var ROSet; | ||
(function (ROSet) { | ||
})(ROSet || (ROSet = {})); | ||
// export namespace Layer { | ||
// export * from "@effect-ts/core/Effect/Layer" | ||
// } | ||
// /** @tsplus type ets/Layer */ | ||
// export type Layer<RIn, E, ROut> = LAYER.Layer<RIn, E, ROut> | ||
// export namespace Ref { | ||
// export * from "@effect-ts/core/Effect/Ref" | ||
// } | ||
// /** @tsplus type ets/Ref */ | ||
// export type Ref<A> = REF.Ref<A> | ||
// export namespace Queue { | ||
// export * from "@effect-ts/core/Effect/Queue" | ||
// } | ||
// /** @tsplus type ets/Queue */ | ||
// export type Queue<A> = QUEUE.Queue<A> | ||
// export { Enqueue, XEnqueue, Dequeue, XDequeue} from "@effect-ts/core/Effect/Queue" | ||
// export namespace Semaphore { | ||
// export * from "@effect-ts/core/Effect/Semaphore" | ||
// } | ||
// /** @tsplus type ets/Semaphore */ | ||
// export type Semaphore = SEMAPHORE.Semaphore | ||
export var Map; | ||
(function (Map) { | ||
})(Map || (Map = {})); | ||
export var ROMap; | ||
(function (ROMap) { | ||
})(ROMap || (ROMap = {})); | ||
export var Lens; | ||
(function (Lens) { | ||
})(Lens || (Lens = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJlbHVkZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL19zcmMvUHJlbHVkZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFBc0Q7QUFDdEQscURBQXFEO0FBRXJELE9BQU8sYUFBYSxDQUFBO0FBdUNwQixNQUFNLEtBQVcsS0FBSyxDQUdyQjtBQUhELFdBQWlCLEtBQUs7QUFHdEIsQ0FBQyxFQUhnQixLQUFLLEtBQUwsS0FBSyxRQUdyQjtBQUlELHlCQUF5QjtBQUN6Qix3Q0FBd0M7QUFDeEMsSUFBSTtBQUNKLDhCQUE4QjtBQUM5QixrQ0FBa0M7QUFFbEMsOEJBQThCO0FBQz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MsSUFBSTtBQUNKLDhCQUE4QjtBQUM5QixrQ0FBa0M7QUFFbEMsMkJBQTJCO0FBQzNCLGlEQUFpRDtBQUNqRCxJQUFJO0FBQ0osZ0NBQWdDO0FBQ2hDLHdDQUF3QztBQUN4QyxxRkFBcUY7QUFFckYsK0JBQStCO0FBQy9CLHFEQUFxRDtBQUNyRCxJQUFJO0FBQ0osb0NBQW9DO0FBQ3BDLDhDQUE4QztBQUU5QyxNQUFNLEtBQVcsR0FBRyxDQUduQjtBQUhELFdBQWlCLEdBQUc7QUFHcEIsQ0FBQyxFQUhnQixHQUFHLEtBQUgsR0FBRyxRQUduQjtBQUlELE1BQU0sS0FBVyxLQUFLLENBR3JCO0FBSEQsV0FBaUIsS0FBSztBQUd0QixDQUFDLEVBSGdCLEtBQUssS0FBTCxLQUFLLFFBR3JCO0FBSUQsTUFBTSxLQUFXLElBQUksQ0FHcEI7QUFIRCxXQUFpQixJQUFJO0FBR3JCLENBQUMsRUFIZ0IsSUFBSSxLQUFKLElBQUksUUFHcEIifQ== | ||
// TODO: Export order seems to be important? Somehow some cyclics? | ||
export * as Map from "@effect-ts/core/Collections/Immutable/Map"; | ||
export * as ROMap from "@effect-ts/core/Collections/Immutable/Map"; | ||
export * as Lens from "@effect-ts/monocle/Lens"; | ||
export * as Chunk from "@fp-ts/data/Chunk"; | ||
export * as Either from "@fp-ts/data/Either"; | ||
export * as Option from "@fp-ts/data/Option"; | ||
export * as Equal from "@effect-ts/core/Equal"; | ||
export * as Ord from "@effect-ts/core/Ord"; | ||
// export * as EffectOption from "@effect-ts-app/core/EffectOption" | ||
export * as NonEmptySet from "@effect-ts-app/core/NonEmptySet"; | ||
// export * as Schema from "@effect-ts-app/schema" | ||
export * as Set from "@effect-ts-app/core/Set"; | ||
export * as ROSet from "@effect-ts-app/core/Set"; | ||
export * as ROArray from "@effect-ts-app/core/Array"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9fc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGtFQUFrRTtBQUNsRSxPQUFPLEtBQUssR0FBRyxNQUFNLDJDQUEyQyxDQUFBO0FBQ2hFLE9BQU8sS0FBSyxLQUFLLE1BQU0sMkNBQTJDLENBQUE7QUFDbEUsT0FBTyxLQUFLLElBQUksTUFBTSx5QkFBeUIsQ0FBQTtBQUMvQyxPQUFPLEtBQUssS0FBSyxNQUFNLG1CQUFtQixDQUFBO0FBQzFDLE9BQU8sS0FBSyxNQUFNLE1BQU0sb0JBQW9CLENBQUE7QUFDNUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxvQkFBb0IsQ0FBQTtBQUU1QyxPQUFPLEtBQUssS0FBSyxNQUFNLHVCQUF1QixDQUFBO0FBQzlDLE9BQU8sS0FBSyxHQUFHLE1BQU0scUJBQXFCLENBQUE7QUFHMUMsbUVBQW1FO0FBQ25FLE9BQU8sS0FBSyxXQUFXLE1BQU0saUNBQWlDLENBQUE7QUFFOUQsa0RBQWtEO0FBQ2xELE9BQU8sS0FBSyxHQUFHLE1BQU0seUJBQXlCLENBQUE7QUFDOUMsT0FBTyxLQUFLLEtBQUssTUFBTSx5QkFBeUIsQ0FBQTtBQUVoRCxPQUFPLEtBQUssT0FBTyxNQUFNLDJCQUEyQixDQUFBIn0= |
{ | ||
"name": "@effect-ts-app/core", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1217142
272
40237