tests_literate/expected/basic.md
raw| 1 | Let us see if this works. |
| 2 | |
| 3 | ```futhark |
| 4 | let main x = x + 2 |
| 5 | ``` |
| 6 | |
| 7 | ``` |
| 8 | > main 2 |
| 9 | ``` |
| 10 | |
| 11 | ``` |
| 12 | 4i32 |
| 13 | ``` |
| 14 | |
| 15 | |
| 16 | ``` |
| 17 | > main 2f32 |
| 18 | ``` |
| 19 | |
| 20 | **FAILED** |
| 21 | ``` |
| 22 | Function "main" expects 1 argument(s) of types: |
| 23 | i32 |
| 24 | But applied to 1 argument(s) of types: |
| 25 | f32 |
| 26 | ``` |
| 27 | |
| 28 | |
| 29 | The lack of a final newline here is intentional |
| 30 | |
| 31 | ```futhark |
| 32 | let x = true |
| 33 | ``` |