return to top
source
List.ofFn
ofFn f with f : fin n → α returns the list whose ith element is f i
ofFn f
f : fin n → α
f i
ofFn f = [f 0, f 1, ... , f (n - 1)]
ofFn on an empty domain is the empty list.
ofFn