Skip to content

Commit

Permalink
guide: uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Jun 2, 2024
1 parent 170fac8 commit 8ee421a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aya/guide/haskeller-tutorial.aya.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,20 +197,20 @@ variable A : Type
example def id (x : A) => x
```

<!-- Aya supports type aliases as functions. For example, we may define the type of binary
Aya supports type aliases as functions. For example, we may define the type of binary
operators as a function:

```aya
// def BinOp (A : Type) => A -> A -> A
def BinOp (A : Type) => A -> A -> A
```

Then, we can define `<+>` as:

```aya
// example def infixl <+> : BinOp Nat
// | 0, n => n
// | suc m, n => suc (m <+> n)
``` -->
example def infixl <+> : BinOp Nat
| 0, n => n
| suc m, n => suc (m <+> n)
```

## Type families

Expand Down

0 comments on commit 8ee421a

Please sign in to comment.