1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-14 02:34:17 +02:00

[lean/en] add space before colon (#5132)

This commit is contained in:
Martin Dvořák
2024-10-04 01:50:47 +02:00
committed by GitHub
parent fa0e3c632f
commit 90d544271e

View File

@@ -256,7 +256,7 @@ We now state Collatz conjecture. The proof is left as an exercise to the reader.
def collatz_next (n : Nat) : Nat :=
if n % 2 = 0 then n / 2 else 3 * n + 1
def iter (k : Nat) (f: Nat Nat) :=
def iter (k : Nat) (f : Nat Nat) :=
match k with
| Nat.zero => fun x => x
| Nat.succ k' => fun x => f (iter k' f x)