src/main/scala/Pangrams.scala

1
2
3
4
object Pangrams {
  val alphabet = ('a' to 'z').toSet
  def isPangram(text: String) = alphabet subsetOf text.toLowerCase.toSet
}

@abo64 thinks this looks great

Comments


You're not logged in right now. Please login via GitHub to comment