tests_literate/expected/opaque_tuple.md
raw| 1 | Based on #1750. |
| 2 | |
| 3 | ```futhark |
| 4 | type vec2 = (i64, i64) |
| 5 | |
| 6 | def moving_point (x: i64, y: i64) : ([][]u32, vec2) = |
| 7 | let canvas = replicate 128 (replicate 128 0) with [y, x] = 255 |
| 8 | in (canvas, (x + 1, y+1)) |
| 9 | ``` |
| 10 | |
| 11 | ``` |
| 12 | > :video (moving_point, (10i64, 10i64), 50i64); |
| 13 | fps: 1 |
| 14 | format: gif |
| 15 | ``` |
| 16 | |
| 17 |  |