summaryrefslogtreecommitdiff
path: root/docs/users_guide/hints.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/hints.rst')
-rw-r--r--docs/users_guide/hints.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/hints.rst b/docs/users_guide/hints.rst
index 7365cb5696..f943b6216d 100644
--- a/docs/users_guide/hints.rst
+++ b/docs/users_guide/hints.rst
@@ -153,7 +153,7 @@ Use ``SPECIALIZE`` pragmas:
.. code-block:: sh
- $ ghc --show-iface Foo.hi | egrep '^[a-z].*::.*=>'
+ $ ghc --show-iface Foo.hi | grep -E '^[a-z].*::.*=>'
Strict functions are your dear friends:
And, among other things, lazy pattern-matching is your enemy.