Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ComposedFunction as a public API #37517

Merged
merged 15 commits into from
Sep 24, 2020
Prev Previous commit
Next Next commit
Update base/operators.jl
Co-authored-by: Jonas Schulze <jonas.schulze7@t-online.de>
  • Loading branch information
jw3126 and jonas-schulze authored Sep 10, 2020
commit 40f317935126663632ca541f4fd373ea969481a1
3 changes: 0 additions & 3 deletions base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,6 @@ true

julia> typeof(sin∘cos)
Base.ComposedFunction{typeof(sin), typeof(cos)}

julia> sin ∘ cos === Base.ComposedFunction(sin, cos)
true
```
The composed pieces are stored in the fields of `ComposedFunction` and can be retrieved as follows:
```jldoctest
Expand Down