Skip to content

Commit

Permalink
fix some links in the tour
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Jan 13, 2025
1 parent 3688864 commit 7c4501f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/text/tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ If you like, you can put values on the stack first, then operate on them.
×++ 1 2 3 4
```

[Dup](/docs/dup) duplicates the top value on the stack.
[duplicate](/docs/dup) duplicates the top value on the stack.

```uiua
×.3
```

[Dup](/docs/dup) is often used in the examples on this site to show both the input and output of a function.
[duplicate](/docs/dup) is often used in the examples on this site to show both the input and output of a function.

```uiua
√.225
```

For math functions where the order matters, like [sub](/docs/sub) and [div](/docs/div), what would normally be the second argument is instead the first. This is so you can think of fragments like `¯2` as a single unit.
For math functions where the order matters, like [subtract](/docs/sub) and [divide](/docs/div), what would normally be the second argument is instead the first. This is so you can think of fragments like `¯2` as a single unit.

If you want them to work the other way, you can use [flip](/docs/flip), which swaps the top two values on the stack.

Expand Down

0 comments on commit 7c4501f

Please sign in to comment.