-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Changes from 13 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
47802b1
document ComposedFunction
jw3126 40f3179
Update base/operators.jl
jw3126 5a76b52
Update base/operators.jl
jw3126 a2a73a7
Update base/operators.jl
tkf 11b7f35
Update base/operators.jl
jw3126 feaf87f
add ComposedFunction to News.md
jw3126 d7195b8
Give more descriptive names to the fields of ComposedFunction
jw3126 400de93
Update base/operators.jl
tkf 90e0015
export ComposedFunction
jw3126 b79acfe
Merge branch 'doc_composition' of github.com:jw3126/julia into doc_co…
jw3126 d722191
improve ComposedFunction docstring
jw3126 d96d24d
improve ComposedFunction docstring
jw3126 5cb6291
Merge branch 'master' into doc_composition
jw3126 3420ac6
fix ComposedFunction doctest
jw3126 37908d6
Merge branch 'doc_composition' of github.com:jw3126/julia into doc_co…
jw3126 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,6 +237,7 @@ Base.invokelatest | |
new | ||
Base.:(|>) | ||
Base.:(∘) | ||
Base.ComposedFunction | ||
``` | ||
|
||
## Syntax | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, This is coming very late.
Just wanted to find out if it is necessary to restrict
O
andI
to be subtypes ofBase.Callable
as inThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no reason to restrict to
Callable
here. There are lots of callable objects that aren't a subtype ofCallable
and this would break those cases.