aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-07-14 08:54:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-07-14 08:54:06 -0700
commit0b0a0e730fedf56a4ddafa9b6e4a03a6cfad3986 (patch)
treefa7a4f9868457ea20f3f7d04228ebdaf627ef98b /src/Text/Pandoc
parent3d86228c5b5c1d2d013a267e269fa9bdbc519e33 (diff)
downloadpandoc-0b0a0e730fedf56a4ddafa9b6e4a03a6cfad3986.tar.gz
Removed some redundant class constraints.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Odt/Arrows/Utils.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Readers/Odt/Arrows/Utils.hs b/src/Text/Pandoc/Readers/Odt/Arrows/Utils.hs
index ad71cf08d..fca2575c2 100644
--- a/src/Text/Pandoc/Readers/Odt/Arrows/Utils.hs
+++ b/src/Text/Pandoc/Readers/Odt/Arrows/Utils.hs
@@ -432,21 +432,21 @@ a ^>>?^? f = a ^>> Left ^|||^ f
a >>?! f = a >>> right f
---
-(>>?%) :: (ArrowChoice a, Monoid f)
+(>>?%) :: (ArrowChoice a)
=> FallibleArrow a x f (b,b')
-> (b -> b' -> c)
-> FallibleArrow a x f c
a >>?% f = a >>?^ (uncurry f)
---
-(^>>?%) :: (ArrowChoice a, Monoid f)
+(^>>?%) :: (ArrowChoice a)
=> (x -> Either f (b,b'))
-> (b -> b' -> c)
-> FallibleArrow a x f c
a ^>>?% f = arr a >>?^ (uncurry f)
---
-(>>?%?) :: (ArrowChoice a, Monoid f)
+(>>?%?) :: (ArrowChoice a)
=> FallibleArrow a x f (b,b')
-> (b -> b' -> (Either f c))
-> FallibleArrow a x f c