Would it be useful to add these shortcuts to {checkmate}?
Without it, I think newcomers to {checkmate} may often try to use assert() without the correct logical reduction; obviously buyer-beware and folks should always read documentation, but the shortcuts above seem like nice {checkmate} analogues to base::all() and base::any().
I find myself doing this a lot:
Would it be useful to add these shortcuts to {checkmate}? Without it, I think newcomers to {checkmate} may often try to use
assert()
without the correct logical reduction; obviously buyer-beware and folks should always read documentation, but the shortcuts above seem like nice{checkmate}
analogues tobase::all()
andbase::any()
.