Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ scala> class Interval(val start: Long, val end: Long) { override def toString: S
scala> Seq(new Interval(1,10),new Interval(11,20)).writeCSVToFileName("/tmp/example.csv")
scala> scala.io.Source.fromFile("/tmp/example.csv").getLines.toList
res0: List[String] = List(1,10, 11,20)
scala> CSVReader[Interval].readCSVFromFile("/tmp/example.csv")
scala> CSVReader[Interval].readCSVFromFileName("/tmp/example.csv")
res2: List[Interval] = List(Interval(1,10), Interval(11,20))
```

Expand All @@ -74,7 +74,7 @@ used to read data
```scala
scala> import purecsv.unsafe._
scala> class Interval(val start: Long, val end: Long) { override def toString: String = s"Interval($start,$end)" }
scala> CSVReader[Interval].readCSVFromFile("/tmp/example.csv")
scala> CSVReader[Interval].readCSVFromFileName("/tmp/example.csv")
res2: List[Interval] = List(Interval(1,10), Interval(11,20))
```

Expand Down