A mutable reference in the IO monad.
Purely functional mutable state threads.
Mutable array in state thread S containing values of type A.
Mutable variable in state thread S containing a value of type A.
Accumulates an integer-associated list into an immutable array.
Repeatedly apply the given action, enumerating the results.
Allows the result of a state transformer computation to be used lazily inside the computation.
Get the next character from standard input
Enumerate the lines on standard input as Strings
Enumerate the lines from a BufferedReader
Perform the given side-effect in an IO action
Allocates a fresh mutable array.
Allocates a fresh mutable reference.
Write a character to standard output
Print the given object to standard output
Write a String to standard output
Write a String to standard output, followed by a newline
Read a line from a buffered reader
Read the next line from standard input
Put a value in a state thread
Run a state thread
Equality for STRefs is reference equality
Throw the given error in the IO monad.
Write a string to a PrintWriter
Write a String to a PrintWriter, followed by a newline