aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2016-05-27 17:45:53 +0200
committerFélix Sipma <felix.sipma@no-log.org>2016-05-27 17:45:53 +0200
commit0ca180e788eac14fd5993a9d12a5184dfe874237 (patch)
treee24313ce34656d9151f98c3da1958253f42b950e
parent21147fe579e4173ece624e814d250eab740c87fb (diff)
use BangPatterns language extension
-rw-r--r--src/Config.hs1
-rw-r--r--src/Config/CmdConfig.hs1
-rw-r--r--src/Config/FileConfig.hs1
-rw-r--r--src/Config/InternalConfig.hs1
-rw-r--r--src/Filter.hs1
-rw-r--r--src/Types.hs1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/Config.hs b/src/Config.hs
index 775d2f3..f6ad66b 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE BangPatterns #-}
module Config
( Config
, getConfigConfigFile
diff --git a/src/Config/CmdConfig.hs b/src/Config/CmdConfig.hs
index 54972b4..aeefe87 100644
--- a/src/Config/CmdConfig.hs
+++ b/src/Config/CmdConfig.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE BangPatterns #-}
module Config.CmdConfig
( parseCmdLine
, cmdConfigToInternalConfig
diff --git a/src/Config/FileConfig.hs b/src/Config/FileConfig.hs
index c75d02d..3bc8101 100644
--- a/src/Config/FileConfig.hs
+++ b/src/Config/FileConfig.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE BangPatterns #-}
module Config.FileConfig
( parseConfigFile
, writeInternalConfig
diff --git a/src/Config/InternalConfig.hs b/src/Config/InternalConfig.hs
index cad8168..741e4d8 100644
--- a/src/Config/InternalConfig.hs
+++ b/src/Config/InternalConfig.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE BangPatterns #-}
module Config.InternalConfig
( InternalConfig
, mkInternalConfig
diff --git a/src/Filter.hs b/src/Filter.hs
index 366342e..2f8df68 100644
--- a/src/Filter.hs
+++ b/src/Filter.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE BangPatterns #-}
module Filter
( FeedFilter (..)
, FeedInfo (..)
diff --git a/src/Types.hs b/src/Types.hs
index 6304821..d411c4d 100644
--- a/src/Types.hs
+++ b/src/Types.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE BangPatterns #-}
module Types
( Feed (..)
, Entry (..)