1 2 3 4 5
rebindable12.hs:10:5: Couldn't match expected type ‘()’ with actual type ‘() -> ()’ In the expression: if 'a' then () else () In an equation for ‘y’: y = if 'a' then () else ()