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

Move from Nullable{T} to Union{T,Nothing} #21

Closed
epatters opened this issue Oct 23, 2018 · 1 comment
Closed

Move from Nullable{T} to Union{T,Nothing} #21

epatters opened this issue Oct 23, 2018 · 1 comment
Labels

Comments

@epatters
Copy link
Member

Since Julia v0.7, the Nullable{T} type has been moved from base Julia to an external package, in favor of writing Union{T,Nothing}.

Unfortunately, the more pleasant syntax T? for such "maybe types" has not yet arrived (see JuliaLang/julia#22682). When it does, we should migrate from Nullables to maybe types.

epatters added a commit that referenced this issue Oct 23, 2018
We defer handling of Nullable{T} and Union{T,Nothing} to downstream
applications.
epatters added a commit to epatters/semanticflowgraph that referenced this issue Oct 23, 2018
By "maybe type" I mean Union{T,Nothing}, in contrast to Nullable{T}.

Cf. AlgebraicJulia/Catlab.jl#21
@epatters
Copy link
Member Author

epatters commented Jul 31, 2019

Regrettably, there seems to be no movement on the Julia side. I should probably adopt a compromise solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant