mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-10 20:00:27 +03:00
276 B
276 B
.> builtins.merge
loop : List Nat -> Nat -> List Nat
loop l = cases
0 -> l
n -> loop (n +: l) (drop n 1)
range : Nat -> List Nat
range = loop []
.> add
> range 2000
Should be cached:
> range 2000