@@ -804,7 +804,7 @@ traverseIntMapWithKeyWithAdjust' = do
804804 delete _ sRef = do
805805 writeIORef sRef $ ChildReadyStateInt_Unready Nothing
806806 return ()
807− p' <- fmap PatchIntMap $ IntMap.traverseWithKey new pInner
807+ p' <- PatchIntMap <$> IntMap.traverseWithKey new pInner
808808 _ <- IntMap.traverseWithKey delete $ FastMutableIntMap.getDeletions p old
809809 return $ applyAlways p' old
810810 hoistTraverseIntMapWithKeyWithAdjust traverseIntMapWithKeyWithAdjust updateChildUnreadiness $ \placeholders lastPlaceholderRef (PatchIntMap p) -> do
@@ -814,7 +814,7 @@ traverseIntMapWithKeyWithAdjust' = do
814814 let nextPlaceholder = maybe lastPlaceholder snd $ IntMap.lookupGT k phs
815815 forM_ (IntMap.lookup k phs) $ \thisPlaceholder -> thisPlaceholder `deleteUpTo` nextPlaceholder
816816 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
818818
819819#if MIN_VERSION_base(4,9,0)
820820data ChildReadyState k