Zulip Chat Archive

Stream: general

Topic: New blog post on quasiquotation with binders (via hygiene)


David Thrane Christiansen (Mar 21 2024 at 13:58):

I just put up a post on the Lean blog, showing a fun trick that can be done with hygiene and scopes.

Kim Morrison (Mar 21 2024 at 21:51):

  • in the "Environment" section, it looks like you define def LocalEnv v := List (LName × v) and could use it in structure Env but then surprisingly don't?
  • when I wanted to tell you about this, I tried to find a way to link to the "Environment" section, but couldn't see a way.

David Thrane Christiansen (Mar 21 2024 at 23:32):

Thanks! I can't use them in Env because it makes the kernel reject the definition of Val later on :⁠-⁠(

David Thrane Christiansen (Mar 21 2024 at 23:32):

Permalinks to sections are on the way :⁠-⁠)

Asei Inoue (Mar 22 2024 at 03:47):

Here is a view from mobile (iphone15).
title is too big..?

IMG_0067.jpeg


Last updated: May 02 2025 at 03:31 UTC