cassava-records 0.1.0.3 → 0.1.0.4
raw patch · 4 files changed
+20/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- cassava-records.cabal +2/−2
- test/data/salaries_mixed_input.csv +7/−0
- test/data/salaries_simple.csv +7/−0
ChangeLog.md view
@@ -7,3 +7,7 @@ ## 0.1.0.3 - Remove Main.hs from uploaded distribution. Causes doc generation to fail++## 0.1.0.4++- Add test/data folder for tests to pass. Needed to package library in Stackage
cassava-records.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: b49e886afbdb22ebcf366cd7146a2dff5a316fe2a524063fa87463bcf65eccfd+-- hash: 6fa96870e8ef342e8e879296d6ab7cc27daa8f5cae4b2d60cfbfa3cb8e47bd32 name: cassava-records-version: 0.1.0.3+version: 0.1.0.4 synopsis: Auto-generation of records data type. description: cassava-records library helps in auto-creating record data types using Template Haskell by inferring types from the columns of a csv or compatible input file. The record and type classes instances generated can be seamlessly used with cassava(the haskell csv reader library) to load the data into these record types without dealing with any other level of abstraction. Please see README on Github at <https://github.com/gdevanla/cassava-records#readme>
+ test/data/salaries_mixed_input.csv view
@@ -0,0 +1,7 @@+emp_no,name,salary,status,years+1,John Doe,100.0,True,1+2,Jill Doe, 200.10,False,2+3,John Doe Sr,101.0,T,+4,Jill Doe Sr, 10101.10,,4.2+5,John Doe Jr,,true,5.1+6,, 10101.10,false,6
+ test/data/salaries_simple.csv view
@@ -0,0 +1,7 @@+emp_no,name,salary,status,years+1,John Doe,100.0,True,1+2,Jill Doe, 200.10,False,2+3,John Doe Sr,101.0,T,3+4,Jill Doe Sr, 10101.10,f,4.2+5,John Doe Jr,1010101.0,true,5.1+6,Jill Doe Jr, 10101.10,false,6