raiseExpectedFn :: MonadError CoreErr m => Expr -> m a
raiseExpectedFn = throwError . ExpectedTypeExpr FunctionSp
raiseExpectedFn :: MonadError CoreErr m => Expr -> m a
raiseExpectedFn = throwError . ExpectedTypeExpr FunctionSp
raiseExpectedFn = throwError . ExpectedTypeExpr FunctionSp