Util

Flags dependent on the compiler build

ghciSupported

debugIsOn

ncgDebugIsOn

ghciTablesNextToCode

isWindowsHost

isDarwinHost

General list processing

zipEqual

zipWithEqual

zipWith3Equal

zipWith4Equal

zipLazy

stretchZipWith

zipWithAndUnzip

filterByList

unzipWith

mapFst

mapSnd

chkAppend

mapAndUnzip

mapAndUnzip3

mapAccumL2

nOfThem

filterOut

partitionWith

splitEithers

dropWhileEndLE

foldl1'

foldl2

count

all2

lengthExceeds

lengthIs

lengthAtLeast

listLengthCmp

atLength

equalLength

compareLength

leLength

isSingleton

only

singleton

notNull

snocView

isIn

isn'tIn

Tuples

fstOf3

sndOf3

thirdOf3

firstM

first3M

third3

uncurry3

List operations controlled by another list

takeList

dropList

splitAtList

split

dropTail

For loop

nTimes

Sorting

sortWith

minWith

nubSort

Comparisons

isEqual

eqListBy

eqMaybeBy

thenCmp

cmpList

removeSpaces

(<&&>)

(<||>)

Edit distance

fuzzyMatch

fuzzyLookup

Transitive closures

transitiveClosure

Strictness

seqList

Module names

looksLikeModuleName

Argument processing

getCmd

toCmdArgs

toArgs

Floating point

readRational

read helpers

maybeRead

maybeReadFuzzy

IO-ish utilities

doesDirNameExist

getModificationUTCTime

modificationTimeIfExists

global

consIORef

globalM

Filenames and paths

type Suffix

splitLongestPrefix

escapeSpaces

data Direction

reslash

makeRelativeTo

Utils for defining Data instances

abstractConstr

abstractDataType

mkNoRepType

Utils for printing C code

charToC

Hashing

hashString