abalcerek
3 questions
0
votes
0
answer
5
views
Using Slick with Kudu/Impala
Kudu tables can be accessed via Impala thus its jdbc driver. Thanks to that it is accessable via standard java/scala jdbc api. I was wondering if it is possible to use slick for it. Or if not is any other high level scala db framework supporting impla/kudu.
38
votes
2
answer
38.1k
views
Find connected components in a graph [closed]
If I have an undirected graph (implemented as a list of vertices), how can I find its connected components? How can I use quick-union?
3
votes
1
answer
125
views
Scala Typeclasses
I'm trying to implement simple type class pattern. It suppose to work similarly to scalaz's typeclasses. Unfortunately I can't get it to work. I have trait Str
trait Str[T] {
def str(t: T): String
}
object Str {
def apply[T](implicit instance: Str[T]) : Str[T] = instance
}
And in my and implicit ins...