flaw-gl/Flaw/Graphics/GLSL.hs
Use list comprehension Open
Open
otherShaderInfos = concatMap (\(otherStage, otherShaderInfo) -> if otherStage == stage then [] else [otherShaderInfo]) shaders
- Read upRead up
- Exclude checks
Found
if otherStage == stage then [] else [otherShaderInfo]
Perhaps
[otherShaderInfo | not (otherStage == stage)]