mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
20 lines
232 B
Markdown
20 lines
232 B
Markdown
Tests that functions named `.` are rendered correctly.
|
|
|
|
```ucm:hide
|
|
scratch/main> builtins.merge
|
|
```
|
|
|
|
``` unison
|
|
(`.`) f g x = f (g x)
|
|
|
|
use Boolean not
|
|
|
|
noop = not `.` not
|
|
```
|
|
|
|
``` ucm
|
|
scratch/main> add
|
|
scratch/main> view noop
|
|
```
|
|
|