Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simsym: Precisely type the result of symif
Previously, symif used a generic wrap call on its result, which works for obvious types, but falls back to SExpr in harder cases like tuinterpreted. Prior to small lists, we had limited use of symif, so this didn't cause problems, but small lists stress symif much more. Modify symif to wrap its result in the type of its consequent (or alternate, which must match).
- Loading branch information