diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-04-06 16:02:57 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-04-06 17:10:46 +0100 |
commit | 5df7cf32efd7d2200e3fd4f77825087095e1052f (patch) | |
tree | c51915db83a1ea4910bdbc35c42e9b7fb558c331 /compiler/utils | |
parent | 872f2c8b652d0b76f67ca28516d63e85e91dff83 (diff) | |
download | haskell-5df7cf32efd7d2200e3fd4f77825087095e1052f.tar.gz |
Detab modules with tabs on 5 lines or fewer
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/FastMutInt.lhs | 16 | ||||
-rw-r--r-- | compiler/utils/Maybes.lhs | 11 | ||||
-rw-r--r-- | compiler/utils/OrdList.lhs | 9 | ||||
-rw-r--r-- | compiler/utils/UniqSet.lhs | 11 |
4 files changed, 9 insertions, 38 deletions
diff --git a/compiler/utils/FastMutInt.lhs b/compiler/utils/FastMutInt.lhs index d29bb9136c..7156cdc9fb 100644 --- a/compiler/utils/FastMutInt.lhs +++ b/compiler/utils/FastMutInt.lhs @@ -1,28 +1,20 @@ \begin{code} -{-# OPTIONS -fno-warn-tabs #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and --- detab the module (please do the detabbing in a separate patch). See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces --- for details - {-# LANGUAGE BangPatterns #-} {-# OPTIONS -cpp #-} {-# OPTIONS_GHC -O #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected - -- -- (c) The University of Glasgow 2002-2006 -- -- Unboxed mutable Ints module FastMutInt( - FastMutInt, newFastMutInt, - readFastMutInt, writeFastMutInt, + FastMutInt, newFastMutInt, + readFastMutInt, writeFastMutInt, - FastMutPtr, newFastMutPtr, - readFastMutPtr, writeFastMutPtr + FastMutPtr, newFastMutPtr, + readFastMutPtr, writeFastMutPtr ) where #ifdef __GLASGOW_HASKELL__ diff --git a/compiler/utils/Maybes.lhs b/compiler/utils/Maybes.lhs index 210a7b9f02..8a612fbb60 100644 --- a/compiler/utils/Maybes.lhs +++ b/compiler/utils/Maybes.lhs @@ -4,13 +4,6 @@ % \begin{code} -{-# OPTIONS -fno-warn-tabs #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and --- detab the module (please do the detabbing in a separate patch). See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces --- for details - module Maybes ( module Data.Maybe, @@ -85,9 +78,9 @@ Nothing `orElse` y = y \end{code} %************************************************************************ -%* * +%* * \subsection[MaybeT type]{The @MaybeT@ monad transformer} -%* * +%* * %************************************************************************ \begin{code} diff --git a/compiler/utils/OrdList.lhs b/compiler/utils/OrdList.lhs index 7e3b24a5da..d1d8708dd3 100644 --- a/compiler/utils/OrdList.lhs +++ b/compiler/utils/OrdList.lhs @@ -9,15 +9,8 @@ Provide trees (of instructions), so that lists of instructions can be appended in linear time. \begin{code} -{-# OPTIONS -fno-warn-tabs #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and --- detab the module (please do the detabbing in a separate patch). See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces --- for details - module OrdList ( - OrdList, + OrdList, nilOL, isNilOL, unitOL, appOL, consOL, snocOL, concatOL, mapOL, fromOL, toOL, foldrOL, foldlOL ) where diff --git a/compiler/utils/UniqSet.lhs b/compiler/utils/UniqSet.lhs index f8e7d9039f..ccbd25a4ce 100644 --- a/compiler/utils/UniqSet.lhs +++ b/compiler/utils/UniqSet.lhs @@ -9,13 +9,6 @@ Based on @UniqFMs@ (as you would expect). Basically, the things need to be in class @Uniquable@. \begin{code} -{-# OPTIONS -fno-warn-tabs #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and --- detab the module (please do the detabbing in a separate patch). See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces --- for details - module UniqSet ( -- * Unique set type UniqSet, -- type synonym for UniqFM a @@ -46,9 +39,9 @@ import Unique \end{code} %************************************************************************ -%* * +%* * \subsection{The signature of the module} -%* * +%* * %************************************************************************ \begin{code} |