···11+module ConstSymbolView: SExpViewFunc.SYMBOL_VIEW with module Symbol := SExp.ConstSymbol
22+13include Signatures.TERM_VIEW with module Term := SExp
+14-2
src/SExpViewFunc.res
···11-module Make = (Symbol: SExpFunc.SYMBOL, SExp: module type of SExpFunc.Make(Symbol)): {
11+module type SYMBOL_VIEW = {
22+ module Symbol: SExpFunc.SYMBOL
33+ type props = {name: Symbol.t, scope: array<string>}
44+ let make: props => React.element
55+}
66+77+module Make = (
88+ Symbol: SExpFunc.SYMBOL,
99+ SymbolView: SYMBOL_VIEW with module Symbol := Symbol,
1010+ SExp: module type of SExpFunc.Make(Symbol),
1111+): {
212 include Signatures.TERM_VIEW with module Term := SExp
313} => {
414 type props = {term: SExp.t, scope: array<string>}
···5060 </span>
5161 | Var({idx}) => viewVar({idx, scope})
5262 | Symbol(name) =>
5353- <span className="term-const"> {React.string(name->SExp.Symbol.prettyPrint(~scope))} </span>
6363+ <span className="term-const">
6464+ <SymbolView name scope />
6565+ </span>
5466 | Schematic({schematic: s, allowed: vs}) =>
5567 <span className="term-schematic">
5668 {React.string("?")}