summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-07-14 23:14:40 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-02 19:26:51 -0400
commitaeb8497d18c12e5e05efa0513a2a0da275082ab5 (patch)
tree77ab1ec5ece4edc8a50fa7a246c44876c2c61ec8 /docs
parentf29121438a4d6ee885373e32f24eaf85ffd167e1 (diff)
downloadhaskell-aeb8497d18c12e5e05efa0513a2a0da275082ab5.tar.gz
Add -dsuppress-coercion-types to make coercions even smaller.
Instead of `` `cast` <Co:11> :: (Some -> Really -> Large Type)`` simply print `` `cast` <Co:11> :: ... ``
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/debugging.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index abc685099b..0c09c4c3ec 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -915,6 +915,11 @@ parts that you are not interested in.
Suppress the printing of type coercions.
+.. ghc-flag:: -dsuppress-coercion-types
+ :shortdesc: Suppress the printing of coercion types in Core dumps to make them
+ shorter
+ :type: dynamic
+
.. ghc-flag:: -dsuppress-var-kinds
:shortdesc: Suppress the printing of variable kinds
:type: dynamic