:: Eq a => [a] -> [a] -> [a] -> [a] package:stack

Same as bracket, but does not pass the acquired resource to cleanup and use functions. For more information, see base's bracket_.
A variant of bracketOnError where the return value from the first computation is not required.