pbrisbin/tee-io

View on GitHub
src/Handler/Command.hs

Summary

Maintainability
Test Coverage

Use newtype instead of data
Open

data CommandRequest = CommandRequest
    { reqDescription :: Maybe Text }
Severity: Minor
Found in src/Handler/Command.hs by hlint

Found

data CommandRequest = CommandRequest{reqDescription :: Maybe Text}

Why not

newtype CommandRequest = CommandRequest{reqDescription :: Maybe Text}

Applying this change:

  • decreases laziness

There are no issues that match your filters.

Category
Status