Type error: error: IfBranchMustBeTerm --> :1:1 | 1 | if True then Type else Type | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ IfBranchMustBeTerm |