Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/Tutorial/Dependent.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,15 @@ drop' 0 xs = xs
drop' (S k) (_ :: xs) = drop' k xs
```

Note that changing the order from `(m + n)` to `(n + m)`
in the second parameter will cause an error at the second `xs`:

```repl
While processing right hand side of drop'. Can't solve constraint between: plus n 0 and n.
```

You will learn why in the next section.

### Limitations

After all the examples and exercises in this section
Expand Down