Skip to content

Commit

Permalink
Merge pull request #2413 from mgritter/patch-2
Browse files Browse the repository at this point in the history
Correct argument order in `mapi_init` documentation
  • Loading branch information
aseemr authored Dec 24, 2021
2 parents 60b1c74 + cf4c02d commit ce383fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulib/FStar.List.Tot.Base.fst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ let rec map f x = match x with
| [] -> []
| a::tl -> f a::map f tl

(** [mapi_init f n l] applies, for each [k], [f (n+k)] to the [k]-th
(** [mapi_init f l n] applies, for each [k], [f (n+k)] to the [k]-th
element of [l] and returns the list of results, in the order of the
original elements in [l]. Requires, at type-checking time, [f] to be a
pure total function. *)
Expand Down

0 comments on commit ce383fd

Please sign in to comment.