Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
forceRight :: Show a => Either a b -> b Source #
:: forall a b f. (Applicative f, Eq (f a), Show a, Show b, Show (f a)) | |
=> (a -> b) | Encode |
-> (b -> f a) | Decode |
-> a | |
-> Expectation |
Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
forceRight :: Show a => Either a b -> b Source #
:: forall a b f. (Applicative f, Eq (f a), Show a, Show b, Show (f a)) | |
=> (a -> b) | Encode |
-> (b -> f a) | Decode |
-> a | |
-> Expectation |