Safe Haskell | Safe-Infered |
---|
ALSA does not distinguish between programming errors and runtime exceptions, which is sad, but we have to cope with it.
- data T = Cons {}
- checkResult :: Integral a => String -> a -> IO a
- checkResult_ :: Integral a => String -> a -> IO ()
- checkResultMaybe :: String -> (CInt -> a) -> (CInt -> Maybe a) -> CInt -> IO a
- throw :: String -> Errno -> IO a
- catch :: IO a -> (T -> IO a) -> IO a
- catchErrno :: Errno -> IO a -> IO a -> IO a
- catchXRun :: IO a -> IO a -> IO a
- showErrno :: Errno -> String
- show :: T -> String
- rethrow :: IO a -> IO a
- strerror :: Errno -> IO String
- snd_strerror :: Errno -> IO CString
Documentation
checkResult :: Integral a => String -> a -> IO aSource
snd_strerror :: Errno -> IO CStringSource