Releases: Snowflyt/hkt-core
Releases · Snowflyt/hkt-core
1.2.1
1.2.0
1.1.0
- ✨ feat(Kind): Use
TolerantRetTypeWas fallback result ofKind*instead ofnever. PreviouslyKind*were essentially aliases forCall*W, returningneverwhenFwas not a “concrete“ type lambda. This enhancement makesKind*more robust by usingTolerantRetTypeW<F>as a fallback value instead. This change improves robustness when working with classical HKT scenarios like implementing a Free monad. (03f292d)
1.0.0
1.0.0-beta.5
- 🐞 fix: Ensure TypeScript treats
HKT.tsas a module to prevent internal type exportation. (bddf086)
1.0.0-beta.4
- 🐞 fix: Fix subtyping issues. Use explicit parameter types and return types if possible, to avoid subtyping errors like
TypeLambda<never, unknown> is not assignable to TypeLambda<any, any>. (3523ae5)
1.0.0-beta.3
- ✨ feat: Improve return type validation of
Apply. Switch toRetType<F, Args>fromTolerantRetType<F>for rigorous type checking in generic type-level functions, ensuring improved compile-time safety and clarity. (b3aafcb)