Lift unused restriction on MonadFail for AllObjects instance of Box Layer
This commit is contained in:
parent
83a63d4b02
commit
67faa06ea2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue