diff options
Diffstat (limited to 'docs/users_guide/using-warnings.rst')
-rw-r--r-- | docs/users_guide/using-warnings.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 108928f210..1b9e8db96c 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -1736,7 +1736,7 @@ of ``-W(no-)*``. are used. For instance: :: - data P = P { x :: Int, y :: Int } + data P = P { x :: Int, y :: Int } f1 :: P -> Int f1 P{..} = 1 + 3 @@ -1799,7 +1799,7 @@ of ``-W(no-)*``. For instance: :: - data P = P { x :: Int, y :: Int } + data P = P { x :: Int, y :: Int } f1 :: P -> Int f1 P{x,y,..} = x + y |