owo-lang / minitt-rs

Dependently-typed lambda calculus, Mini-TT, extended and implemented in Rust
Apache License 2.0
113 stars 3 forks source link

[ #13 ] Level for Sigma/Pi/Sum #19

Closed oraluben closed 5 years ago

oraluben commented 5 years ago

So far WIP, merge to fix CI error

ice1000 commented 5 years ago

I still feel like there's some problem with this implementation, but caching the Level information into Expression and Value does not sound like a problem to me.

ice1000 commented 5 years ago

I don't see any reason to have MaybeLevel instead of using Option<Level>. I'm replacing it with Option<Level>. Tell me if there's special reason.

ice1000 commented 5 years ago

Here's a (sub)list of problems I've encountered during refactoring this code: