And got the following error
<interactive>:1:6:
No instance for (Num (a0 -> a0))
arising from the literal `10'
Possible fix: add an instance declaration for (Num (a0 -> a0))
In the second argument of `(-)', namely `10'
In the expression: abs - 10
In an equation for `it': it = abs - 10