texmath-0.11.2.3.patch 749 Bytes
Newer Older
Ryan Scott's avatar
Ryan Scott committed
1
commit ed63a3323b8cb3c6dccbaaf128e6f1832d812753
2
Author: Ryan Scott <ryan.gl.scott@gmail.com>
Ryan Scott's avatar
Ryan Scott committed
3
Date:   Mon Sep 30 14:06:25 2019 -0400
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

    Adapt to base-4.13.0.0

diff --git a/src/Text/TeXMath/Writers/TeX.hs b/src/Text/TeXMath/Writers/TeX.hs
index 262ece97..a0e54516 100644
--- a/src/Text/TeXMath/Writers/TeX.hs
+++ b/src/Text/TeXMath/Writers/TeX.hs
@@ -93,7 +93,7 @@ writeBinom cmd x y = do
            "\\brack"  -> tellGenFrac "[" "]"
            "\\brace"  -> tellGenFrac "\\{" "\\}"
            "\\bangle" -> tellGenFrac "\\langle" "\\rangle"
-           _          -> fail "writeBinom: unknown cmd"
+           _          -> error "writeBinom: unknown cmd"
        tellGroup $ writeExp x
        tellGroup $ writeExp y
      else tellGroup $ do