Skip to content

mvv/monad-finally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monad-Finally

Build Hackage

This package provides a generalized version of Control.Exception.finally. The cleanup action is run not only on successful termination of the main computation and on errors, but on any control flow disruption (e.g. mzero, short-circuiting) that causes the main computation to not produce a result.

Installation

The usual:

$ cabal install

About

Guard monadic computations with cleanup actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published