Closed egnha closed 7 years ago
Cf. #19
An operator to provide alternative semantics for check specification (idea due to @MilkWasABadChoice):
`%firmly%` <- function(.checklist, .f) firmly(.f, .checklist = .checklist)
Example:
vec_add <- list( ~is.numeric, vld_true(~length(a) == length(b)) ) %firmly% function(a, b) { a + b }
Cf. #19
An operator to provide alternative semantics for check specification (idea due to @MilkWasABadChoice):
Example: