@@ -20,7 +20,6 @@ module Text.Pandoc.Readers.Odt.Generic.Utils
2020, uncurry6
2121, swap
2222, reverseComposition
23−, bool
2423, tryToRead
2524, Lookupable(..)
2625, readLookupables
@@ -59,14 +58,6 @@ composition = F.foldr (<<<) Cat.id
5958reverseComposition :: (Category cat, F.Foldable f) => f (cat a a) -> cat a a
6059reverseComposition = F.foldr (>>>) Cat.id
6160
62−-- | 'Either' has 'either', 'Maybe' has 'maybe'. 'Bool' should have 'bool'.
63−-- Note that the first value is selected if the boolean value is 'False'.
64−-- That makes 'bool' consistent with the other two. Also, 'bool' now takes its
65−-- arguments in the exact opposite order compared to the normal if construct.
66−bool :: a -> a -> Bool -> a
67−bool x _ False = x
68−bool _ x True = x
69−
7061-- | This function often makes it possible to switch values with the functions
7162-- that are applied to them.
7263--