unison/unison-src/transcripts/fix3171.md

15 lines
264 B
Markdown
Raw Permalink Normal View History

2022-08-31 23:34:19 +03:00
```ucm:hide
scratch/main> builtins.merge
2022-08-31 23:34:19 +03:00
```
Tests an case where decompiling could cause function arguments to occur in the
opposite order for partially applied functions.
```unison
f : Nat -> Nat -> Nat -> () -> Nat
f x y z _ = x + y * z
> f 1 2
> f 1 2 3
```