Skip to content

Commit

Permalink
Merge pull request #7289 from rickhg12hs/master
Browse files Browse the repository at this point in the history
Extend pipelining to all Callables
  • Loading branch information
JeffBezanson committed Jun 17, 2014
2 parents be96bd8 + e3942b1 commit ce844a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ copy(x::Union(Symbol,Number,String,Function,Tuple,LambdaStaticData,
TopNode,QuoteNode,DataType,UnionType)) = x

# function pipelining
|>(x, f::Function) = f(x)
|>(x, f::Callable) = f(x)

# array shape rules

Expand Down

0 comments on commit ce844a7

Please sign in to comment.