nikita-volkov / record

Anonymous records
http://hackage.haskell.org/package/record
MIT License
245 stars 8 forks source link

Fix #17 for expression quasiquotes: #21

Closed aavogt closed 9 years ago

aavogt commented 9 years ago

recordConNameByArity was not fixed. It seems better to rely on how ghc stores quoted names Names (which has been this way forever) than to have one more place to update when you change the number of fields Record.Types can do.

nikita-volkov commented 9 years ago

Thanks! Nice solution. I've restyled it a bit.