summaryrefslogtreecommitdiff
path: root/src/AST/Pretty.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/AST/Pretty.hs')
-rw-r--r--src/AST/Pretty.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AST/Pretty.hs b/src/AST/Pretty.hs
index da4f391..19c7cfc 100644
--- a/src/AST/Pretty.hs
+++ b/src/AST/Pretty.hs
@@ -343,6 +343,7 @@ operator ORecip{} = (Prefix, "recip")
operator OExp{} = (Prefix, "exp")
operator OLog{} = (Prefix, "log")
operator OIDiv{} = (Infix, "`div`")
+operator OMod{} = (Infix, "`mod`")
ppSTy :: Int -> STy t -> String
ppSTy d ty = ppTy d (unSTy ty)