diff options
author | Tom Ellis <tom-git@jaguarpaw.co.uk> | 2023-02-15 11:28:04 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-02-27 20:04:07 -0500 |
commit | d0c7bbedb741e6bf947bcdc0e097070242ab56e1 (patch) | |
tree | 3c1f4aebaf0ccf1c6b618a8ed59858410091e91a | |
parent | b56025f448646de40446a133f140f62c8a49cabf (diff) | |
download | haskell-d0c7bbedb741e6bf947bcdc0e097070242ab56e1.tar.gz |
Fix SCC grouping example
-rw-r--r-- | docs/users_guide/profiling.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/profiling.rst b/docs/users_guide/profiling.rst index 4acd13c48c..5c74041adb 100644 --- a/docs/users_guide/profiling.rst +++ b/docs/users_guide/profiling.rst @@ -214,7 +214,7 @@ may not appear in a position where it would change the grouping of subexpressions:: a = 1 / 2 / 2 -- accepted (a=0.25) - b = 1 / {-# SCC "name" #-} / 2 / 2 -- rejected (instead of b=1.0) + b = 1 / {-# SCC "name" #-} 2 / 2 -- rejected (instead of b=1.0) This restriction is required to maintain the property that inserting a pragma, just like inserting a comment, does not have unintended effects on the |