Craft3e-0.2.0.1: Code for Haskell: the Craft of Functional Programming, 3rd ed.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Index

Synopsis

Documentation

type Doc = String Source #

^^^^^^^^^^^^^^^^^^^^^^^^^

makeIndex :: Doc -> [([Int], Word)] Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

numLines :: [Line] -> [(Int, Line)] Source #

numWords :: (Int, Line) -> [(Int, Word)] Source #

allNumWords :: [(Int, Line)] -> [(Int, Word)] Source #

sortLs :: [(Int, Word)] -> [(Int, Word)] Source #

makeLists :: [(Int, Word)] -> [([Int], Word)] Source #

amalgamate :: [([Int], Word)] -> [([Int], Word)] Source #

shorten :: [([Int], Word)] -> [([Int], Word)] Source #