Merge pull request #215 from hapytex/hlint/remove-unused-pragmas
Remove unused LANGUAGE pragmas
commit62f5ea36e8cc4bd3bd93ebca81128db368a15f41
authorJonathan Daugherty <cygnus@foobox.com>
dateThu 18 Feb 2021, 07:30 (6 years ago)
parentb211458b918293
src/Data/Terminfo/Parse.hs−1
@@ -2,7 +2,6 @@
22{-# LANGUAGE CPP #-}
33{-# OPTIONS_HADDOCK hide #-}
44{-# LANGUAGE NoMonomorphismRestriction #-}
5−{-# LANGUAGE NamedFieldPuns #-}
65{-# OPTIONS_GHC -funbox-strict-fields -O #-}
76
87module Data.Terminfo.Parse
src/Graphics/Vty/Image.hs−1
@@ -1,5 +1,4 @@
11-- Copyright 2009-2010 Corey O'Connor
2−{-# LANGUAGE BangPatterns #-}
32{-# LANGUAGE NamedFieldPuns #-}
43{-# LANGUAGE DisambiguateRecordFields #-}
54-- | A Vty program makes 'Picture's from 'Image's. This module provides
src/Graphics/Vty/Inline.hs−2
@@ -1,5 +1,3 @@
1−{-# LANGUAGE BangPatterns #-}
2−
31-- | The inline module provides a limited interface to changing the
42-- style of terminal output. The intention is for this interface to be
53-- used inline with other output systems.
src/Graphics/Vty/Output.hs+1−1
@@ -1,4 +1,4 @@
1−{-# LANGUAGE RecordWildCards, NamedFieldPuns, CPP #-}
1+{-# LANGUAGE RecordWildCards, CPP #-}
22-- | This module provides functions for accessing the current terminal
33-- or a specific terminal device.
44--
src/Graphics/Vty/Output/Interface.hs−1
@@ -1,5 +1,4 @@
11-- Copyright Corey O'Connor
2−{-# LANGUAGE BangPatterns #-}
32{-# LANGUAGE RankNTypes #-}
43{-# LANGUAGE ExistentialQuantification #-}
54{-# LANGUAGE GADTs #-}
src/Graphics/Vty/Output/TerminfoBased.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE RecordWildCards #-}
21{-# LANGUAGE FlexibleInstances #-}
32{-# LANGUAGE OverloadedStrings #-}
43{-# LANGUAGE CPP #-}
src/Graphics/Vty/Picture.hs−1
@@ -1,4 +1,3 @@
1−{-# LANGUAGE BangPatterns #-}
21-- A 'Picture' is a background paired with a set of 'Image' layers. The
32-- 'Picture' data structure is representative of the final terminal
43-- view.
src/Graphics/Vty/Span.hs−2
@@ -1,6 +1,4 @@
11-- Copyright Corey O'Connor
2−{-# LANGUAGE BangPatterns #-}
3−{-# LANGUAGE NamedFieldPuns #-}
42{-# LANGUAGE GADTs #-}
53-- | A picture is translated into a sequences of state changes and
64-- character spans. The attribute is applied to all following spans,