unison/unison-src/transcripts/fix2693.md

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