
Forgot to explicitly state that this is with 7.9 HEAD.
7.8.2 is delivered with template-haskell 2.9.0.0, which contains the
`classP` helper.
Richard, if you also support my suggestion, I'll go forward and push it.
Cheers,
Gabor
On 5/12/14, Johan Tibell
That would be nice. I had to fix some breakage caused by this in one of Bryan's libraries.
On Mon, May 12, 2014 at 4:12 PM, Gabor Greif
wrote: The last two commits from (Apr 9) on
< https://github.com/ghc/packages-template-haskell/commits/master/Language/Has...
removed a helper to construct applied type class constraints (`classP`).
Some packages (notably `llvm-general-pure`) though, depend on it.
Can we add back something like this:
{{{ classP :: Name -> [Q Type] -> Q Pred classP cla tys = do tysl <- sequence tys return (foldl' AppT (ConT cla) tysl) }}}
and export it again? Or is there such a helper with a different name already?
Cheers,
Gabor _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs