Commit cd182f61 authored by Camil Staps's avatar Camil Staps 🍃

Hide identity assignments in unifiers

parent b3074b64
Pipeline #16241 passed with stage
in 15 minutes and 59 seconds
......@@ -201,9 +201,11 @@ function makeUnifier(ufr) {
var s = '';
for (i in from_right)
s += '<tt>' + from_right[i][0] + '</tt> &rarr; <tt>' + from_right[i][1] + '</tt>; ';
if (from_right[i][0] != from_right[i][1])
s += '<tt>' + from_right[i][0] + '</tt> &rarr; <tt>' + from_right[i][1] + '</tt>; ';
for (i in from_left)
s += '<tt>' + from_left[i][1] + '</tt> &larr; <tt>' + from_left[i][0] + '</tt>; ';
if (from_left[i][0] != from_left[i][1])
s += '<tt>' + from_left[i][1] + '</tt> &larr; <tt>' + from_left[i][0] + '</tt>; ';
return s.substring(0, s.length - 2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment