chore: missing annotations
This commit is contained in:
parent
9a41680ec9
commit
4b018cdc72
2 changed files with 2 additions and 0 deletions
|
|
@ -869,6 +869,7 @@ class MonadEnv (m : Type → Type) where
|
|||
|
||||
export MonadEnv (getEnv modifyEnv)
|
||||
|
||||
@[alwaysInline]
|
||||
instance (m n) [MonadLift m n] [MonadEnv m] : MonadEnv n where
|
||||
getEnv := liftM (getEnv : m Environment)
|
||||
modifyEnv := fun f => liftM (modifyEnv f : m Unit)
|
||||
|
|
|
|||
|
|
@ -330,6 +330,7 @@ class MonadMCtx (m : Type → Type) where
|
|||
|
||||
export MonadMCtx (getMCtx modifyMCtx)
|
||||
|
||||
@[alwaysInline]
|
||||
instance (m n) [MonadLift m n] [MonadMCtx m] : MonadMCtx n where
|
||||
getMCtx := liftM (getMCtx : m _)
|
||||
modifyMCtx := fun f => liftM (modifyMCtx f : m _)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue