Skip to content

Commit

Permalink
Restyled by fourmolu (#551)
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 Jul 9, 2022
1 parent 05f91dd commit ef0aec6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Swarm/Game/Exception.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ module Swarm.Game.Exception (
) where

import Control.Lens ((^.))
import Data.Aeson (FromJSON, ToJSON)
import Data.Map qualified as M
import Data.Set qualified as S
import Data.Aeson (FromJSON, ToJSON)
import Data.Text (Text)
import Data.Text qualified as T
import Witch (from)
import GHC.Generics (Generic)
import Witch (from)

import Swarm.Game.Entity (EntityMap, deviceForCap, entityName)
import Swarm.Language.Capability (Capability (CGod), capabilityName)
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/Language/Requirement.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ module Swarm.Language.Requirement (
requirements,
) where

import Data.Bifunctor (first)
import Data.Aeson (FromJSON, ToJSON)
import Data.Bifunctor (first)
import Data.Data (Data)
import Data.Hashable (Hashable)
import Data.Map (Map)
Expand Down
2 changes: 1 addition & 1 deletion src/Swarm/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ import Control.Exception (catch)
import Control.Exception.Base (IOException)
import Control.Lens (ASetter', LensLike, LensLike', Over, (<>~))
import Control.Monad (forM, unless, when)
import Data.Aeson (FromJSONKey, ToJSONKey)
import Data.Bifunctor (first)
import Data.Char (isAlphaNum)
import Data.Aeson (FromJSONKey, ToJSONKey)
import Data.Either.Validation
import Data.Int (Int64)
import Data.List (maximumBy, partition)
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import Data.Aeson (eitherDecode, encode)
import Data.Either
import Data.Hashable
import Data.List (subsequences)
import Data.Maybe
import Data.Set (Set)
import Data.Set qualified as S
import Data.Maybe
import Data.String (fromString)
import Data.Text (Text)
import Data.Text qualified as T
Expand Down

0 comments on commit ef0aec6

Please sign in to comment.