Simon-nofib-notes: Small fix.
authorMarco Túlio Gontijo e Silva <marcot@debian.org>
Sun, 30 May 2010 00:23:44 +0000 (00:23 +0000)
committerMarco Túlio Gontijo e Silva <marcot@debian.org>
Sun, 30 May 2010 00:23:44 +0000 (00:23 +0000)
Simon-nofib-notes

index 8fd20b1..d8568d2 100644 (file)
@@ -28,7 +28,7 @@ I found that there were some very bad loss-of-arity cases in PrelShow.
                          ...
                          (x:xs) -> let f = showLitChar x
                                        g = showl xs
-                                   in \s -> f (g x)
+                                   in \s -> f (g s)
   which is TERRIBLE.  We can't spot that showLitChar has arity 2 because
   it looks like this: