X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=a4c673cbe4965318e450b9ce4a5f82ba581312c5;hp=22c886100f276ff6666d228d5502164b525ac7c0;hb=56aaa78a63ab27c40a6834ed28ff3f32d1ede214;hpb=0656c72a8f4fda30c348bdf40449d105e4ce00ce
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 22c8861..a4c673c 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1221,14 +1221,15 @@ foreign import "&f" f :: FunPtr t
incomplete patterns, warningpatterns, incomplete
- Similarly for incomplete patterns, the function
- g below will fail when applied to
+ Similarly for incomplete patterns, the functions
+ g and h below will fail when applied to
non-empty lists, so the compiler will emit a warning about
this when is
enabled.
g [] = 2
+h = \[] -> 2
This option isn't enabled by default because it can be