[Template-haskell] TH problem

Ch. A. Herrmann Christoph.Herrmann at uni-passau.de
Tue Dec 6 11:59:47 EST 2005

Hi Bulat,

it seems not to be implemented yet:
*** Exception: typecheck/TcSplice.lhs:(128,0)-(150,44): Non-exhaustive 
patterns in function tc_bracket

Personally, I'm happy with the auxiliary pcons function, but I'll have 
to suggest my TH-based programs to  other people, I'm afraid.

Bulat Ziganshin wrote:

>Hello Ch.,
>Tuesday, December 06, 2005, 5:43:13 PM, you wrote:
>CAH> the (:) is used as a pattern, not as an expression, but I'm not sure whether
>CAH> there is a similar notation for (:) patterns using quotation brackets.
>sorry, i don't think :)
>[p| x:xs |] according to docs, but i don't test it. at least we can
>complain if it's not work :)

More information about the template-haskell mailing list