
I have a lot of boilerplate code that th-desugar has made significantly more manageable (thanks Richard!). Somewhere in the midst of it, I have:
type_equal (DContT n1) (DContT n2) = {...}
Which, when I compile with cabal, gives me: src/Language/Haskell/TH/Alpha.hs:180:13: Not in scope: data constructor ‘DContT’ Perhaps you meant one of these: ‘DConT’ (imported from Language.Haskell.TH.Desugar), ‘DConE’ (imported from Language.Haskell.TH.Desugar), ‘DConPa’ (imported from Language.Haskell.TH.Desugar) src/Language/Haskell/TH/Alpha.hs:180:25: Not in scope: data constructor ‘DContT’ Perhaps you meant one of these: ‘DConT’ (imported from Language.Haskell.TH.Desugar), ‘DConE’ (imported from Language.Haskell.TH.Desugar), ‘DConPa’ (imported from Language.Haskell.TH.Desugar) Huh? Of course 'DConT' is what I meant - that's exactly what I wrote! What in the world is going on? GHC is happy with all the other constructors! I tried rewriting, just to be sure I didn't *somehow* get a tricky unicode character in there...

On Fri, Jun 13, 2014 at 12:57 PM, Julian K. Arni
I have a lot of boilerplate code that th-desugar has made significantly more manageable (thanks Richard!). Somewhere in the midst of it, I have:
type_equal (DContT n1) (DContT n2) = {...}
(...)
Huh? Of course 'DConT' is what I meant - that's exactly what I wrote!
You sure of that? -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Haha, how embarrassing. Sorry all
On Jun 13, 2014 6:59 PM, "Brandon Allbery"
On Fri, Jun 13, 2014 at 12:57 PM, Julian K. Arni
wrote: I have a lot of boilerplate code that th-desugar has made significantly more manageable (thanks Richard!). Somewhere in the midst of it, I have:
type_equal (DContT n1) (DContT n2) = {...}
(...)
Huh? Of course 'DConT' is what I meant - that's exactly what I wrote!
You sure of that?
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (3)
-
Brandon Allbery
-
Julian Arni
-
Julian K. Arni