unison/unison-src/transcripts/lsp-fold-ranges.md

34 lines
378 B
Markdown
Raw Permalink Normal View History

2024-02-01 05:05:13 +03:00
```ucm:hide
scratch/main> builtins.mergeio
2024-02-01 05:05:13 +03:00
```
```unison:hide
{{ Type doc }}
structural type Optional a =
None
| Some a
{{
Multi line
Term doc
}}
List.map :
(a -> b)
-> [a]
-> [b]
List.map f = cases
(x +: xs) -> f x +: List.map f xs
[] -> []
test> z = let
x = "hello"
y = "world"
[Ok (x ++ y)]
```
```ucm
scratch/main> debug.lsp.fold-ranges
2024-02-01 05:05:13 +03:00
```