Re: TH problem
"Ch. A. Herrmann" <[email protected]> Tue, 06 Dec 2005 17:59:47 +0100
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
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 problems to suggest my TH-based programs to other people, I'm afraid. -- Christoph 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 :) > > > >