The shortest yet efficient implementation of the famous sequential pattern mining algorithm PrefixSpan in Scala.