srcloc 0.3.0 → 0.4.0
raw patch · 2 files changed
+7/−4 lines, 2 filesdep −syb
Dependencies removed: syb
Files
- Data/Loc.hs +5/−1
- srcloc.cabal +2/−3
Data/Loc.hs view
@@ -40,7 +40,8 @@ ) where #ifdef __GLASGOW_HASKELL__-import Data.Generics (Data(..),Typeable(..))+import Data.Data (Data(..))+import Data.Typeable (Typeable(..)) #endif import Data.List (foldl') import Data.Monoid (Monoid(..))@@ -140,6 +141,9 @@ instance Ord SrcLoc where compare _ _ = EQ++instance Show SrcLoc where+ showsPrec _ _ = id -- | The 'SrcLoc' of a 'Located' value. srclocOf :: Located a => a -> SrcLoc
srcloc.cabal view
@@ -1,5 +1,5 @@ name: srcloc-version: 0.3.0+version: 0.4.0 cabal-version: >= 1.6 license: BSD3 license-file: LICENSE@@ -20,8 +20,7 @@ Data.Loc build-depends:- base >= 4 && < 5,- syb >= 0.1 && < 0.4+ base >= 4 && < 5 source-repository head type: git