functype 0.18.0 → 0.20.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 +13 -11
- package/README.processed.md +2 -11
- package/dist/Brand-B-0nKo7I.d.ts +55 -0
- package/dist/Brand-Cfr5zy8F.js +2 -0
- package/dist/Brand-Cfr5zy8F.js.map +1 -0
- package/dist/Tuple-CKxIyX7l.d.ts +178 -0
- package/dist/Tuple-CgX4p79w.js +2 -0
- package/dist/Tuple-CgX4p79w.js.map +1 -0
- package/dist/branded/index.d.ts +2 -54
- package/dist/branded/index.js +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +660 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/do/index.d.ts +4 -240
- package/dist/do/index.js +1 -0
- package/dist/either/index.d.ts +4 -2
- package/dist/either/index.js +1 -0
- package/dist/fpromise/index.d.ts +4 -373
- package/dist/fpromise/index.js +1 -0
- package/dist/index-Bnjlo4cT.d.ts +3575 -0
- package/dist/index.d.ts +4 -1934
- package/dist/index.js +1 -0
- package/dist/list/index.d.ts +4 -2
- package/dist/list/index.js +1 -0
- package/dist/map/index.d.ts +4 -58
- package/dist/map/index.js +1 -0
- package/dist/option/index.d.ts +4 -2
- package/dist/option/index.js +1 -0
- package/dist/set/index.d.ts +4 -2
- package/dist/set/index.js +1 -0
- package/dist/src-BOxI0-73.js +20 -0
- package/dist/src-BOxI0-73.js.map +1 -0
- package/dist/try/index.d.ts +4 -2
- package/dist/try/index.js +1 -0
- package/dist/tuple/index.d.ts +2 -75
- package/dist/tuple/index.js +1 -0
- package/package.json +31 -42
- package/dist/Either-Ccg0S1uS.d.ts +0 -1015
- package/dist/Typeable-DiGVtDnq.d.ts +0 -96
- package/dist/branded/index.mjs +0 -2
- package/dist/branded/index.mjs.map +0 -1
- package/dist/chunk-6ZIR6EKC.mjs +0 -38
- package/dist/chunk-6ZIR6EKC.mjs.map +0 -1
- package/dist/chunk-7JJIUQXK.mjs +0 -3
- package/dist/chunk-7JJIUQXK.mjs.map +0 -1
- package/dist/chunk-OR6V4TCO.mjs +0 -2
- package/dist/chunk-OR6V4TCO.mjs.map +0 -1
- package/dist/do/index.mjs +0 -2
- package/dist/do/index.mjs.map +0 -1
- package/dist/either/index.mjs +0 -2
- package/dist/either/index.mjs.map +0 -1
- package/dist/fpromise/index.mjs +0 -2
- package/dist/fpromise/index.mjs.map +0 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +0 -1
- package/dist/list/index.mjs +0 -2
- package/dist/list/index.mjs.map +0 -1
- package/dist/map/index.mjs +0 -2
- package/dist/map/index.mjs.map +0 -1
- package/dist/option/index.mjs +0 -2
- package/dist/option/index.mjs.map +0 -1
- package/dist/set/index.mjs +0 -2
- package/dist/set/index.mjs.map +0 -1
- package/dist/try/index.mjs +0 -2
- package/dist/try/index.mjs.map +0 -1
- package/dist/tuple/index.mjs +0 -2
- package/dist/tuple/index.mjs.map +0 -1
package/dist/chunk-7JJIUQXK.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import u from'safe-stable-stringify';function T(e,r){return Object.assign(e,r)}var p=e=>{let r={_tag:"Tuple",map:t=>{let n=t(e);return m(n)},flatMap:t=>t(e),get:t=>e[t],toArray:()=>e,length:e.length,[Symbol.iterator](){let t=0;return {next:()=>t<e.length?{value:e[t++],done:false}:{value:void 0,done:true}}},fold:(t,n)=>e.length===0?t():n(e[0]),foldLeft:t=>n=>e.reduce(n,t),foldRight:t=>n=>e.reduceRight((l,o)=>n(o,l),t),pipe:t=>t(r),serialize:()=>({toJSON:()=>JSON.stringify({_tag:"Tuple",value:e}),toYAML:()=>`_tag: Tuple
|
|
2
|
-
value: ${u(e)}`,toBinary:()=>Buffer.from(JSON.stringify({_tag:"Tuple",value:e})).toString("base64")}),toValue:()=>({_tag:"Tuple",value:e}),toString:()=>`Tuple(${e.map(t=>String(t)).join(", ")})`};return r},a=e=>p(e),i={of:(...e)=>p(e),pair:(e,r)=>p([e,r]),triple:(e,r,t)=>p([e,r,t]),empty:()=>p([]),from:e=>p(e)},m=T(a,i);export{T as a,m as b};//# sourceMappingURL=chunk-7JJIUQXK.mjs.map
|
|
3
|
-
//# sourceMappingURL=chunk-7JJIUQXK.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/companion/Companion.ts","../src/tuple/Tuple.ts"],"names":["Companion","object","companion","TupleObject","values","tuple","f","mapValue","Tuple","index","onEmpty","onValue","z","op","acc","value","stringify","v","TupleConstructor","TupleCompanion","first","second","third"],"mappings":"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","file":"chunk-7JJIUQXK.mjs","sourcesContent":["/**\n * Creates a function-object hybrid similar to Scala's companion objects.\n * This utility allows creating TypeScript function objects with attached methods,\n * mimicking Scala's class + companion object pattern without using classes.\n *\n * @param object The main function that will be invoked when the object is called\n * @param companion Additional static methods to attach to the function\n * @returns A function with the attached methods\n *\n * @example\n * const greet = (name: string) => `Hello, ${name}!`;\n * const methods = {\n * formal: (name: string) => `Good day, ${name}.`,\n * casual: (name: string) => `Hey ${name}!`\n * };\n * const Greeter = createCompanionObject(greet, methods);\n *\n * // Usage:\n * Greeter(\"World\"); // Hello, World!\n * Greeter.formal(\"Sir\"); // Good day, Sir.\n * Greeter.casual(\"Friend\"); // Hey Friend!\n */\nexport function Companion<ObjectF extends object, CompanionF extends object>(\n object: ObjectF,\n companion: CompanionF,\n): ObjectF & CompanionF {\n // eslint-disable-next-line functional/immutable-data\n return Object.assign(object, companion)\n}\n","import stringify from \"safe-stable-stringify\"\n\nimport { Companion } from \"@/companion/Companion\"\nimport type { Foldable } from \"@/foldable/Foldable\"\nimport type { Pipe } from \"@/pipe\"\nimport type { Serializable } from \"@/serializable/Serializable\"\nimport type { Typeable } from \"@/typeable/Typeable\"\nimport type { Type } from \"@/types\"\n\nexport interface Tuple<T extends Type[]>\n extends Foldable<T[number]>,\n Pipe<Tuple<T>>,\n Serializable<Tuple<T>>,\n Typeable<\"Tuple\"> {\n get<K extends number>(index: K): T[K]\n\n map<U extends Type[]>(f: (value: T) => U): Tuple<U>\n\n flatMap<U extends Type[]>(f: (value: T) => Tuple<U>): Tuple<U>\n\n toArray(): T\n\n length: number\n\n [Symbol.iterator](): Iterator<T[number]>\n\n toString(): string\n\n toValue(): { _tag: \"Tuple\"; value: T }\n}\n\nconst TupleObject = <T extends Type[]>(values: T): Tuple<T> => {\n const tuple: Tuple<T> = {\n _tag: \"Tuple\",\n map: <U extends Type[]>(f: (value: T) => U): Tuple<U> => {\n const mapValue = f(values)\n return Tuple(mapValue)\n },\n\n flatMap: <U extends Type[]>(f: (value: T) => Tuple<U>): Tuple<U> => {\n return f(values)\n },\n\n get: <K extends number>(index: K): T[K] => {\n return values[index]\n },\n\n toArray: (): T => {\n return values\n },\n\n length: values.length,\n\n [Symbol.iterator](): Iterator<T[number]> {\n let index = 0\n return {\n next: (): IteratorResult<T[number]> => {\n if (index < values.length) {\n return {\n value: values[index++],\n done: false,\n }\n } else {\n return {\n value: undefined,\n done: true,\n }\n }\n },\n }\n },\n\n // Foldable implementation\n fold: <B>(onEmpty: () => B, onValue: (value: T[number]) => B): B => {\n return values.length === 0 ? onEmpty() : onValue(values[0]!)\n },\n\n foldLeft:\n <B>(z: B) =>\n (op: (b: B, a: T[number]) => B) => {\n return values.reduce(op, z)\n },\n\n foldRight:\n <B>(z: B) =>\n (op: (a: T[number], b: B) => B): B => {\n return values.reduceRight<B>((acc, value) => op(value, acc), z)\n },\n\n // Pipe implementation\n pipe: <U>(f: (value: Tuple<T>) => U): U => f(tuple),\n\n // Serializable implementation\n serialize: () => {\n return {\n toJSON: () => JSON.stringify({ _tag: \"Tuple\", value: values }),\n toYAML: () => `_tag: Tuple\\nvalue: ${stringify(values)}`,\n toBinary: () => Buffer.from(JSON.stringify({ _tag: \"Tuple\", value: values })).toString(\"base64\"),\n }\n },\n\n // Valuable implementation\n toValue: () => ({ _tag: \"Tuple\", value: values }),\n\n toString: () => `Tuple(${values.map((v) => String(v)).join(\", \")})`,\n }\n\n return tuple\n}\n\nconst TupleConstructor = <T extends Type[]>(values: T): Tuple<T> => {\n return TupleObject(values)\n}\n\nconst TupleCompanion = {\n /**\n * Create a Tuple from multiple arguments\n * @example\n * const t = Tuple.of(1, \"hello\", true)\n * // TypeScript infers: Tuple<[number, string, boolean]>\n */\n of: <T extends Type[]>(...values: T): Tuple<T> => {\n return TupleObject(values)\n },\n\n /**\n * Create a Tuple of size 2 (pair)\n * @example\n * const pair = Tuple.pair(\"key\", 42)\n * // TypeScript infers: Tuple<[string, number]>\n */\n pair: <A extends Type, B extends Type>(first: A, second: B): Tuple<[A, B]> => {\n return TupleObject([first, second] as [A, B])\n },\n\n /**\n * Create a Tuple of size 3 (triple)\n * @example\n * const triple = Tuple.triple(\"x\", 10, true)\n * // TypeScript infers: Tuple<[string, number, boolean]>\n */\n triple: <A extends Type, B extends Type, C extends Type>(first: A, second: B, third: C): Tuple<[A, B, C]> => {\n return TupleObject([first, second, third] as [A, B, C])\n },\n\n /**\n * Create an empty Tuple\n * @example\n * const empty = Tuple.empty()\n * // TypeScript infers: Tuple<[]>\n */\n empty: (): Tuple<[]> => {\n return TupleObject([] as [])\n },\n\n /**\n * Create a Tuple from an array (alias for constructor)\n * @example\n * const t = Tuple.from([1, 2, 3])\n */\n from: <T extends Type[]>(values: T): Tuple<T> => {\n return TupleObject(values)\n },\n}\n\n/**\n * Tuple provides a type-safe, fixed-length array with functional operations.\n *\n * @example\n * // Creating tuples\n * const t1 = Tuple([1, \"hello\", true])\n * const t2 = Tuple.of(1, \"hello\", true)\n * const pair = Tuple.pair(\"key\", 42)\n *\n * @example\n * // Type-safe access\n * const triple = Tuple.triple(\"x\", 10, true)\n * const first = triple.get(0) // string\n * const second = triple.get(1) // number\n * const third = triple.get(2) // boolean\n *\n * @example\n * // Functional operations\n * const doubled = Tuple([1, 2, 3])\n * .map(arr => arr.map(x => x * 2))\n * .toArray() // [2, 4, 6]\n */\nexport const Tuple = Companion(TupleConstructor, TupleCompanion)\n"]}
|
package/dist/chunk-OR6V4TCO.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function r(n,e){return e}function d(n){return n}function t(n,e){return n!=null}function a(n){return e=>r(n,e)}var s=n=>e=>r(n,e),o=n=>e=>r(n,e),u=n=>e=>r(n,e);export{r as a,d as b,t as c,a as d,s as e,o as f,u as g};//# sourceMappingURL=chunk-OR6V4TCO.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-OR6V4TCO.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/branded/Brand.ts"],"names":["Brand","_brand","value","unwrapBrand","branded","hasBrand","createBrander","brand","BrandedString","BrandedNumber","BrandedBoolean"],"mappings":"AAsBO,SAASA,CAAAA,CAA2BC,CAAAA,CAAWC,CAAAA,CAAuB,CAG3E,OAAOA,CACT,CAcO,SAASC,CAAAA,CAAiCC,CAAAA,CAA+D,CAE9G,OACSA,CAIX,CAgBO,SAASC,CAAAA,CAA8BH,CAAAA,CAAgBD,CAAAA,CAAiC,CAG7F,OAAOC,CAAAA,EAAU,IACnB,CAOO,SAASI,CAAAA,CAAmCC,CAAAA,CAAU,CAC3D,OAAQL,CAAAA,EAA0BF,CAAAA,CAAMO,CAAAA,CAAOL,CAAK,CACtD,CAQO,IAAMM,CAAAA,CACQD,CAAAA,EAClBL,CAAAA,EACCF,CAAAA,CAAMO,CAAAA,CAAOL,CAAK,EAETO,CAAAA,CACQF,CAAAA,EAClBL,CAAAA,EACCF,CAAAA,CAAMO,CAAAA,CAAOL,CAAK,CAAA,CAETQ,CAAAA,CACQH,CAAAA,EAClBL,CAAAA,EACCF,CAAAA,CAAMO,CAAAA,CAAOL,CAAK","file":"chunk-OR6V4TCO.mjs","sourcesContent":["// Phantom type brand - exists only at compile time\n// Must use type alias (not interface) because we need intersection with primitives\nexport type Brand<K extends string, T> = T & {\n readonly __brand: K\n}\n\n// Utility type to extract the underlying type from a branded type\n// Handles both Brand and ValidatedBrand\nexport type Unwrap<T> = T extends Brand<string, infer U> ? U : T\n\n// Utility type to extract the brand from a branded type\nexport type ExtractBrand<T> = T extends Brand<infer K, unknown> ? K : never\n\n/**\n * Brand is a utility for creating nominal typing in TypeScript.\n * It creates phantom types that exist only at compile time.\n * At runtime, the branded value IS the primitive value.\n *\n * @param _brand\n * @param value - The value to brand\n * @returns The value with phantom type brand\n */\nexport function Brand<K extends string, T>(_brand: K, value: T): Brand<K, T> {\n // Just return the value with a type assertion\n // No runtime modification - the brand exists only in TypeScript\n return value as Brand<K, T>\n}\n\n/**\n * Helper to unwrap a branded value to its underlying type\n * Works with both Brand and ValidatedBrand\n * @param branded - The branded value (can be null or undefined)\n * @returns The original value without the brand\n *\n * Note: Also exported as 'unwrap' from 'functype/branded' for convenience\n */\nexport function unwrapBrand<K extends string, T>(branded: Brand<K, T>): T\nexport function unwrapBrand<K extends string, T>(branded: Brand<K, T> | null): T | null\nexport function unwrapBrand<K extends string, T>(branded: Brand<K, T> | undefined): T | undefined\nexport function unwrapBrand<K extends string, T>(branded: Brand<K, T> | null | undefined): T | null | undefined\nexport function unwrapBrand<K extends string, T>(branded: Brand<K, T> | null | undefined): T | null | undefined {\n // Handle null/undefined\n if (branded === null || branded === undefined) {\n return branded\n }\n // Since branded values (both Brand and ValidatedBrand) ARE their primitives, just return as-is\n return branded as unknown as T\n}\n\n// Convenience alias for branded module users\nexport { unwrapBrand as unwrap }\n\n/**\n * Type guard for checking if a value has a specific brand\n * @param value - The value to check\n * @param _brand - The brand to check for (unused at runtime)\n * @returns True if the value has the specified brand\n *\n * Note: Since brands are phantom types that exist only at compile time,\n * this function can only provide a runtime approximation. It always returns true\n * for non-null values, as we have no way to actually check the brand at runtime.\n * This function is primarily for API consistency and documentation purposes.\n */\nexport function hasBrand<K extends string, T>(value: unknown, _brand: K): value is Brand<K, T> {\n // In a phantom type system, we can't actually check the brand at runtime\n // We can only verify the value exists\n return value !== null && value !== undefined\n}\n\n/**\n * Create a branded type constructor for a specific brand\n * @param brand - The brand name\n * @returns A function that brands values with the specified brand\n */\nexport function createBrander<K extends string, T>(brand: K) {\n return (value: T): Brand<K, T> => Brand(brand, value)\n}\n\n// Common branded primitive types\nexport type BrandedString<K extends string> = Brand<K, string>\nexport type BrandedNumber<K extends string> = Brand<K, number>\nexport type BrandedBoolean<K extends string> = Brand<K, boolean>\n\n// Factory for common primitive branded types\nexport const BrandedString =\n <K extends string>(brand: K) =>\n (value: string): BrandedString<K> =>\n Brand(brand, value)\n\nexport const BrandedNumber =\n <K extends string>(brand: K) =>\n (value: number): BrandedNumber<K> =>\n Brand(brand, value)\n\nexport const BrandedBoolean =\n <K extends string>(brand: K) =>\n (value: boolean): BrandedBoolean<K> =>\n Brand(brand, value)\n"]}
|
package/dist/do/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export{ca as $,_ as Do,$ as DoAsync,fa as EmptyListError,ga as FailureError,ea as LeftError,da as NoneError,aa as isDoCapable,ba as unwrap}from'../chunk-6ZIR6EKC.mjs';import'../chunk-7JJIUQXK.mjs';import'../chunk-OR6V4TCO.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/do/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/either/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export{z as Either,s as Left,r as Right,x as TypeCheckLeft,w as TypeCheckRight,u as isLeft,t as isRight,v as tryCatch,y as tryCatchAsync}from'../chunk-6ZIR6EKC.mjs';import'../chunk-7JJIUQXK.mjs';import'../chunk-OR6V4TCO.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/fpromise/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export{ca as $,Q as Base,K as BoundedNumber,L as BoundedString,O as Cond,_ as Do,$ as DoAsync,ta as ESMap,z as Either,G as EmailAddress,fa as EmptyListError,W as Err,U as FPromise,T as FPromiseCompanion,ga as FailureError,pa as FoldableUtils,qa as HKT,J as ISO8601Date,ra as Identity,D as IntegerNumber,sa as Lazy,m as LazyList,s as Left,ea as LeftError,q as List,ua as Map,P as Match,va as MatchableUtils,R as NAME,F as NonEmptyString,C as NonNegativeNumber,h as None,da as NoneError,X as Ok,j as Option,i as OptionConstructor,la as ParseError,M as PatternString,E as PositiveInteger,B as PositiveNumber,l as Ref,r as Right,k as Set,g as Some,wa as Stack,Z as Task,S as Throwable,n as Try,x as TypeCheckLeft,w as TypeCheckRight,o as Typeable,ma as TypedError,I as UUID,H as UrlString,A as ValidatedBrand,na as Validation,xa as Valuable,Y as createCancellationTokenSource,b as createCustomSerializer,ka as createErrorSerializer,f as createSerializationCompanion,a as createSerializer,ja as formatError,ia as formatStackTrace,e as fromBinary,c as fromJSON,d as fromYAML,N as isCompanion,aa as isDoCapable,oa as isExtractable,u as isLeft,t as isRight,V as isTaggedThrowable,p as isTypeable,ha as safeStringify,v as tryCatch,y as tryCatchAsync,ba as unwrap}from'./chunk-6ZIR6EKC.mjs';export{a as Companion,b as Tuple}from'./chunk-7JJIUQXK.mjs';export{a as Brand,g as BrandedBoolean,f as BrandedNumber,e as BrandedString,d as createBrander,c as hasBrand,b as unwrapBrand}from'./chunk-OR6V4TCO.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/list/index.mjs
DELETED
package/dist/list/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/map/index.mjs
DELETED
package/dist/map/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/option/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/set/index.mjs
DELETED
package/dist/set/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/try/index.mjs
DELETED
package/dist/try/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/tuple/index.mjs
DELETED
package/dist/tuple/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|