Skip to content

Commit

Permalink
Restyled by fourmolu (#1410)
Browse files Browse the repository at this point in the history
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
restyled-io[bot] and restyled-commits authored Aug 5, 2023
1 parent 725e359 commit f034beb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions src/Swarm/Doc/Pedagogy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ loadScenarioCollection :: IO ScenarioCollection
loadScenarioCollection = simpleErrorHandle $ do
entities <- loadEntities
evalAccum (mempty :: Seq SystemFailure) $ loadScenarios entities
-- Note we ignore any warnings generated by 'loadScenarios' above.
-- Any warnings will be caught when loading all the scenarios via
-- the usual code path; we do not need to do anything with them
-- here while simply rendering pedagogy info.

-- Note we ignore any warnings generated by 'loadScenarios' above.
-- Any warnings will be caught when loading all the scenarios via
-- the usual code path; we do not need to do anything with them
-- here while simply rendering pedagogy info.

renderUsagesMarkdown :: CoverageInfo -> Text
renderUsagesMarkdown (CoverageInfo (TutorialInfo (s, si) idx _sCmds dCmds) novelCmds) =
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/Game/Failure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module Swarm.Game.Failure (
Asset (..),
Entry (..),
LoadingFailure (..),
OrderFileWarning(..),
OrderFileWarning (..),
prettyLoadingFailure,
prettyFailure,
) where
Expand Down

0 comments on commit f034beb

Please sign in to comment.