[commit: packages/hpc] master: Fix some typos (d6ac0c5)
git at git.haskell.org
git at git.haskell.org
Sun Mar 23 19:27:23 UTC 2014
Repository : ssh://git@git.haskell.org/hpc
On branch : master
Link : http://git.haskell.org/packages/hpc.git/commitdiff/d6ac0c532f12d30af778eeb285da9031bb06fddb
>---------------------------------------------------------------
commit d6ac0c532f12d30af778eeb285da9031bb06fddb
Author: Gabor Greif <ggreif at gmail.com>
Date: Sun Mar 23 20:19:52 2014 +0100
Fix some typos
>---------------------------------------------------------------
d6ac0c532f12d30af778eeb285da9031bb06fddb
Trace/Hpc/Mix.hs | 2 +-
Trace/Hpc/Tix.hs | 2 +-
Trace/Hpc/Util.hs | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Trace/Hpc/Mix.hs b/Trace/Hpc/Mix.hs
index e5396b2..5be919d 100644
--- a/Trace/Hpc/Mix.hs
+++ b/Trace/Hpc/Mix.hs
@@ -35,7 +35,7 @@ import Trace.Hpc.Tix
-- | 'Mix' is the information about a modules static properties, like
-- location of Tix's in a file.
--
--- Tab stops are the size of a tab in the provided /line:colunm/ values.
+-- Tab stops are the size of a tab in the provided /line:column/ values.
--
-- * In GHC, this is 1 (a tab is just a character)
-- * With @hpc-tracer@, this is 8 (a tab represents several spaces).
diff --git a/Trace/Hpc/Tix.hs b/Trace/Hpc/Tix.hs
index 512c6c5..2b03e0a 100644
--- a/Trace/Hpc/Tix.hs
+++ b/Trace/Hpc/Tix.hs
@@ -15,7 +15,7 @@ module Trace.Hpc.Tix(Tix(..), TixModule(..),
import Data.List (isSuffixOf)
import Trace.Hpc.Util (Hash, catchIO)
--- | 'Tix' is the storage format for our dynamic imformation about
+-- | 'Tix' is the storage format for our dynamic information about
-- what boxes are ticked.
data Tix = Tix [TixModule]
deriving (Read, Show, Eq)
diff --git a/Trace/Hpc/Util.hs b/Trace/Hpc/Util.hs
index 6846b2f..7aa1fba 100644
--- a/Trace/Hpc/Util.hs
+++ b/Trace/Hpc/Util.hs
@@ -27,11 +27,11 @@ import Data.Word
-- | 'HpcPos' is an Hpc local rendition of a Span.
data HpcPos = P !Int !Int !Int !Int deriving (Eq, Ord)
--- | 'fromHpcPos' explodes the HpcPos into /line:column/-/line:colunm/
+-- | 'fromHpcPos' explodes the HpcPos into /line:column/-/line:column/
fromHpcPos :: HpcPos -> (Int,Int,Int,Int)
fromHpcPos (P l1 c1 l2 c2) = (l1,c1,l2,c2)
--- | 'toHpcPos' implodes to HpcPos, from /line:column/-/line:colunm/
+-- | 'toHpcPos' implodes to HpcPos, from /line:column/-/line:column/
toHpcPos :: (Int,Int,Int,Int) -> HpcPos
toHpcPos (l1,c1,l2,c2) = P l1 c1 l2 c2
More information about the ghc-commits
mailing list