karun012 / arion

MIT License
46 stars 7 forks source link

fixes bug with extra spaces in imports #10

Closed mwotton closed 9 years ago

mwotton commented 9 years ago

This is just a quick patch. Ideally there'd be no actual code in Types.hs, just types.

at some point you may want to think about using something slightly more robust than regexes to parse this (like the GHC api.) For instance,

important arg = arg * 2

will currently have weird effects, I think.

karun012 commented 9 years ago

Thank you. I will switch over to GHC api soon.