Julia Programming Language
Restricting method dispatch to a few concrete types
New to Julia
Oscar_Smith
June 29, 2021, 3:38pm
2
You just want
where T <: Union{T1,T2}
. Concrete types can’t have subclasses.
show post in topic
Related topics
Topic
Replies
Views
Activity
Parametric typing
New to Julia
parametric-types
,
functions
6
1052
November 25, 2017
Parametric method type matching issue
Internals & Design
10
765
May 19, 2019
How to dispatch on a union of parametric types with partial Type-instruction?
New to Julia
1
1072
February 19, 2018
Difference in dispatching on Union type vs. subtype of Union type
General Usage
parametric-types
6
867
August 22, 2018
Tricky parametric type dispatch
General Usage
parametric-types
4
1070
April 12, 2019