SegFaultx64 / CsVeer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extremely simple example

import shapeless._
import poly._
import com.traversalsoftware.csv.CsVeer._
val test = """
5,4
5,"4"
5,4.0
2,7
Max,5
5,6,7
6,7
"""
object TestRules extends Rules {
  type Row = Int :: Long :: HNil
  val fake: Row = 0 :: 0L :: HNil
}
val temp = test.split('\n').toStream.map(TestRules.run(_)).flatten
println(temp.toList)

About


Languages

Language:Scala 100.0%