refactor: hlint

This commit is contained in:
Gregor Kleen 2020-09-22 14:14:25 +02:00
parent 2ca024b935
commit 513249b9eb

View File

@ -32,7 +32,7 @@ import Control.Concurrent.Async (ExceptionInLinkedThread(..))
fromExceptionWrapped :: Exception exc => SomeException -> Maybe exc
fromExceptionWrapped (fromException -> Just exc) = Just exc
fromExceptionWrapped ((fromException >=> \(ExceptionInLinkedThread _ exc') -> fromExceptionWrapped exc') -> Just exc) = Just exc
fromExceptionWrapped (fromException >=> \(ExceptionInLinkedThread _ exc') -> fromExceptionWrapped exc' -> Just exc) = Just exc
fromExceptionWrapped _ = Nothing