Demo entry 6346720

Animal.swift

   

Submitted by anonymous on Feb 12, 2017 at 18:54
Language: Swift. Code size: 130 Bytes.

protocol Animal {
    associatedtype Food
    associatedtype Poo
    @discardableResult
    func eat(food: Food) -> Poo
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).