HIndent.Applicative
Description
Helper functions to handle Applicatives
Applicative
whenJust :: Applicative m => Maybe a -> (a -> m ()) -> m () Source #
If the first argument is a Just value, this function applies its internal value to the function passed as the second argument. Otherwise, this function returne a 'pure ()'.
Just