comments some work in progress piece of code with error handling
This commit is contained in:
parent
842d3fd44a
commit
f73b0e142e
@ -49,6 +49,7 @@ instance Monad CryptoFailable where
|
|||||||
CryptoPassed a -> m2 a
|
CryptoPassed a -> m2 a
|
||||||
CryptoFailed e -> CryptoFailed e
|
CryptoFailed e -> CryptoFailed e
|
||||||
|
|
||||||
|
{-
|
||||||
throwCryptoError :: CryptoFailable a -> IO a
|
throwCryptoError :: CryptoFailable a -> IO a
|
||||||
throwCryptoError = undefined
|
throwCryptoError = undefined
|
||||||
|
|
||||||
@ -57,3 +58,4 @@ eitherCryptoError = undefined
|
|||||||
|
|
||||||
maybeCryptoError :: CryptoFailable a -> Maybe a
|
maybeCryptoError :: CryptoFailable a -> Maybe a
|
||||||
maybeCryptoError = undefined
|
maybeCryptoError = undefined
|
||||||
|
-}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user