Skip to content

Commit

Permalink
Restyled by fourmolu (#1405)
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 6248a41 commit 4f8b0da
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Swarm/Doc/Pedagogy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import Data.Set qualified as S
import Data.Text (Text)
import Data.Text qualified as T
import Data.Text.IO qualified as T
import Swarm.Language.Text.Markdown (findCode)
import Swarm.Constant
import Swarm.Game.Entity (loadEntities)
import Swarm.Game.Failure (prettyFailure)
Expand All @@ -40,6 +39,7 @@ import Swarm.Game.ScenarioInfo (ScenarioCollection, ScenarioInfoPair, flatten, l
import Swarm.Language.Module (Module (..))
import Swarm.Language.Pipeline (ProcessedTerm (..))
import Swarm.Language.Syntax
import Swarm.Language.Text.Markdown (findCode)
import Swarm.Language.Types (Polytype)
import Swarm.TUI.Controller (getTutorials)
import Swarm.Util (simpleErrorHandle)
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/Game/Scenario/Objective.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import Control.Lens hiding (from, (<.>))
import Data.Aeson
import Data.Set qualified as Set
import Data.Text (Text)
import Swarm.Language.Text.Markdown qualified as Markdown
import GHC.Generics (Generic)
import Servant.Docs (ToSample)
import Servant.Docs qualified as SD
import Swarm.Game.Achievement.Definitions
import Swarm.Game.Scenario.Objective.Logic as L
import Swarm.Language.Pipeline (ProcessedTerm)
import Swarm.Language.Syntax (Syntax)
import Swarm.Language.Text.Markdown qualified as Markdown
import Swarm.Util.Lens (makeLensesNoSigs)

------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/Swarm/Language/Text/Markdown.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE OverloadedStrings #-}

-- |
-- SPDX-License-Identifier: BSD-3-Clause
--
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/TUI/View/Objective.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import Data.List (intercalate)
import Data.List.NonEmpty qualified as NE
import Data.Map.Strict qualified as M
import Data.Maybe (listToMaybe)
import Swarm.Language.Text.Markdown qualified as Markdown
import Data.Vector qualified as V
import Swarm.Game.Scenario.Objective
import Swarm.Language.Text.Markdown qualified as Markdown
import Swarm.TUI.Attr
import Swarm.TUI.Model.Goal
import Swarm.TUI.Model.Name
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/TUI/View/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Data.Map.Strict qualified as M
import Data.Maybe (catMaybes, fromMaybe)
import Data.Text (Text)
import Data.Text qualified as T
import Swarm.Language.Text.Markdown qualified as Markdown
import Graphics.Vty qualified as V
import Swarm.Game.Entity as E
import Swarm.Game.Location
Expand All @@ -24,6 +23,7 @@ import Swarm.Game.State
import Swarm.Game.Terrain
import Swarm.Language.Pretty (prettyText)
import Swarm.Language.Syntax (Syntax)
import Swarm.Language.Text.Markdown qualified as Markdown
import Swarm.Language.Types (Polytype)
import Swarm.TUI.Attr
import Swarm.TUI.Model
Expand Down

0 comments on commit 4f8b0da

Please sign in to comment.