Util

# Flags dependent on the compiler build

ghciSupported

debugIsOn

ncgDebugIsOn

ghciTablesNextToCode

isDynamicGhcLib

isWindowsHost

isWindowsTarget

isDarwinTarget

# General list processing

zipEqual

zipWithEqual

zipWith3Equal

zipWith4Equal

zipLazy

stretchZipWith

unzipWith

mapFst

mapSnd

mapAndUnzip

mapAndUnzip3

mapAccumL2

nOfThem

filterOut

partitionWith

splitEithers

foldl1'

foldl2

count

all2

lengthExceeds

lengthIs

lengthAtLeast

listLengthCmp

atLength

equalLength

compareLength

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

# 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

parseSearchPath

data Direction

reslash

# Utils for defining Data instances

abstractConstr

abstractDataType

mkNoRepType

# Utils for printing C code

charToC

# Hashing

hashString