Re: TH problem
"Ch. A. Herrmann" <[email protected]> Tue, 06 Dec 2005 15:43:13 +0100
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
Hi Bulat, the (:) is used as a pattern, not as an expression, but I'm not sure whether there is a similar notation for (:) patterns using quotation brackets. -- Christoph Bulat Ziganshin wrote: >Hello Simon, > >Wednesday, November 30, 2005, 4:49:13 PM, you wrote: > >SPJ> let pcons x xs = return $ InfixP x '(:) xs > >is not > >let pcons x xs = [| x:xs |] > >better? > > >