SFML-2.3.2: SFML bindings

Safe HaskellSafe-Inferred
LanguageHaskell98

SFML.Utils

Synopsis

Documentation

err :: Exception e => IO (Either e a) -> IO a Source

Run the given IO action and throw an error if it fails.

tagErr :: e -> Maybe a -> Either e a Source

Potentially tag a Maybe value with an error.