Created
May 14, 2020 04:14
-
-
Save lu4nm3/10624c0d916c93f3fe6721fbb394d0ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait DailyOrderService { | |
def needsReplacing(perishables: List[Perishable]): List[Perishable] = { | |
perishables.filter(_.expired) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment