| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
ReWire.Eidos.PrimBasis
Description
The primitive datatype basis for Eidos programs: the built-in type constructors (with their data constructors, where they have any) that bridged programs may reference without declaring — the unit and tuple families, Bool, Maybe/Either (base names, as the bridge emits them), the abstract width-bearing types (Vec, Finite, Proxy), and the reactive stack types (which exist in Eidos only; Synolon's type grammar bans them). The bridge prepends these to every program so the linter can resolve constructor occurrences.
The basis' type-variable uniques are NEGATIVE: the bridge mints non-negative uniques, so basis binders can never collide with program binders (the uniqueness lint checks both together).