@@ -164,7 +164,7 @@ headlineToHeaderWithList :: Monad m => Headline -> OrgParser m Blocks
164164headlineToHeaderWithList hdln@(Headline {..}) = do
165165 maxHeadlineLevels <- getExportSetting exportHeadlineLevels
166166 header <- headlineToHeader hdln
167− listElements <- sequence (map headlineToBlocks headlineChildren)
167+ listElements <- mapM headlineToBlocks headlineChildren
168168 let listBlock = if null listElements
169169 then mempty
170170 else B.orderedList listElements
@@ -182,7 +182,7 @@ headlineToHeaderWithList hdln@(Headline {..}) = do
182182headlineToHeaderWithContents :: Monad m => Headline -> OrgParser m Blocks
183183headlineToHeaderWithContents hdln@(Headline {..}) = do
184184 header <- headlineToHeader hdln
185− childrenBlocks <- mconcat <$> sequence (map headlineToBlocks headlineChildren)
185+ childrenBlocks <- mconcat <$> mapM headlineToBlocks headlineChildren
186186 return $ header <> headlineContents <> childrenBlocks
187187
188188headlineToHeader :: Monad m => Headline -> OrgParser m Blocks