class
class InsertAtIndex (index :: Nat) (head :: [k]) (tail :: [k]) (oldTail :: [k]) (full :: [k]) (inserted :: [k]) whereInfer a partition of the result type full so that for the fixed segments
head and tail, the new segment inserted contains the missing effects
between them.
Methods
insertAtIndex :: SList inserted
Instances2InsertAtIndex
inserted ~ '[] => InsertAtIndex index head oldTail oldTail full insertedDefined in polysemy-1.9.2.0 · Polysemy.Internal.Index(InsertAtIndex index head tail oldTail full insertedTail, inserted ~ (e ': insertedTail)) => InsertAtIndex index head (e ': tail) oldTail full insertedDefined in polysemy-1.9.2.0 · Polysemy.Internal.Index