Functions have no state The type () is called unit – loosely corresponding to void in C like languages.