Conversation
|
Given that lots of external codebases use this library, I think we should endeavor to provide deprecated aliases for all the names that point at the Lean versions, to make adaptation less painful. |
I did this at first, but this mostly results in name resolution failures downstream. For example with UPDATE: I think I have found the optimal thing to do using a combination of |
59f09aa to
464f1ae
Compare
40a4148 to
c07983f
Compare
|
Moved to leanprover/downstream-lean4#25. |
This PR adds a type `Lean.Data.Html` of HTML forests — aimed primarily at authoring HTML (as opposed to internal representation in a web server, etc) — as well as a renderer that produces a `String` object. Rendering directly into `FS.Stream` is out of scope for this PR. Downstream *adoption* (not merely adaptation to make CI pass) PRs that use the new type and renderer: - leanprover/verso#974 - leanprover/doc-gen4#408
This PR switches Verso to use the upcoming core Lean HTML type rather than defining one.
JSX-like syntax and utilites are not changed here.