lean4-htt/tests/lean/funExpected.lean
2020-10-23 06:52:51 -07:00

4 lines
77 B
Text

#lang lean4
def f (xs : List Nat) : List Nat :=
xs.map (fun x => x + 1) [1]