RedPRL / cooltt

😎TT
http://www.redprl.org/
Apache License 2.0
217 stars 16 forks source link

🪜 Refactor HLevel code using records #391

Closed mmcqd closed 2 years ago

mmcqd commented 2 years ago

Now we don't need to have separate is-X and hX definitions, and our functions can take fewer arguments. I removed the unfold has-hlevel over all the property definitions because I found it helpful to keep it folded while interactively developing the eliminator branches. It's nice to see your goal in terms of has-hlevel before it gets unfolded.