• simonpj's avatar
    [project @ 2004-12-21 17:08:59 by simonpj] · 893d7df5
    simonpj authored
    ---------------------------------
         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.
    893d7df5