From 80560e69ca40abb2c94c4e9fa322365f558a6a8b Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Mon, 23 Jan 2017 09:38:15 +0100 Subject: Typos and grammar in manual/comments --- compiler/main/TidyPgm.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/main/TidyPgm.hs') diff --git a/compiler/main/TidyPgm.hs b/compiler/main/TidyPgm.hs index cdf2aac595..cbf7038187 100644 --- a/compiler/main/TidyPgm.hs +++ b/compiler/main/TidyPgm.hs @@ -1411,7 +1411,7 @@ First, Template Haskell. Consider (Trac #2386) this data T = Yay String makeOne = [| Yay "Yep" |] Notice that T is exported abstractly, but makeOne effectively exports it too! -A module that splices in $(makeOne) will then look for a declartion of Yay, +A module that splices in $(makeOne) will then look for a declaration of Yay, so it'd better be there. Hence, brutally but simply, we switch off type constructor trimming if TH is enabled in this module. -- cgit v1.2.1