Skip to content

Commit

Permalink
Deploying to gh-pages from @ 048b6bb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen committed Mar 1, 2024
1 parent 7116efa commit 7b3f114
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dependent_type_theory.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ <h2><a class="header" href="#function-abstraction-and-evaluation" id="function-a
from an expression as follows:</p>
<pre><code class="language-lean">#check fun (x : Nat) =&gt; x + 5 -- Nat → Nat
#check λ (x : Nat) =&gt; x + 5 -- λ and fun mean the same thing
#check fun x : Nat =&gt; x + 5 -- Nat inferred
#check λ x : Nat =&gt; x + 5 -- Nat inferred
#check fun x =&gt; x + 5 -- Nat inferred
#check λ x =&gt; x + 5 -- Nat inferred
</code></pre>
<p>You can evaluate a lambda function by passing the required parameters:</p>
<pre><code class="language-lean">#eval (λ x : Nat =&gt; x + 5) 10 -- 15
Expand Down
4 changes: 2 additions & 2 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ <h2><a class="header" href="#function-abstraction-and-evaluation" id="function-a
from an expression as follows:</p>
<pre><code class="language-lean">#check fun (x : Nat) =&gt; x + 5 -- Nat → Nat
#check λ (x : Nat) =&gt; x + 5 -- λ and fun mean the same thing
#check fun x : Nat =&gt; x + 5 -- Nat inferred
#check λ x : Nat =&gt; x + 5 -- Nat inferred
#check fun x =&gt; x + 5 -- Nat inferred
#check λ x =&gt; x + 5 -- Nat inferred
</code></pre>
<p>You can evaluate a lambda function by passing the required parameters:</p>
<pre><code class="language-lean">#eval (λ x : Nat =&gt; x + 5) 10 -- 15
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 7b3f114

Please sign in to comment.