Remove unnecessary language extensions

Attempting to abide by the Principle of Least Power. Also: the smaller the
headers in each module are, the happier I am.
This commit is contained in:
William Carroll 2020-07-27 11:35:10 +01:00
parent df13b761ff
commit 974c63a679
3 changed files with 0 additions and 12 deletions

View file

@ -1,14 +1,9 @@
{-# LANGUAGE DataKinds #-} {-# LANGUAGE DataKinds #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeOperators #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module API where module API where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
import Data.Proxy
import Data.Text import Data.Text
import Database.Persist
import Servant.API import Servant.API
import qualified Types as T import qualified Types as T

View file

@ -1,10 +1,5 @@
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module App where module App where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,5 +1,3 @@
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GADTs #-} {-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE MultiParamTypeClasses #-}