Good point.  That was going to be the syntax for type application, but
it's not straightforward (e.g. what are the order of the type params?)
so I never finished it.  I'll remove it from the parser for now.

Simon

| -----Original Message-----
| From: Hal Daume III [mailto:[EMAIL PROTECTED]] 
| Sent: 07 May 2002 20:19
| To: GHC Users Mailing List
| Subject: bug in ghc with {| |}
| 
| 
| in ghci:
| 
| NLP.Clustering> let x = 5x {| Int |}
| *** Exception: typecheck/TcExpr.lhs:168: Non-exhaustive 
| patterns in function tcMonoExpr
| 
| 
| i have no idea what {| and |} do, but i was messing around 
| with them and typed this in by accident and it raised an 
| exception.  fyi.
| 
| --
| Hal Daume III
| 
|  "Computer science is no more about computers    | [EMAIL PROTECTED]
|   than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
| 
| _______________________________________________
| Glasgow-haskell-users mailing list 
| [EMAIL PROTECTED] 
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-users
| 
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to