[GHC] #2688: GHC 6.10.0.20081007 hangs instead of giving error
about missing type class constraint
GHC
trac at galois.com
Sun Oct 12 07:16:49 EDT 2008
#2688: GHC 6.10.0.20081007 hangs instead of giving error about missing type class
constraint
-----------------------------+----------------------------------------------
Reporter: PVerswyvelen | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Severity: major | Resolution:
Keywords: | Testcase:
Architecture: x86 | Os: Windows
-----------------------------+----------------------------------------------
Comment (by PVerswyvelen):
Oops, the code should be
{{{
class VectorSpace v s | v -> s where
(*^) :: s -> v -> v
(^/) :: v -> s -> v
v ^/ s = v *^ (1/s)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2688#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list