[project @ 2004-12-21 17:08:59 by simonpj]
--------------------------------- Template Haskell: dynamically scoped qualified names --------------------------------- This commit adds a constructor to TH.Name, so that nameBase (mkName "Foo.baz") == "baz" nameModule (MkName "Foo.baz") == "Foo" We always did parse the module name off the front, but it used to be done in hsSyn/Convert, but now it's done in TH.Syntax, which is a better place.
Please register or sign in to comment