Identical functions in Template Haskell
I noticed that module
Language.Haskell.TH.Lib in template-haskell library contains duplicate functions:
global :: Name -> ExpQ global s = return (VarE s) varE :: Name -> ExpQ varE s = return (VarE s)
If this is intended it should be documented why it is so and I think it would be good to express one function in terms of another. If this is accidental we should just get rid of one function. I never used TH so I have no idea whether this is done on purpose or not, thus leaving it to devs more experienced with TH.