Closed Kunz-David closed 1 year ago
Is it possible to do it with eats(::Wolf, ::Sheep) = true? I managed only with eats(::Animal{Wolf}, ::Animal{Sheep}) = true.
eats(::Wolf, ::Sheep) = true
eats(::Animal{Wolf}, ::Animal{Sheep}) = true
Yes you are right, mistake that crept in from last year. Thank you!
Happy to help :)
Is it possible to do it with
eats(::Wolf, ::Sheep) = true
? I managed only witheats(::Animal{Wolf}, ::Animal{Sheep}) = true
.