Re: record field names vs. -fwarn-unused-binds

2015-11-04 Thread Evan Laforge
On Tue, Nov 3, 2015 at 10:42 AM, Thomas Miedema wrote: > Through a patch by Oleg Grenrus (phadej), GHC 8 will have the following new > flags: > -fwarn-unused-top-binds > -fwarn-unused-local-binds > -fwarn-unused-pattern-binds > > So you'll be able to pick and choose. I suppose a record accesso

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

2015-11-04 Thread Henning Thielemann
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