ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Composition.MemoryPlan.Internal

Description

The solver's working records, the vocabulary Ecluse.Composition.MemoryPlan passes between resolving the tenant demands, walking the shed ladder, and rendering the boot lines. Their constructors stay out of that module's public contract, so this is the only module exporting them, for its own cluster and for the specs that build a record directly. Importing it opts out of the public module's stability promise, as text does.

Synopsis

Documentation

data PlanInputs Source #

Everything resolved before the plan knows whether a heap ceiling exists. The solved path and the fallback path both read it.

data TenantDemands Source #

Every tenant's demand before the shed ladder walks it, resolved from the ceiling: the byte charges, plus the counts, pins, and flags the ladder's steps read.

data OverridePins Source #

Explicit overrides, each pinned (Just) or substituted out (Nothing), in the plan's allocation order. A pinned bound never sheds and answers for its own overshoot.

data ShedOutcomes Source #

Every tenant's post-shed value plus the residual overshoot the ladder could not reclaim. The combined invariant is a pure function of this record.