

def show(self, view):
    expr = self.substr(view)
    fmt = ('{0} :: {1}' if (len(expr.splitlines()) == 1) else '{0}\n\t:: {1}')
    return fmt.format(self.substr(fmt), self.typename)

dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py RegionType.show/VarMisuse@51/72 `view`->`fmt`