Signal -> IO ()
raiseSignal int calls kill to signal the current process with interrupt signal int.
signalProcess int pid calls kill to signal process pid with interrupt signal int.
signalProcessGroup int pgid calls kill to signal all processes in group pgid with interrupt signal int.
The print function outputs a value of any printable type to the standard output device. Printable types are those that are instances of class Show; print converts values to strings for output using the show operation and adds a newline.
For example, a program to print the first 20 integers and their powers of 2 could be written as:
> main = print ([(n, 2^n) | n <- [0..19]])
Computation hPrint hdl t writes the string representation of t given by the shows function to the file or channel managed by hdl and appends a newline.
This operation may fail with:
* System.IO.Error.isFullError if the device is full; or
* System.IO.Error.isPermissionError if another system resource limit would be exceeded.
A variant of $= which is strict in the value to be set.
Write a value into the SampleVar, overwriting any previous value that was there.
Show more results