- Elixir update
- Support latest version of Elixir (1.8).
- Dependencies update
- Update to latest version of dependencies.
- Elixir update
- Support latest version of Elixir.
- Dependencies update
- Update to latest version of dependencies.
- Dependencies update
- Update to latest version of dependencies.
- Format code with Elixir formatter.
- Features
- Add
keyword_lists_from_tsv/1
andkeyword_lists_from_csv/2
that returns keyword lists stream for given TSV/CSV - Add
maps_from_tsv/1
andmaps_from_csv/2
that returns maps with atom keys stream for given TSV/CSV - Add
filter_and_take/3
that returns stream with filter regexp and take count applied - Add
puts_tsv/1
andputs_tsv/2
functions to write streams of string lists as TSV to stdout
- Add
- Refactoring
- Create structs from stream of lists, rather than stream of maps.
- Return headers separately from CSV/TSV parsing.
- Pass headers separately to struct creation function.
- Remove redundant
DataMorph.Tsv
module. - Pass separator token to
DataMorph.Csv
module instead.
- Bug Fixes
- Change code to only process line at first position of stream once, to fix bug processing from IO.stream :stdio
- Bug Fixes
- When
defmodulestruct/2
macro called a second time with the same fields in different order don't redefine struct
- When
- Bug Fixes
- When
defmodulestruct/2
macro called a second time with the same fields don't redefine struct
- When
- Initial release