Given that hlting is used mostly for us for code quality I have no
problem with a version bump. As long as Ganeti is buildable on wheezy.

Thanks,

Guido

On Mon, Mar 11, 2013 at 7:21 AM, Michele Tartara <[email protected]> wrote:
> On Mon, Mar 11, 2013 at 3:15 PM, Iustin Pop <[email protected]> wrote:
>>
>> On Mon, Mar 11, 2013 at 02:04:07PM +0100, Michele Tartara wrote:
>> > On Mon, Mar 11, 2013 at 1:55 PM, Iustin Pop <[email protected]> wrote:
>> >
>> > > Hi all,
>> > >
>> > > While writing new test cases, I realised we can simplify entering test
>> > > data heavily, if only we use OverloadedStrings.
>> > > [...]
>> > > So… bump hlint version (ugly), or don't use OverloadedStrings (ugly)?
>> > >
>> >
>> > What kind of simplification would this allow us to introduce? Can you
>> > give
>> > an example?
>> > (I know what OverloadedStrings is needed for, in general, but I'm
>> > wondering
>> > about the specific usage you have in mind)
>>
>> For example, before:
>>
>>  Ip4Address 0 0 0 1 ==? nextIp4Address (Ip4Address 0 0 0 0)
>>
>> after (IMHO much more readable):
>>
>>  "0.0.0.1" ==? nextIp4Address "0.0.0.0"
>>
>> and this is possibly a simple case. Basically one can remove
>> constructors from data type declaration (in some cases, etc.).
>>
>
> Very nice!
> My vote goes to bumping hlint version. Until recently we were keeping pylint
> version back. I don't see pushing hlint forward to be worse than that.
>
> Thanks,
> Michele



--
Guido Trotter
Ganeti engineering
Google Germany

Reply via email to