SOP extras
March 2, 2026 ยท View on GitHub
These packages extend the SOP ecosystem with other types that follow the same principles. In particular:
strict-sop-coreprovides strict alternatives to theNSandNPtypes defined insop-core.sop-extrasdefine new types that complement the standard SOP definitions:Indexfor indexing into a type-level list and project an NP by index or inject in an NS by index,InPairsfor functions on contiguous pairs of types in a type-level list,Tailsfor functions from a type to all the later types in a type-level list,Telescopefor an NS that can be extended or retracted to other summands, plus keeping some information for preceding types in the type-level list.
These definitions have had very little variations in a long time, and therefore the vast majority of the code was an invention of the original authors who we credit here: Edsko de Vries and Thomas Winant.