Safe HaskellSafe

NL

Description

A program adding line numbers to its input.

Synopsis

Documentation

numberLines :: String -> String Source #

Number the lines in a given String.

main :: IO () Source #

Apply the pure function numberLines to transform standard input of the program into its standard output.