Advertisement
eallik

Untitled

Jan 8th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.25 KB | None | 0 0
  1.   def mkObj[S <: Product, H, LH, V, T](fields: S)(implicit
  2.     gen: Generic.Aux[S, H],
  3.     lab: LabelledGeneric.Aux[T, LH],
  4.     keys: Keys[LH],
  5.     values: Values.Aux[T, V]
  6.   ): T = {
  7.     val h = gen.to(fields)
  8.     val k = keys()
  9.     ???
  10.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement