@@ -804,7 +804,7 @@ traverseIntMapWithKeyWithAdjust' = do
804 delete _ sRef = do
804 delete _ sRef = do
805 writeIORef sRef $ ChildReadyStateInt_Unready Nothing
805 writeIORef sRef $ ChildReadyStateInt_Unready Nothing
806 return ()
806 return ()
807− p' <- fmap PatchIntMap $ IntMap.traverseWithKey new pInner
807+ p' <- PatchIntMap <$> IntMap.traverseWithKey new pInner
808 _ <- IntMap.traverseWithKey delete $ FastMutableIntMap.getDeletions p old
808 _ <- IntMap.traverseWithKey delete $ FastMutableIntMap.getDeletions p old
809 return $ applyAlways p' old
809 return $ applyAlways p' old
810 hoistTraverseIntMapWithKeyWithAdjust traverseIntMapWithKeyWithAdjust updateChildUnreadiness $ \placeholders lastPlaceholderRef (PatchIntMap p) -> do
810 hoistTraverseIntMapWithKeyWithAdjust traverseIntMapWithKeyWithAdjust updateChildUnreadiness $ \placeholders lastPlaceholderRef (PatchIntMap p) -> do
@@ -814,7 +814,7 @@ traverseIntMapWithKeyWithAdjust' = do
814 let nextPlaceholder = maybe lastPlaceholder snd $ IntMap.lookupGT k phs
814 let nextPlaceholder = maybe lastPlaceholder snd $ IntMap.lookupGT k phs
815 forM_ (IntMap.lookup k phs) $ \thisPlaceholder -> thisPlaceholder `deleteUpTo` nextPlaceholder
815 forM_ (IntMap.lookup k phs) $ \thisPlaceholder -> thisPlaceholder `deleteUpTo` nextPlaceholder
816 forM_ mv $ \(df, _, _, _) -> df `insertBefore` nextPlaceholder
816 forM_ mv $ \(df, _, _, _) -> df `insertBefore` nextPlaceholder
817− liftIO $ writeIORef placeholders $! fromMaybe phs $ apply (fmap (\(_, ph, _, _) -> ph) $ PatchIntMap p) phs
817+ liftIO $ writeIORef placeholders $! fromMaybe phs $ apply ((\(_, ph, _, _) -> ph) <$> PatchIntMap p) phs
819#if MIN_VERSION_base(4,9,0)
819#if MIN_VERSION_base(4,9,0)
820data ChildReadyState k
820data ChildReadyState k