[5.01] Runtime error in SocketPrim?!

Simon Marlow simonmar at microsoft.com
Thu Jun 7 10:26:29 EDT 2001


> Suddenly my program which would work fine in 4.08.2 & 5.00 throws
> a pattern-match failure in SocketPrim/228 when compiled using 5.01.
> There is the test for AF_INET/AF_UNIX. When catching this in an
> "otherwise"-rule and printing the passed value, it is 7368, just for
> the record. Is someone feeling guilty of perhaps having broken things?

Perhaps, but I can't repeat the bug.  Your code fragment appears to work
fine here.  Which arch/OS, BTW?

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list