Distribution.Utils.Generic

# reading and writing files safely

withFileContents

writeFileAtomic

# Unicode

fromUTF8

fromUTF8BS

fromUTF8LBS

toUTF8

readUTF8File

withUTF8FileContents

writeUTF8File

normaliseLineEndings

# BOM

startsWithBOM

fileHasBOM

ignoreBOM

# generic utils

dropWhileEndLE

takeWhileEndLE

equating

comparing

isInfixOf

intercalate

lowercase

listUnion

listUnionRight

ordNub

ordNubBy

ordNubRight

safeTail

unintersperse

wrapText

wrapLine

# FilePath stuff

isAbsoluteOnAnyPlatform

isRelativeOnAnyPlatform