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

Deprecate bitbroadcast #19771

Merged
merged 3 commits into from
Dec 31, 2016
Merged

Deprecate bitbroadcast #19771

merged 3 commits into from
Dec 31, 2016

Conversation

pabloferz
Copy link
Contributor

After #17623 broadcast produces a BitArray instead of Array{Bool} for functions yielding a boolean result, so bitbroadcast shouldn't be needed anymore.

@@ -48,7 +48,7 @@ All mathematical operations and functions are supported for arrays
```@docs
Base.broadcast
Base.Broadcast.broadcast!
Base.Broadcast.bitbroadcast
Base.bitbroadcast
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should usually delete docs for the old version when we deprecate something

```
"""
function bitbroadcast end
@deprecate bitbroadcast broadcast
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this also exported from Base? if so, delete it from exports.jl, the deprecate macro handles that

if not, could eval the deprecation into the Broadcast module so the qualified name doesn't change?

@tkelman tkelman added the needs news A NEWS entry is required for this change label Dec 31, 2016
@tkelman tkelman merged commit eff51f0 into JuliaLang:master Dec 31, 2016
@pabloferz pabloferz deleted the pz/bitbroadcast branch December 31, 2016 16:35
JeffBezanson pushed a commit that referenced this pull request Dec 31, 2016
* Deprecate `bitbroadcast`

* Remove `bitbroadcast` docs
Sacha0 added a commit to Sacha0/julia that referenced this pull request May 11, 2017
tkelman pushed a commit that referenced this pull request May 14, 2017
@KristofferC KristofferC removed the needs news A NEWS entry is required for this change label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants