Curious why !(f::Function)
is defined as !(f::Function) = (x...)->!f(x...)
instead !(f::Function) = (!) ∘ f
in Base? The latter would allow dispatching on these negated functions.
3 Likes
Curious why !(f::Function)
is defined as !(f::Function) = (x...)->!f(x...)
instead !(f::Function) = (!) ∘ f
in Base? The latter would allow dispatching on these negated functions.