Skip to content

Instantly share code, notes, and snippets.

@stasimus
Created June 10, 2012 21:21
Show Gist options
  • Save stasimus/2907373 to your computer and use it in GitHub Desktop.
Save stasimus/2907373 to your computer and use it in GitHub Desktop.
implicit val listSemigroup = new Semigroup[List[String]] {
def append(a1: List[String], a2: List[String]): List[String] = {
a1 ::: a2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment