Template Haskell, [p|...|]

2003-07-03 Thread Ch. A. Herrmann
Hi, trying to adapt the zipN-example in the paper Template Meta-programming for Haskell by Sheard and Peyton Jones to Language.Haskell.THSyntax I found that quasi-quotation for patterns does not seem to work with ghci-6.0, e.g., the following results in Parse error in pattern: pcons x xs =

Re: Interaction and ambiguous type variables

2003-07-03 Thread Malcolm Wallace
Ralf Hinze [EMAIL PROTECTED] writes: I am posting the following bug report every once in a while. Main mirror [] ERROR - Cannot find show function for: *** Expression : mirror [] *** Of type: [a] Instructor: it's because `mirror []' has the polymorphic type `[a]' and the compiler

RE: Interaction and ambiguous type variables

2003-07-03 Thread Simon Peyton-Jones
| Main mirror [] | ERROR - Cannot find show function for: | *** Expression : mirror [] | *** Of type: [a] | | Instructor: | it's because `mirror []' has the polymorphic type `[a]' and the | compiler cannot determine the `Show' instance for `a'. | | It might be worth pointing out

[ ghc-Bugs-765503 ] why delete?

2003-07-03 Thread SourceForge.net
Bugs item #765503, was opened at 2003-07-03 10:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=765503group_id=8032 Category: None Group: None Status: Open Resolution: None