Closed momohatt closed 4 years ago
This PR adds join, a function that returns the union of two types.
join
# examples join(int, NoneType) # --> optional(int) join(tensor(float32, (1,)), tensor(float32, (2,))) # --> tensor(float32, (None,))
Unlike unify, this does not modify the argument types.
unify
/test
Successfully created a job for commit e38b6fd:
This PR adds
join
, a function that returns the union of two types.Unlike
unify
, this does not modify the argument types.