Lift unused restriction on MonadFail for AllObjects instance of Box Layer

This commit is contained in:
Tissevert 2020-02-24 21:36:31 +01:00
parent 83a63d4b02
commit 67faa06ea2
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ instance Output Layer where
data AllObjects = AllObjects
instance MonadFail m => Box m AllObjects Layer (Map ObjectId Object) where
instance Monad m => Box m AllObjects Layer (Map ObjectId Object) where
r AllObjects = return . objects
w AllObjects layer@(Layer {occurrences, docStructure}) newObjects =
return $ layer {