Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DTS/DTTdeBruijn.hs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ instance SimpleText Signature where
instance Typeset Signature where
toTeX = (LazyT.intercalate ",") . (map (\(nm,tm) -> LazyT.concat [nm, ":", toTeX tm])) . reverse
instance MathML Signature where
toMathML = (LazyT.intercalate "<mo>,<mo>") . (map (\(nm,tm) -> LazyT.concat ["<mrow><mo>", nm, "</mo><mo>:</mo>", toMathML tm, "</mrow>"])) . reverse
toMathML = (LazyT.intercalate "<mo>,</mo>") . (map (\(nm,tm) -> LazyT.concat ["<mrow><mo>", nm, "</mo><mo>:</mo>", toMathML tm, "</mrow>"])) . reverse

-- | A context is a list of preterms
type Context = [Preterm]
Expand Down
2 changes: 1 addition & 1 deletion src/DTS/DTTwithName.hs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ instance SimpleText Signature where
instance Typeset Signature where
toTeX = (T.intercalate ",") . (map (\(nm,tm) -> T.concat [nm, ":", toTeX tm])) . reverse
instance MathML Signature where
toMathML = (T.intercalate "<mo>,<mo>") . (map (\(nm,tm) -> T.concat ["<mrow><mo>", nm, "</mo><mo>:</mo>", toMathML tm, "</mrow>"])) . reverse
toMathML = (T.intercalate "<mo>,</mo>") . (map (\(nm,tm) -> T.concat ["<mrow><mo>", nm, "</mo><mo>:</mo>", toMathML tm, "</mrow>"])) . reverse

-- | A context is a list of pairs of a variable and a preterm.
type Context = [(VarName, Preterm)]
Expand Down