Util

# Flags dependent on the compiler build

ghciSupported

debugIsOn

ncgDebugIsOn

ghciTablesNextToCode

isWindowsHost

isDarwinHost

# General list processing

zipEqual

zipWithEqual

zipWith3Equal

zipWith4Equal

zipLazy

stretchZipWith

zipWithAndUnzip

filterByList

partitionByList

unzipWith

mapFst

mapSnd

chkAppend

mapAndUnzip

mapAndUnzip3

mapAccumL2

nOfThem

filterOut

partitionWith

splitEithers

dropWhileEndLE

spanEnd

foldl1'

foldl2

count

all2

lengthExceeds

lengthIs

lengthAtLeast

listLengthCmp

atLength

equalLength

compareLength

leLength

isSingleton

only

singleton

notNull

snocView

isIn

isn'tIn

chunkList

# Tuples

fstOf3

sndOf3

thdOf3

firstM

first3M

fst3

snd3

third3

uncurry3

liftFst

liftSnd

# 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

looksLikePackageName

# Argument processing

getCmd

toCmdArgs

toArgs

# Floating point

readRational

# read helpers

maybeRead

maybeReadFuzzy

# IO-ish utilities

doesDirNameExist

getModificationUTCTime

modificationTimeIfExists

hSetTranslit

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