When you have multiple specifications in a view, it would be nice with a way to combine specifications that satisfies against separate inputs.
So instead of:
if spec1 == text1 && spec2 == text2 {}
Maybe something like:
let fullSpec = spec1.and.spec2
if fullSpec(text1, text2) {}
When you have multiple specifications in a view, it would be nice with a way to combine specifications that satisfies against separate inputs.
So instead of:
Maybe something like: