0 | module Deriving.DepTyCheck.Gen.ForAllNeededTypes.Interface
2 | import public Deriving.DepTyCheck.Gen.ConsRecs
3 | import public Deriving.DepTyCheck.Gen.Signature
12 | interface Monad m => DerivationClosure m where
13 | callGen : NamesInfoInTypes => ConsRecs =>
14 | (sig : GenSignature) -> (fuel : TTImp) -> Vect sig.givenParams.size TTImp -> m (TTImp, Maybe (
gend ** Vect gend $
Fin gend)
)
20 | DerivationClosure m => MonadTrans t => Monad (t m) => DerivationClosure (t m) where
21 | callGen sig fuel params = lift $
callGen sig fuel params
28 | outmostFuelArg : Name
29 | outmostFuelArg = UN $
Basic "^outmost-fuel^"