(inner: KUniv<M>)
| 134 | } |
| 135 | |
| 136 | /// Peel the outermost constant offset: returns `(base, n)` where |
| 137 | /// `self = Succ^n(base)` and `base` is not `Succ`. |
| 138 | pub fn offset(&self) -> (&KUniv<M>, u64) { |
| 139 | let mut u = self; |
| 140 | let mut n = 0u64; |
| 141 | loop { |
| 142 | match u.data() { |
| 143 | UnivData::Succ(inner, _) => { |
| 144 | u = inner; |