Wordlint-0.2.1.0: Plaintext prose redundancy linter.

Safe HaskellSafe
LanguageHaskell2010

Text.Wordlint.Words

Documentation

data Word a Source

Constructors

Word 

Fields

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

Instances

type Words a = [Word a] Source

class NumOps a where Source

Methods

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

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