Open Skyfold opened 2 years ago
I've added four simple tests in PseudoSpec.hs
There is one disadvantage to the current type class approach: if you write not ".test"
it is ambiguous if the ".test"
is a Selector
or a Refinement
.
Yes, that's a disadvantage. Recently, a similar issue was raised: https://github.com/sebastiaanvisser/clay/issues/241
The
not
pseudo selector can only be applied to one argument at a time in most browsers, Safari seems to be the exception. The instance forNot Refinement
allows you to applyNot
to multiple arguments, however, there is no contaminator to combine twoRefinement
directly.