Skip to content

Commit

Permalink
hlint: fuse traverse
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Nov 12, 2023
1 parent 9f05b3e commit dd38987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Graphics/Implicit/ExtOpenScad/Eval/Statement.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ runStatementI (StatementI sourcePos (ModuleCall (Symbol name) argsExpr suite)) =
((_, suiteInfoFound):_) -> suiteInfoFound
when (null possibleInstances) (do
errorC sourcePos $ "no instance of " <> name <> " found to match given parameters.\nInstances available:\n" <> pack (show (ONModule (Symbol name) implementation forms))
traverse_ (`checkOptions` True) $ fmap (Just . fst) forms
traverse_ ((`checkOptions` True) . Just . fst) forms
)
-- Ignore this for now, because all instances we define have the same suite requirements.
{-
Expand Down

0 comments on commit dd38987

Please sign in to comment.