Open idontgetoutmuch opened 6 years ago
Also if I give the same column name to both files
[2 of 2] Compiling Main ( app/Main.hs, interpreted )
app/Main.hs:74:1: error:
Multiple declarations of ‘Rownum’
Declared at: app/Main.hs:73:1
app/Main.hs:74:1
|
74 | tableTypesText "Marriage" "/Users/dom/Dropbox/Tidy/Economics/mrp/data/marriageData.csv"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I've tried to address the second bullet point above with this commit. It copies the logic used in tableTypes'
to avoid creating duplicate type definitions.
Can you verify that it fixes this issue for you?
I have created this
but if I declare
I get
tableTypes
doesn't give this error.