Commit 54252fbc authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Fix comment. Thanks @mpu.

parent 3652e6e8
Pipeline #45485 passed with stage
in 8 minutes and 47 seconds
......@@ -221,7 +221,7 @@ Definition mapM `{MBind M, MRet M} {A B} (f : A → M B) : list A → M (list B)
fix go l :=
match l with [] => mret [] | x :: l => y ← f x; k ← go l; mret (y :: k) end.
(** We define stronger variants of map and fold that allow the mapped
(** We define stronger variants of the map function that allow the mapped
function to use the index of the elements. *)
Fixpoint imap {A B} (f : nat → A → B) (l : list A) : list B :=
match l with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment