Skip to content

Commit

Permalink
fix: arrows in foundational types
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jun 11, 2024
1 parent 36c8dc6 commit b61771a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DocGen4/Output/FoundationalTypes.lean
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ def foundationalTypes : BaseHtmlM Html := templateLiftExtends (baseHtml "Foundat
<p>Lean also permits ASCII-only spellings of the three variants:</p>
<ul>
<li><code>forall a : A, B a</code> for <code>{"∀ a : α, β a"}</code></li>
<li><code>(a : A) -&gt; B a</code>, for <code>(a : α) → β a</code></li>
<li><code>A -&gt; B</code>, for <code>α → β</code></li>
<li><code>{"(a : A) -> B a"}</code>, for <code>(a : α) → β a</code></li>
<li><code>{"A -> B"}</code>, for <code>α → β</code></li>
</ul>
<p>Note that despite not itself being a function, <code>(→)</code> is available as infix notation for
<code>{"fun α β, α → β"}</code>.</p>
-- TODO: instances for pi types
<code>{"fun α β, α → β"}</code>.</p>
-- TODO: instances for pi types
</main>

end DocGen4.Output

0 comments on commit b61771a

Please sign in to comment.