diff options
author | William Carroll <wpcarro@gmail.com> | 2020-07-27T10·35+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-07-27T10·35+0100 |
commit | 974c63a679de8975d7f6593f986d3acc47506a7d (patch) | |
tree | 7698099a85599285c99ce7839961db65dafbe0b6 /src | |
parent | df13b761ff945db894ade4dba6c68fb6f14c8615 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/API.hs | 5 | ||||
-rw-r--r-- | src/App.hs | 5 | ||||
-rw-r--r-- | src/Types.hs | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/API.hs b/src/API.hs index ae85c8f93b26..70da1921d251 100644 --- a/src/API.hs +++ b/src/API.hs @@ -1,14 +1,9 @@ {-# LANGUAGE DataKinds #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeOperators #-} -------------------------------------------------------------------------------- module API where -------------------------------------------------------------------------------- -import Data.Proxy import Data.Text -import Database.Persist import Servant.API import qualified Types as T diff --git a/src/App.hs b/src/App.hs index a13ffa2d3066..4381882d192a 100644 --- a/src/App.hs +++ b/src/App.hs @@ -1,10 +1,5 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeApplications #-} -{-# LANGUAGE TypeFamilies #-} -{-# LANGUAGE TypeOperators #-} -------------------------------------------------------------------------------- module App where -------------------------------------------------------------------------------- diff --git a/src/Types.hs b/src/Types.hs index fc1516e5b746..083724961a58 100644 --- a/src/Types.hs +++ b/src/Types.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE EmptyDataDecls #-} -{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE MultiParamTypeClasses #-} |