mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
This is for consistency with the `cmark` style. Now the blocks we still pretty-print ourselves will match the bulk of them that `cmark` produces.
13 lines
205 B
Markdown
13 lines
205 B
Markdown
``` ucm
|
|
scratch/main> display List.map
|
|
|
|
f a ->
|
|
let
|
|
use Nat +
|
|
go i as acc = match List.at i as with
|
|
None -> acc
|
|
Some a -> go (i + 1) as (acc :+ f a)
|
|
go 0 a []
|
|
|
|
```
|