From c7a3998bd7b86f8b162cc08ee3912e781338162c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20S=CC=8Cebek?= Date: Sun, 6 Aug 2023 02:06:32 +0200 Subject: [PATCH] restyle --- src/Swarm/Doc/Gen.hs | 2 +- src/Swarm/Game/Entity.hs | 4 ++-- src/Swarm/Game/Robot.hs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Swarm/Doc/Gen.hs b/src/Swarm/Doc/Gen.hs index 3a13bb06c..2d8157ae1 100644 --- a/src/Swarm/Doc/Gen.hs +++ b/src/Swarm/Doc/Gen.hs @@ -60,12 +60,12 @@ import Swarm.Language.Key (specialKeyNames) import Swarm.Language.Pretty (prettyText) import Swarm.Language.Syntax (Const (..)) import Swarm.Language.Syntax qualified as Syntax +import Swarm.Language.Text.Markdown as Markdown (toText) import Swarm.Language.Typecheck (inferConst) import Swarm.Util (both, guardRight, listEnums, quote, simpleErrorHandle) import Text.Dot (Dot, NodeId, (.->.)) import Text.Dot qualified as Dot import Witch (from) -import Swarm.Language.Text.Markdown as Markdown (toText) -- ============================================================================ -- MAIN ENTRYPOINT TO CLI DOCUMENTATION GENERATOR diff --git a/src/Swarm/Game/Entity.hs b/src/Swarm/Game/Entity.hs index 1831cc242..c24267e91 100644 --- a/src/Swarm/Game/Entity.hs +++ b/src/Swarm/Game/Entity.hs @@ -106,13 +106,13 @@ import Swarm.Game.Failure (AssetData (Entities), prettyFailure) import Swarm.Game.Location import Swarm.Game.ResourceLoading (getDataFileNameSafe) import Swarm.Language.Capability +import Swarm.Language.Syntax (Syntax) +import Swarm.Language.Text.Markdown (Document, toText) import Swarm.Util (binTuples, failT, findDup, plural, quote, (?)) import Swarm.Util.Yaml import Text.Read (readMaybe) import Witch import Prelude hiding (lookup) -import Swarm.Language.Text.Markdown (Document, toText) -import Swarm.Language.Syntax (Syntax) ------------------------------------------------------------ -- Properties diff --git a/src/Swarm/Game/Robot.hs b/src/Swarm/Game/Robot.hs index 3213330ef..ceb99e063 100644 --- a/src/Swarm/Game/Robot.hs +++ b/src/Swarm/Game/Robot.hs @@ -99,14 +99,14 @@ import Swarm.Game.Universe import Swarm.Language.Capability (Capability) import Swarm.Language.Context qualified as Ctx import Swarm.Language.Requirement (ReqCtx) +import Swarm.Language.Syntax (Syntax) +import Swarm.Language.Text.Markdown (Document) import Swarm.Language.Typed (Typed (..)) import Swarm.Language.Types (TCtx) import Swarm.Language.Value as V import Swarm.Util.Lens (makeLensesExcluding) import Swarm.Util.Yaml import System.Clock (TimeSpec) -import Swarm.Language.Text.Markdown (Document) -import Swarm.Language.Syntax (Syntax) -- | A record that stores the information -- for all definitions stored in a 'Robot'