list in Haskell

List in Haskell is the most used data structure and it can be used in a multitude of different ways to model and solve a whole bunch of problems. 
Lists are denoted by square brackets and the values in the lists are separated by commas. 
```
Prelude> [1, 2]
[1,2]
Prelude> [1, 'a']

<interactive>:12:2: error:
    • No instance for (Num Char) arising from the literal ‘1’
    • In the expression: 1
      In the expression: [1, 'a']
      In an equation for ‘it’: it = [1, 'a']
Prelude> 

```
Note: [], [[]] and[[],[],[]] are all different things. The first one is an empty list, the seconds one is a list that contains one empty list, the third one is a list that contains three empty lists.