Praglude

The Original Prelude

Monoids

concat

append

empty

Maybe

Applicative

(<|>)

Monads

Arrows

Mutable Variables In IO

Default

Lens

State monads

Painless String Types

s

class ToString a

class FromString a

class IsString a

type Text

type LText

type ByteString

type LByteString

Generalized String Operations

trim

ltrim

rtrim

words

lines

String Case Conversions

kebab

snake

pascal

I/O

stderr

stdout

stdin

data Handle

Environment

Generalized I/O

class StringIO a

Printf

Filename And File System Manipulation

Type Forcers

asString

asText

asLText

asByteString

asLByteString

asHashMap

Container Types With Unified Interfaces

data AList k v

type HashMap

data LHashMap k v

type HashSet

data Map k a

data Set a

data Vector a

class Hashable a

class Lookup m k

class ListLike m a

class DictLike m k

class SetLike m v

class Filterable m

cull

startsWith

endsWith

intercalate

JSON

class ToJSON a

class FromJSON a

data Value

object

prettyJsonOptions

derivePrettyJSON

deriveJSON

encodeJSON

decodeJSON

encodeJSONStrict

decodeJSONStrict

(~>)

Base-64

encodeBase64

decodeBase64

Concurrency And Exception Handling

threadDelay

forkIO

bracket

bracket_

throw

catch

catches

Generics

class Generic a

Functions

chain

Date and Time

data Day

data TimeOfDay

data UTCTime

data LocalTime

data TimeZone

data ZonedTime

data TimeLocale

data DiffTime

data NominalDiffTime

secondsToDiffTime

picosecondsToDiffTime

addUTCTime

diffUTCTime

getCurrentTime

defaultTimeLocale

toGregorian

fromGregorian

formatTime