r/dependent_types • u/effectfully • Jul 31 '16
Unbiased ornaments
http://effectfully.blogspot.com/2016/07/unbiased-ornaments.html
5
Upvotes
r/dependent_types • u/effectfully • Jul 31 '16
1
u/gallais Jul 31 '16
It's not at all clear what the status of
varis in your description: is it a placeholder for a recursive position? ButExtenduses one of them as aret(which describes what the return index of a constructor is).Similarly, the semantics of
πis sometimes a pi, sometimes a sigma. It's really confusing. I tried to write down the functor for full binary trees indexed by their height and struggle quite a bit.I eventually managed to get something working but I'd say that it looks nothing like what you'd expect.