Changelog¶
Unreleased¶
- Add portable enum-derivation metadata via
EnumTypeclassMetadata/EnumEntryMetadata, and extendTypeclassDeriverwithderiveEnum(...)for enum-specific constructive derivation. - Add constructive product derivation metadata via
ProductTypeclassMetadata.construct(...), and split deriver capabilities intoProductTypeclassDeriverplusTypeclassDeriverfor full product+sum derivation. - Add
ProductTypeclassMetadata.isValueClassso constructive derivation can preserve value-class behavior instead of treating every product as an object-shaped record. - Add
SumCaseMetadata.isValueClassso constructive sealed-sum decoders can distinguish transparent value cases from one-field product cases without JVM reflection. - Make the constructive derivation contract portable across targets by treating product reconstruction as metadata instead of JVM reflection.
- Add runtime
typeId(KType)canonicalization so compiler-synthesized reifiedTypeId<T>evidence can preserve semantic identity without relying on unstable rawKType.toString()output. - Add PHASE13E/PHASE13F runtime proof surfaces for
Nullable,NotNullable,TypeId, and richerSameTypeConstructorcomposition, and document the semantic split betweenKClass,KnownType, andTypeId. - Add PHASE13C/PHASE13D runtime proof combinators for
Same,Subtype,NotSame, andStrictSubtype, includingcoerce,flip, transitive composition,Same.refl,Subtype.refl, boundedSubtype.reify,NotSame.fromContradiction,NotSame.irreflexive,StrictSubtype.contradicts,Same.bracket, andTypeId.comparewith stableequals/hashCode. - Add the initial runtime module for typeclass annotations, generated marker annotations, and derivation metadata.
- Finalize the 2.3.10 derivation contract around
TypeclassDeriver, product-field metadata, and sealed-sum metadata. - Add generated product-field accessors and sum-case matchers to derivation metadata, plus library
summon()based on context parameters. - Add PHASE12 runtime proof interfaces and carriers for
Same,NotSame,Subtype,IsTypeclassInstance,SameTypeConstructor, andKnownType, including theknownType(kType)factory used by compiler-synthesized evidence.