Skip to content

Commit

Permalink
Merge pull request #81 from diagrams/ghc-710
Browse files Browse the repository at this point in the history
update for GHC-7.10, -Wall
  • Loading branch information
cchalmers committed Mar 10, 2015
2 parents a2bab53 + a5c1de6 commit 33ca362
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Diagrams/Core/Names.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverlappingInstances #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeSynonymInstances #-}

-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.Core.Names
Expand Down Expand Up @@ -80,7 +80,6 @@ instance IsName Int
instance IsName Float
instance IsName Double
instance IsName Integer
instance IsName String
instance IsName a => IsName [a]
instance (IsName a, IsName b) => IsName (a,b)
instance (IsName a, IsName b, IsName c) => IsName (a,b,c)
Expand Down
2 changes: 1 addition & 1 deletion src/Diagrams/Core/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.Core.Query
Expand Down Expand Up @@ -56,4 +57,3 @@ instance (Additive v, Num n) => HasOrigin (Query v n m) where

instance (Additive v, Num n) => Transformable (Query v n m) where
transform t (Query f) = Query $ f . papply (inv t)

2 changes: 2 additions & 0 deletions src/Diagrams/Core/Style.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ViewPatterns #-}

{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.Core.Style
Expand Down
2 changes: 1 addition & 1 deletion src/Diagrams/Core/Transform.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE UndecidableInstances #-}

{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-----------------------------------------------------------------------------
-- |
-- Module : Diagrams.Core.Transform
Expand Down

0 comments on commit 33ca362

Please sign in to comment.