Use mapM_ instead of () <$ mapM in one place.

This commit is contained in:
Artyom Kazak
2014-08-04 19:41:37 +04:00
parent 81335df9a5
commit f659644fcc
+1 -1
View File
@@ -274,7 +274,7 @@ optionalAttributes parser = try $
parseBlockAttributes :: OrgParser ()
parseBlockAttributes = do
attrs <- many attribute
() <$ mapM (uncurry parseAndAddAttribute) attrs
mapM_ (uncurry parseAndAddAttribute) attrs
where
attribute :: OrgParser (String, String)
attribute = try $ do