Skip to content

Instantly share code, notes, and snippets.

@priort

priort/JazzBandsDomain.scala Secret

Created Dec 30, 2018
Embed
What would you like to do?
final case class Quartet( trumpetPlayer: TrumpetPlayer,
pianoPlayer: PianoPlayer,
bassPlayer: BassPlayer,
drummer: Drummer)
final case class Quintet( saxPlayer: SaxPlayer,
trumpetPlayer: TrumpetPlayer,
pianoPlayer: PianoPlayer,
bassPlayer: BassPlayer,
drummer: Drummer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.