Not() functional composition


#1

Hi, all!
How about add to Julia simple function not() ?

Sample:

not(f::Function) = (args…)->!f(args…)

julia> filter(isempty , ["",“asd”,"",“too”] )
2-element Array{String,1}:
""
""

julia> filter( not(isempty) , ["",“asd”,"",“too”] )
2-element Array{String,1}:
“asd”
“too”


#2

See this pull request.