rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/coq

13 lines
238 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
Require Import Coq.Lists.List.
Section with_T.
Context {T : Type}.
Fixpoint length (ls : list T) : nat :=
match ls with
| nil => 0
| _ :: ls => S (length ls)
end.
End with_T.
Definition a_string := "hello \" world".