Skip to content

Commit

Permalink
Remove unused LANGUAGE pragmas.
Browse files Browse the repository at this point in the history
  • Loading branch information
chungyc committed Oct 8, 2024
1 parent 72f6e21 commit 7c66764
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
-- license that can be found in the LICENSE file or at
-- https://developers.google.com/open-source/licenses/bsd

{-# LANGUAGE OverloadedLabels #-}

{-|
Module: Data.ProtoLens.Compiler.Editions.Defaults
Description: Exports defaults for native features in Protobuf Editions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
-- Upstream docs: <https://developers.google.com/protocol-buffers/docs/encoding>
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE OverloadedStrings #-}
Expand Down
1 change: 0 additions & 1 deletion proto-lens-protoc/app/Data/ProtoLens/Compiler/Plugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE OverloadedStrings #-}
module Data.ProtoLens.Compiler.Plugin
( ProtoFileName
, ProtoFile(..)
Expand Down
1 change: 0 additions & 1 deletion proto-lens-protoc/app/protoc-gen-haskell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
module Main where

import Control.Monad.IO.Class (liftIO)
Expand Down
1 change: 0 additions & 1 deletion proto-lens-setup/src/Data/ProtoLens/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
--
-- See @README.md@ for instructions on how to use proto-lens with Cabal.
{-# LANGUAGE CPP #-}
{-# LANGUAGE BangPatterns #-}
module Data.ProtoLens.Setup
( defaultMainGeneratingProtos
, defaultMainGeneratingSpecificProtos
Expand Down
2 changes: 0 additions & 2 deletions proto-lens-tutorial/coffee-order/src/Main.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeApplications #-}

module Main where

Expand Down
1 change: 0 additions & 1 deletion proto-lens/src/Data/ProtoLens/Encoding/Bytes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE LambdaCase #-}
Expand Down
2 changes: 0 additions & 2 deletions proto-lens/src/Data/ProtoLens/Encoding/Parser.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
-- | A custom parsing monad, optimized for speed.
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Data.ProtoLens.Encoding.Parser
Expand Down
1 change: 0 additions & 1 deletion proto-lens/src/Data/ProtoLens/Field.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ For more information, see <https://google.github.io/proto-lens/tutorial.html#fie
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Data.ProtoLens.Field
Expand Down
1 change: 0 additions & 1 deletion proto-lens/src/Data/ProtoLens/Service/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE RankNTypes #-}
Expand Down

0 comments on commit 7c66764

Please sign in to comment.