lean4-htt/tests/lean/run/new_proj_notation.lean
2017-03-09 18:41:19 -08:00

7 lines
92 B
Text

variable x : list nat
#check x^.map (+1)
#check x^.foldl (+) 0
#eval [1, 2, 3]^.map (+3)