Can hlint enforce strict record fields?

55 views Asked by At

Is it possible for hlint to enforce the following:

If I have

data Foo = Foo
  {bar :: Bar
  , baz :: Baz
  , quux :: Quux
  }

but it should be

data Foo = Foo
  {bar :: !Bar
  , baz :: !Baz
  , quux :: !Quux
  }

Is there a way for hlint to enforce that?

0

There are 0 answers