Public interface for the various prelude modules
for now
Print a value to the standard output writer.
This will come out UTF8 encoded.
Print a value to the standard output stream and append a platform typical new line character.
This will come out UTF8 encoded.
write a character to IO.stdout
write a String to standard output (Haskell compatibility)
write a String and a new line to standard output (Haskell compatibility)
read a character from the standard input reader
read a line from the standard input reader, end of line characters are removed.
The getContents operation returns all user input as a single string
The getContentsOf operation returns all input from the supplied Reader as a single string.
After completion, the Reader is closed.
The interact function takes a function of type String -> String as its argument. The entire input from the standard input device is passed to this function as its argument, and the resulting string is output on the standard output device.
The readFile function reads a file and returns the contents of the file as a string.
If the file doesn't exist, a FileNotFoundException will be thrown.
Writes the String given as second argument to the file whose name is given as the first argument.
After completion, the file will be closed.
Appends the String given as second argument to the file whose name is given as the first argument.
After completion, the file will be closed.
nowarn: performUnsafe
unsafe trace, returns always false and can thus be used like
fun x y | trace ("x is " ++ show x) = undefined | traceLn ("y is " ++ show y) = undefined | otherwise = ......
Note that this imposes strictness on the traced data.
nowarn: performUnsafe
same as trace but appends a line break
inherited from Enum.enumFrom
Function generated for derived instance.
Function generated for derived instance.
inherited from Enum.enumFromTo
Function generated for derived instance.
Function generated for derived instance.
Function generated for derived instance.
Function generated for derived instance.
inherited from Eq.!=
Function generated for derived instance.
Function generated for derived instance.
inherited from Eq.!=
Function generated for derived instance.
Function generated for derived instance.
inherited from Eq.!=
Function generated for derived instance.
Function generated for derived instance.
inherited from Eq.!=
Function generated for derived instance.
Function generated for derived instance.
inherited from Ord.<
inherited from Ord.<=
Function generated for derived instance.
inherited from Ord.>
inherited from Ord.>=
inherited from Ord.compare
inherited from Ord.max
inherited from Ord.min
inherited from Ord.<
inherited from Ord.<=
Function generated for derived instance.
inherited from Ord.>
inherited from Ord.>=
inherited from Ord.compare
inherited from Ord.max
inherited from Ord.min
inherited from Ord.<
inherited from Ord.<=
Function generated for derived instance.
inherited from Ord.>
inherited from Ord.>=
inherited from Ord.compare
inherited from Ord.max
inherited from Ord.min
inherited from Ord.<
inherited from Ord.<=
Function generated for derived instance.
inherited from Ord.>
inherited from Ord.>=
inherited from Ord.compare
inherited from Ord.max
inherited from Ord.min
inherited from Ord.<
inherited from Ord.<=
Function generated for derived instance.
inherited from Ord.>
inherited from Ord.>=
inherited from Ord.compare
inherited from Ord.max
inherited from Ord.min
inherited from Show.display
inherited from Show.showChars
inherited from Show.showList
inherited from Show.showsPrec
inherited from Show.showsub
Eq_Ordering.!=, Eq_Ordering.==, Ord_Ordering.>=, Ord_Ordering.<, Ord_Ordering.<=, Ord_Ordering.>
Ord_Ordering.min, Ord_Ordering.compare, Ord_Ordering.max, Ord_Ordering.<=>
Show_Decimal.showsub, Show_Decimal.display, Show_Decimal.show