Wordlint-0.2.0.4: Plaintext prose redundancy linter.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Wordlint.Words

Documentation

data Word a Source

Constructors

Word 

Fields

lemma :: String
 
position :: a
 
line :: Int
 
column :: Int
 

Instances

Eq (Word a) 
Ord (Word a) 

type Words a = [Word a] Source

class NumOps a where Source

Methods

createPos :: String -> String -> [(String, a)] Source

Instances

setWordCols :: [String] -> [[(Char, Int)]] -> [(String, Int)] Source

filtWordCols :: [String] -> [(Char, Int)] -> [(String, Int)] Source

checkWordDistance :: (Num a, NumOps a) => Word a -> Word a -> a Source