>>> whenNothing Nothing [True, False] [True,False] >>> whenNothing (Just True) [True, False] [True]
>>> whenNothingM (pure $ Just True) $ True <$ putTextLn "Is Just!" True >>> whenNothingM (pure Nothing) $ False <$ putTextLn "Is Nothing!" Is Nothing! False
>>> whenNothingM_ (pure $ Just True) $ putTextLn "Is Just!" >>> whenNothingM_ (pure Nothing) $ putTextLn "Is Nothing!" Is Nothing!
>>> whenNothing_ Nothing $ putTextLn "Nothing!" Nothing! >>> whenNothing_ (Just True) $ putTextLn "Nothing!"