[Haskell-cafe] record field names vs. -fwarn-unused-binds

Henning Thielemann lemming at henning-thielemann.de
Wed Nov 4 14:56:08 UTC 2015


On Tue, 3 Nov 2015, Evan Laforge wrote:

> I can work around by putting underscores on field names I haven't used 
> yet, but it's a hassle to go edit them when I want to use them.

I do it this way and I do not consider it a work-around. The underscore is 
just the shortest way to say that a record field name is not used. It's 
shorter than any pragma could be.


More information about the Haskell-Cafe mailing list