diff src/Interps.v @ 302:7b38729be069

Tweak mark-up to support coqdoc 8.3
author Adam Chlipala <adam@chlipala.net>
date Mon, 17 Jan 2011 15:12:30 -0500
parents b441010125d4
children d5787b70cf48
line wrap: on
line diff
--- a/src/Interps.v	Mon Jan 17 11:42:09 2011 -0500
+++ b/src/Interps.v	Mon Jan 17 15:12:30 2011 -0500
@@ -116,43 +116,50 @@
   (** %\vspace{-.15in}% [[
      = 0
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote one.
   (** %\vspace{-.15in}% [[
      = 1
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote zpo.
   (** %\vspace{-.15in}% [[
      = 1
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote ident.
   (** %\vspace{-.15in}% [[
      = fun x : nat => x
      : typeDenote (Nat --> Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote app_ident.
   (** %\vspace{-.15in}% [[
      = 1
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote app.
   (** %\vspace{-.15in}% [[
      = fun (x : nat -> nat) (x0 : nat) => x x0
      : typeDenote ((Nat --> Nat) --> Nat --> Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote app_ident'.
   (** %\vspace{-.15in}% [[
      = 1
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
 
   (* EX: Define a constant-folding function for [Exp]s. *)
@@ -347,19 +354,22 @@
   (** %\vspace{-.15in}% [[
      = fun x : nat * nat => (let (_, y) := x in y, let (x0, _) := x in x0)
      : typeDenote (Nat ** Nat --> Nat ** Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote zo.
   (** %\vspace{-.15in}% [[
      = (0, 1)
      : typeDenote (Nat ** Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote swap_zo.
   (** %\vspace{-.15in}% [[
      = (1, 0)
      : typeDenote (Nat ** Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval cbv beta iota delta -[plus] in ExpDenote natOut.
   (** %\vspace{-.15in}% [[
@@ -368,31 +378,36 @@
                             | inr v => v + v
                             end
      : typeDenote (Nat ++ Nat --> Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote ns1.
   (** %\vspace{-.15in}% [[
      = inl nat 3
      : typeDenote (Nat ++ Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote ns2.
   (** %\vspace{-.15in}% [[
      = inr nat 5
      : typeDenote (Nat ++ Nat)
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote natOut_ns1.
   (** %\vspace{-.15in}% [[
      = 3
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   Eval compute in ExpDenote natOut_ns2.
   (** %\vspace{-.15in}% [[
      = 10
      : typeDenote Nat
-     ]] *)
+     ]]
+     *)
 
   (** We adapt the [cfold] function using the same basic dependent-types trick that we applied in an earlier chapter to a very similar function for a language without variables. *)