diff --git a/dbmigrations.cabal b/dbmigrations.cabal index 18e2fa2..9f91538 100644 --- a/dbmigrations.cabal +++ b/dbmigrations.cabal @@ -62,7 +62,6 @@ Source-Repository head Library default-language: Haskell2010 - default-extensions: OverloadedStrings if impl(ghc >= 6.12.0) ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -fno-warn-unused-do-bind @@ -108,7 +107,6 @@ Library test-suite dbmigrations-tests default-language: Haskell2010 - default-extensions: OverloadedStrings type: exitcode-stdio-1.0 Build-Depends: base >= 4 && < 5, diff --git a/src/Database/Schema/Migrations/Backend.hs b/src/Database/Schema/Migrations/Backend.hs index 5a086c4..ffee25e 100644 --- a/src/Database/Schema/Migrations/Backend.hs +++ b/src/Database/Schema/Migrations/Backend.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module Database.Schema.Migrations.Backend ( Backend(..) , rootMigrationName diff --git a/src/Database/Schema/Migrations/Backend/HDBC.hs b/src/Database/Schema/Migrations/Backend/HDBC.hs index da80df5..55799bf 100644 --- a/src/Database/Schema/Migrations/Backend/HDBC.hs +++ b/src/Database/Schema/Migrations/Backend/HDBC.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module Database.Schema.Migrations.Backend.HDBC ( hdbcBackend ) diff --git a/src/Database/Schema/Migrations/Dependencies.hs b/src/Database/Schema/Migrations/Dependencies.hs index 6ea67f9..d596d58 100644 --- a/src/Database/Schema/Migrations/Dependencies.hs +++ b/src/Database/Schema/Migrations/Dependencies.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances #-} +{-# LANGUAGE TypeSynonymInstances, OverloadedStrings #-} -- |This module types and functions for representing a dependency -- graph of arbitrary objects and functions for querying such graphs -- to get dependency and reverse dependency information. diff --git a/src/Database/Schema/Migrations/Filesystem.hs b/src/Database/Schema/Migrations/Filesystem.hs index dd74ad5..838871b 100644 --- a/src/Database/Schema/Migrations/Filesystem.hs +++ b/src/Database/Schema/Migrations/Filesystem.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE DeriveDataTypeable, ScopedTypeVariables #-} +{-# LANGUAGE DeriveDataTypeable, ScopedTypeVariables, OverloadedStrings #-} -- |This module provides a type for interacting with a -- filesystem-backed 'MigrationStore'. module Database.Schema.Migrations.Filesystem diff --git a/src/Database/Schema/Migrations/Filesystem/Serialize.hs b/src/Database/Schema/Migrations/Filesystem/Serialize.hs index 22e4113..d5c4171 100644 --- a/src/Database/Schema/Migrations/Filesystem/Serialize.hs +++ b/src/Database/Schema/Migrations/Filesystem/Serialize.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module Database.Schema.Migrations.Filesystem.Serialize ( serializeMigration ) diff --git a/src/Database/Schema/Migrations/Migration.hs b/src/Database/Schema/Migrations/Migration.hs index 06db5f5..8222323 100644 --- a/src/Database/Schema/Migrations/Migration.hs +++ b/src/Database/Schema/Migrations/Migration.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module Database.Schema.Migrations.Migration ( Migration(..) , newMigration diff --git a/src/Moo/CommandUtils.hs b/src/Moo/CommandUtils.hs index 7bd88e5..86677f1 100644 --- a/src/Moo/CommandUtils.hs +++ b/src/Moo/CommandUtils.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleContexts, OverloadedStrings #-} module Moo.CommandUtils ( apply , confirmCreation diff --git a/src/Moo/Main.hs b/src/Moo/Main.hs index bc8c97f..259a4c4 100644 --- a/src/Moo/Main.hs +++ b/src/Moo/Main.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module Moo.Main ( mainWithParameters , ExecutableParameters (..) diff --git a/test/DependencyTest.hs b/test/DependencyTest.hs index b53cac9..7bf1495 100644 --- a/test/DependencyTest.hs +++ b/test/DependencyTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module DependencyTest ( tests ) diff --git a/test/FilesystemParseTest.hs b/test/FilesystemParseTest.hs index 55d34ba..8cbf67b 100644 --- a/test/FilesystemParseTest.hs +++ b/test/FilesystemParseTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module FilesystemParseTest ( tests ) diff --git a/test/FilesystemSerializeTest.hs b/test/FilesystemSerializeTest.hs index 34e81cb..2510c27 100644 --- a/test/FilesystemSerializeTest.hs +++ b/test/FilesystemSerializeTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module FilesystemSerializeTest ( tests ) diff --git a/test/FilesystemTest.hs b/test/FilesystemTest.hs index 144d0e9..9240df9 100644 --- a/test/FilesystemTest.hs +++ b/test/FilesystemTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module FilesystemTest ( tests ) diff --git a/test/LinearMigrationsTest.hs b/test/LinearMigrationsTest.hs index 1e7d747..ab3649e 100644 --- a/test/LinearMigrationsTest.hs +++ b/test/LinearMigrationsTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module LinearMigrationsTest (tests) where import InMemoryStore diff --git a/test/MigrationsTest.hs b/test/MigrationsTest.hs index bb5aa32..a53a994 100644 --- a/test/MigrationsTest.hs +++ b/test/MigrationsTest.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances,GeneralizedNewtypeDeriving,MultiParamTypeClasses,FlexibleInstances #-} +{-# LANGUAGE TypeSynonymInstances,GeneralizedNewtypeDeriving,MultiParamTypeClasses,FlexibleInstances,OverloadedStrings #-} module MigrationsTest ( tests ) diff --git a/test/StoreTest.hs b/test/StoreTest.hs index 465fd7d..4db956f 100644 --- a/test/StoreTest.hs +++ b/test/StoreTest.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} module StoreTest ( tests ) @@ -115,4 +116,4 @@ validateMigrationMapTests = map mkValidateMapTest validateMapTestCases where mkValidateMapTest (mmap, errs) = - errs ~=? validateMigrationMap mmap \ No newline at end of file + errs ~=? validateMigrationMap mmap