Clean up LANGUAGE pragmas

This commit is contained in:
Ryan Trinkle 2023-07-04 13:00:06 -04:00
parent 141b482739
commit 24d7343fb9
7 changed files with 5 additions and 9 deletions

View File

@ -44,3 +44,8 @@ library
build-depends: jsaddle-warp
default-language: Haskell2010
default-extensions:
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
OverloadedStrings

View File

@ -1,4 +1,3 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module React.Component where
import Control.Monad.Except

View File

@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module React.Element where
import Control.Monad.Except

View File

@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
module React.Export where

View File

@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module React.Hook where
import Prelude hiding ((!!))

View File

@ -1,7 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -Wno-orphans #-}
-- | Everything in this module belongs in JSaddle, GHCJS-DOM, or similar
module React.JSaddle where

View File

@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module React.Types where
import Control.Monad.Reader