Skip to content

Instantly share code, notes, and snippets.

@lu4nm3
Created May 14, 2020 04:22
Show Gist options
  • Save lu4nm3/95480757b5912afae0181e2d53e8fe38 to your computer and use it in GitHub Desktop.
Save lu4nm3/95480757b5912afae0181e2d53e8fe38 to your computer and use it in GitHub Desktop.
scala> import OutsourcedPerishables._
import OutsourcedPerishables._
scala> DailyOrderService.needsReplacing(List(IceCream(), IceCream(), IceCream()))
res0: List[IceCream] = List(IceCream(), IceCream(), IceCream())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment