Characters
Explore the character data type in Haskell.
We'll cover the following...
We'll cover the following...
In this lesson we will take a look at another basic Haskell type: characters. Again, you can follow along with ghci from this terminal window:
The Char type
The type Char represents single characters, such as letters or digits. Values of type Char are written in single quotes (e.g. 'a' ...