Just package:distribution-opensuse
This happens when upstream edits the file in ways other than just
adding at the top. Sometimes people re-format old entries or rewrite
URLs or fix typos, and in such a case it feels to risky to trust the
diff.
Like
findM, but also allows you to compute some additional
information in the predicate.
Keep running an operation until it becomes a
Just, then return
the value inside the
Just as the result of the overall loop.
Perform some operation on
Just, given the field inside the
Just. This is a specialized
for_.
whenJust Nothing print == pure ()
whenJust (Just 1) print == print 1
Like
whenJust, but where the test can be monadic.
Keep running an operation until it becomes a
Nothing,
accumulating the monoid results inside the
Justs as the result
of the overall loop.