Skip to content

Commit

Permalink
Restyled by fourmolu (#994)
Browse files Browse the repository at this point in the history
Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
restyled-io[bot] and restyled-commits authored Jan 10, 2023
1 parent 9b26d57 commit ac5f556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Swarm/Language/Syntax.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module Swarm.Language.Syntax (

-- * Syntax
Syntax (..),
LocVar(..),
LocVar (..),
SrcLoc (..),
noLoc,
pattern STerm,
Expand Down Expand Up @@ -872,7 +872,7 @@ data DelayType
-- | A variable with associated source location, used for variable
-- binding sites. (Variable occurrences are a bare TVar which gets
-- wrapped in a Syntax node, so we don't need LocVar for those.)
data LocVar = LV { lvSrcLoc :: SrcLoc, lvVar :: Var }
data LocVar = LV {lvSrcLoc :: SrcLoc, lvVar :: Var}
deriving (Eq, Show, Data, Generic, FromJSON, ToJSON)

-- | Terms of the Swarm language.
Expand Down
1 change: 1 addition & 0 deletions src/Swarm/Language/Typecheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE ViewPatterns #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

-- For 'Ord IntVar' instance

-- |
Expand Down

0 comments on commit ac5f556

Please sign in to comment.