summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvmchale <>2020-03-24 19:33:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-03-24 19:33:00 (GMT)
commitfc887211aa44a3b198be5d9f6c285583710cb5a0 (patch)
treecbc2091bc0e95ec772a7ecc49c6a2f862b9f3ad3
parentfebd3e945c16bc584bdb133c67cb89bdeb9f67f5 (diff)
version 1.7.10.11.7.10.1
-rw-r--r--CHANGELOG.md4
-rw-r--r--language-ats.cabal2
-rw-r--r--src/Language/ATS/PrettyPrint.hs2
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index eb790b3..c2a01a3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# language-ats
+# 1.7.10.11
+
+ * Fix bug where left shift was printed as right shift
+
# 1.7.10.0
* Add support for left/right shift operators in expressions
diff --git a/language-ats.cabal b/language-ats.cabal
index 8852667..7cfe50c 100644
--- a/language-ats.cabal
+++ b/language-ats.cabal
@@ -1,6 +1,6 @@
cabal-version: 1.18
name: language-ats
-version: 1.7.10.0
+version: 1.7.10.1
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018-2019 Vanessa McHale
diff --git a/src/Language/ATS/PrettyPrint.hs b/src/Language/ATS/PrettyPrint.hs
index 5e279fb..6dbed4e 100644
--- a/src/Language/ATS/PrettyPrint.hs
+++ b/src/Language/ATS/PrettyPrint.hs
@@ -79,7 +79,7 @@ instance Pretty (BinOp a) where
pretty SpearOp = "->"
pretty At = "@"
pretty RShift = ">>"
- pretty LShift = ">>"
+ pretty LShift = "<<"
pretty (SpecialInfix _ s) = text s
splits :: BinOp a -> Bool