Skip to content

Commit

Permalink
warning police
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed Feb 18, 2022
1 parent 4a6f418 commit 0d1c53f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion accelerate.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ library
, hedgehog >= 0.5
, microlens >= 0.4
, mtl >= 2.0
, prettyprinter >= 1.6.1
, prettyprinter >= 1.7
, prettyprinter-ansi-terminal >= 1.0
, primitive >= 0.6.4
, tasty >= 0.11
Expand Down
6 changes: 3 additions & 3 deletions src/Data/Array/Accelerate/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ import Data.Array.Accelerate.Trafo
import Data.Array.Accelerate.Trafo.Delayed

import Data.Maybe
import Data.Text.Prettyprint.Doc
import Data.Text.Prettyprint.Doc.Render.String
import Data.Text.Prettyprint.Doc.Render.Terminal
import Prettyprinter
import Prettyprinter.Render.String
import Prettyprinter.Render.Terminal
import System.Environment
import System.IO
import System.IO.Unsafe
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Array/Accelerate/Pretty/Graphviz.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import Data.HashSet ( HashSet )
import Data.List ( nub, partition )
import Data.Maybe
import Data.String
import Data.Text.Prettyprint.Doc
import Prettyprinter
import Prelude hiding ( exp )
import qualified Data.HashSet as Set
import qualified Data.Sequence as Seq
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Array/Accelerate/Pretty/Graphviz/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Data.Array.Accelerate.Pretty.Graphviz.Type
import Data.Hashable
import Data.Maybe
import Data.Text ( Text )
import Data.Text.Prettyprint.Doc
import Prettyprinter
import Text.Printf
import qualified Data.Text as Text

Expand Down
4 changes: 2 additions & 2 deletions src/Data/Array/Accelerate/Pretty/Print.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ import qualified Data.Array.Accelerate.Trafo.Delayed as Delayed

import Data.Char
import Data.String
import Data.Text.Prettyprint.Doc
import Data.Text.Prettyprint.Doc.Render.Terminal
import Prettyprinter
import Prettyprinter.Render.Terminal
import Prelude hiding ( exp )


Expand Down
7 changes: 4 additions & 3 deletions src/Data/Array/Accelerate/Trafo/Algebra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ import qualified Data.Array.Accelerate.Debug.Internal.Stats as Stats
import Data.Bits
import Data.Monoid
import Data.Text ( Text )
import Data.Text.Prettyprint.Doc
import Data.Text.Prettyprint.Doc.Render.Text
import GHC.Float ( float2Double, double2Float )
import Prettyprinter
import Prettyprinter.Render.Text
import Prelude hiding ( exp )
import qualified Prelude as P

import GHC.Float ( float2Double, double2Float )


-- Propagate constant expressions, which are either constant valued expressions
-- or constant let bindings. Be careful not to follow self-cycles.
Expand Down

0 comments on commit 0d1c53f

Please sign in to comment.