(occ)
| 119 | // An occurrence with no upper bound (`*` / `+`). The parser emits Infinity; the AST's |
| 120 | // JSON round-trip renders that as null, so treat both as unbounded. |
| 121 | const isUnbounded = (occ) => !!occ && (occ.m === null || occ.m === Infinity) |
| 122 | |
| 123 | // A `null` keyword or a `nil` prelude ref in a union means the value may be null. |
| 124 | const isNullAlt = (e) => |