Join Slack
Powered by
is it possible to have a list that accepts only X ...
# announcements
m
Matthew Good
04/28/2019, 7:03 PM
is it possible to have a list that accepts only X or Y type and not
Any
d
Dominaezzz
04/28/2019, 7:13 PM
Can you make X and Y implement an interface?
r
Ryan Benasutti
04/28/2019, 7:41 PM
Perhaps you can have a list of arrow-kt's
Either<X, Y>
Open in Slack
Previous
Next