Exercise 3
The previous version was
N = a 'div' length xs where a = 10 xs = [1,2,3,4,5]
containing the following errors:
-
N
is not allowed as function name (since it is uppercase). - the proper way of turning a function infix is
`div`
instead of'div'
- the second item of the where-group has to be indented exactly like the first one