X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2FHaskProofToLatex.v;h=1471e51ef99216243ce2f9994e83e0c428833370;hb=32436fdf380f7f2efc7a70896268509e7b3e0d6f;hp=be5cb31ca9c01f493914365bfdac970fadf459bf;hpb=3d56944e3882ec751fa99b4476a013c4d86fd0f8;p=coq-hetmet.git diff --git a/src/HaskProofToLatex.v b/src/HaskProofToLatex.v index be5cb31..1471e51 100644 --- a/src/HaskProofToLatex.v +++ b/src/HaskProofToLatex.v @@ -26,9 +26,9 @@ Section ToLatex. Fixpoint kind2latex (k:Kind) : string := match k with - | KindStar => "\star" - | KindArrow KindStar k2 => "\star\Rightarrow "+++kind2latex k2 - | KindArrow k1 k2 => "("+++kind2latex k1+++")\Rightarrow "+++kind2latex k2 + | ★ => "\star" + | ★ ⇛ k2 => "\star\Rightarrow "+++kind2latex k2 + | k1 ⇛ k2 => "("+++kind2latex k1+++")\Rightarrow "+++kind2latex k2 | KindUnliftedType => "\text{\tt{\#}}" | KindUnboxedTuple => "\text{\tt{(\#)}}" | KindArgType => "\text{\tt{??}}" @@ -171,9 +171,10 @@ Section ToLatex. Fixpoint nd_rule2latex {h}{c}(r:Rule h c) : string := match r with | RURule _ _ _ _ r => nd_urule2latex r - | RNote _ _ _ => "Note" + | RNote _ _ _ _ _ _ => "Note" | RLit _ _ _ _ => "Lit" | RVar _ _ _ _ => "Var" + | RGlobal _ _ _ _ _ => "Global" | RLam _ _ _ _ _ _ => "Abs" | RCast _ _ _ _ _ _ _ => "Cast" | RAbsT _ _ _ _ _ _ => "AbsT" @@ -183,7 +184,7 @@ Section ToLatex. | RApp _ _ _ _ _ _ _ => "App" | RLet _ _ _ _ _ _ _ => "Let" | RBindingGroup _ _ _ _ _ _ => "RBindingGroup" - | RLetRec _ _ _ _ _ => "LetRec" + | RLetRec _ _ _ _ _ _ => "LetRec" | RCase _ _ _ _ _ _ _ _ => "Case" | RBrak _ _ _ _ _ _ => "Brak" | REsc _ _ _ _ _ _ => "Esc"