Skip to content

Make the Timeout exception a newtype instead of a datatype

The attached patch simply replaces the data with a newtype for the Timeout exception in System.Timeout:

-data    Timeout = Timeout Unique deriving Eq
+newtype Timeout = Timeout Unique deriving Eq
Trac metadata
Trac field Value
Version 7.0.1
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information