replib icon indicating copy to clipboard operation
replib copied to clipboard

Can't import derived reps qualified by module name

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

Specifically:

import qualified Data.RepLib.Bind.LocallyNameless as LN

data Foo = Foo (LN.Name)

$(derive [''Foo])  

fails because it looks for rName instead of LN.rName.  

Need to change the template Haskell code to preserve the qualifiers.


Original issue reported on code.google.com by stephanie.weirich on 3 Nov 2010 at 12:54

GoogleCodeExporter avatar Mar 14 '15 21:03 GoogleCodeExporter