(* -*- coq-prog-args: ("-emacs-U" "-R" "." "Prelude") -*- *) (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* (S n, S n). Definition current : counter nat := fun n : nat => (n, n). Definition counter_monad := state nat.