flaw-gl/Flaw/Graphics/GLSL.hs

Summary

Maintainability
Test Coverage

Use list comprehension
Open

    otherShaderInfos = concatMap (\(otherStage, otherShaderInfo) -> if otherStage == stage then [] else [otherShaderInfo]) shaders
Severity: Minor
Found in flaw-gl/Flaw/Graphics/GLSL.hs by hlint

Found

if otherStage == stage then [] else [otherShaderInfo]

Perhaps

[otherShaderInfo | not (otherStage == stage)]

There are no issues that match your filters.

Category
Status