Skip to content
#

numerical

Here are 118 public repositories matching this topic...

julia
CameronBieganek
CameronBieganek commented Feb 21, 2020

Do we expect the following syntax to work?

julia> [Int, Float64, String, Bool] .<: Union{Int, String}
ERROR: syntax: space not allowed after ":" used for quoting

It works if you call <: as a broadcasted function:

julia> (<:).([Int, Float64, String, Bool], Union{Int, String})
4-element BitArray{1}:
 1
 0
 1
 0

Version info:

Julia Versio

Improve this page

Add a description, image, and links to the numerical topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the numerical topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.