Skip to content

Commit

Permalink
fix(codegen): drop unused language pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
vst committed May 28, 2024
1 parent 765dc01 commit 46adee1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Postmap/Gencode/Haskell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,12 @@ mkIdsModule Config {..} records =
: "Servant"
: "Text.Show"
: modules'
in [i|{-\# LANGUAGE DeriveAnyClass \#-}
{-\# LANGUAGE DeriveGeneric \#-}
{-\# LANGUAGE DerivingVia \#-}
in [i|{-\# LANGUAGE DerivingVia \#-}
{-\# LANGUAGE DuplicateRecordFields \#-}
{-\# LANGUAGE FlexibleInstances \#-}
{-\# LANGUAGE GeneralizedNewtypeDeriving \#-}
{-\# LANGUAGE NoImplicitPrelude \#-}
{-\# LANGUAGE OverloadedStrings \#-}
{-\# LANGUAGE RecordWildCards \#-}
{-\# LANGUAGE StandaloneDeriving \#-}
{-\# LANGUAGE TypeOperators \#-}
{-\# OPTIONS_GHC -Wno-orphans \#-}

-- | This module provides for identifiers definitions for records.
Expand Down Expand Up @@ -186,10 +181,8 @@ mkRecordDataType config@Config {..} record@Record {..} =
{-\# LANGUAGE DerivingVia \#-}
{-\# LANGUAGE DuplicateRecordFields \#-}
{-\# LANGUAGE FlexibleInstances \#-}
{-\# LANGUAGE GeneralizedNewtypeDeriving \#-}
{-\# LANGUAGE NoImplicitPrelude \#-}
{-\# LANGUAGE OverloadedStrings \#-}
{-\# LANGUAGE RecordWildCards \#-}
{-\# LANGUAGE StandaloneDeriving \#-}
{-\# LANGUAGE TypeOperators \#-}

Expand Down

0 comments on commit 46adee1

Please sign in to comment.