rblaze/bond-haskell

View on GitHub
compiler/src/Language/Bond/Codegen/Haskell/Decl.hs

Summary

Maintainability
Test Coverage

Use tuple-section
Open

makeHsBootModule opts ctx decl = fmap (\ c -> (hsBootName, Nothing, c)) code

Found

\ c -> (hsBootName, Nothing, c)

Perhaps

(hsBootName, Nothing,)

Applying this change:

  • may require {-# LANGUAGE TupleSections #-} adding to the top of the file

Use tuple-section
Open

makeModule opts ctx decl = fmap (\ c -> (sourceName, Just printName, c)) code

Found

\ c -> (sourceName, Just printName, c)

Perhaps

(sourceName, Just printName,)

Applying this change:

  • may require {-# LANGUAGE TupleSections #-} adding to the top of the file

There are no issues that match your filters.

Category
Status