Re: is this change in TH error message intentional?

2015-10-20 Thread Jan Stolarek
Ömer, can you show us the source of Main.hs? Janek Dnia poniedziałek, 19 października 2015, Ömer Sinan Ağacan napisał: > Hi all, > > I realized this change in TH error messages: > > GHC 7.10.2: > > ➜ th-test ghc --make Main.hs > [1 of 1] Compiling Main ( Main.hs, Main.o ) >

Re: is this change in TH error message intentional?

2015-10-20 Thread Ömer Sinan Ağacan
Originally I had this file: {-# LANGUAGE TemplateHaskell #-} module Main where import Language.Haskell.TH import Language.Haskell.TH.Syntax -- import LiftLoc main :: IO () main = do let loc :: Loc loc = $(locaton) -- loc = $(locaton >>=

is this change in TH error message intentional?

2015-10-19 Thread Ömer Sinan Ağacan
Hi all, I realized this change in TH error messages: GHC 7.10.2: ➜ th-test ghc --make Main.hs [1 of 1] Compiling Main ( Main.hs, Main.o ) Main.hs:13:15: Not in scope: ‘locaton’ Perhaps you meant ‘location’ (imported from Language.Haskell.TH.Syntax)