X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=blobdiff_plain;f=src%2FHaskProofToLatex.v;h=323c1d66c4bbcae0019dcd12815fab98ae2d5bd2;hp=dedc152bac9bb7df13ba80bbd9514770cbefa61f;hb=cd81fca459c551077b485b1c1b297b3be1c43f3a;hpb=c90b598203ef23bf8d44d6b5b4a5a4b5901039cf diff --git a/src/HaskProofToLatex.v b/src/HaskProofToLatex.v index dedc152..323c1d6 100644 --- a/src/HaskProofToLatex.v +++ b/src/HaskProofToLatex.v @@ -190,11 +190,10 @@ Fixpoint nd_ruleToRawLatexMath {h}{c}(r:Rule h c) : string := | RAbsCo _ _ _ _ _ _ _ _ => "AbsCo" | RApp _ _ _ _ _ _ _ => "App" | RLet _ _ _ _ _ _ _ => "Let" - | RCut _ _ _ _ _ _ _ => "Cut" + | RCut _ _ _ _ _ _ _ _ => "Cut" | RLeft _ _ _ _ _ _ => "Left" | RRight _ _ _ _ _ _ => "Right" | RWhere _ _ _ _ _ _ _ _ => "Where" - | RJoin _ _ _ _ _ _ _ => "RJoin" | RLetRec _ _ _ _ _ _ => "LetRec" | RCase _ _ _ _ _ _ _ _ => "Case" | RBrak _ _ _ _ _ _ => "Brak" @@ -223,7 +222,8 @@ Fixpoint nd_hideRule {h}{c}(r:Rule h c) : bool := match r with | RArrange _ _ _ _ _ _ r => nd_hideURule r | RVoid _ _ _ => true - | RJoin _ _ _ _ _ _ _ => true + | RLeft _ _ _ _ _ _ => true + | RRight _ _ _ _ _ _ => true | _ => false end.