bug in ghc with {| |}

Hal Daume III hdaume@ISI.EDU
Tue, 7 May 2002 12:19:04 -0700 (PDT)

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    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume