Can someone explain to me why 6 / 3 works but 6 / length [1, 2, 3] errors out?
Here's the error in REPL
<interactive>:20:1: error:
• No instance for (Fractional Int) arising from a use of ‘/’
• In the expression: 6 / length [1, 2, 3]
In an equation for ‘it’: it = 6 / length [1, 2, 3]