diff options
author | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-19 13:04:08 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-19 13:31:03 -0500 |
commit | c79473051a8e1647b14f351b72768b74301acc33 (patch) | |
tree | eb25ad044ab8e8b924b9fea02af4a264c998536e /Remote/Ddar.hs | |
parent | 44df82dcbf72d01d2bbb6c0afacff329ca749854 (diff) |
Deal with the MonadFail proposal
base-4.9 split MonadFail from Monad. Strengthen some type signatures to
require MonadFail instead of just Monad, derive MonadFail in relevant
places, and change a partial pattern match inside STM to one that
explicitly calls error. (STM is not a MonadFail; the user must
explicitly specify the desired semantics if a pattern match doesn’t work
out. In this case, the failing branch of the pattern should never be
reached, so crashing is fine.)
Diffstat (limited to 'Remote/Ddar.hs')
0 files changed, 0 insertions, 0 deletions