pbrisbin/tee-io

View on GitHub
src/Handler/Output.hs

Summary

Maintainability
Test Coverage

Use newtype instead of data
Open

data OutputRequest = OutputRequest
    { reqContent :: Text
    }
Severity: Minor
Found in src/Handler/Output.hs by hlint

Found

data OutputRequest = OutputRequest{reqContent :: Text}

Why not

newtype OutputRequest = OutputRequest{reqContent :: Text}

Applying this change:

  • decreases laziness

There are no issues that match your filters.

Category
Status