mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
378 B
378 B
scratch/main> builtins.mergeio
{{ 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)]
scratch/main> debug.lsp.fold-ranges