refactor: hlint
This commit is contained in:
parent
2ca024b935
commit
513249b9eb
@ -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
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user