def get_types(self, filename = None, line = None, column = None):
        if not filename:
            filename = self.view.file_name()

        if (not line) or (not column):
            (r, c) = self.view.rowcol(self.view.sel()[0].b)
            line = r
            column = c

        module_name = None
        m = head_of(autocomplete.hsdev_client.module(file = filename))
        if m:
            module_name = m.name

        return haskell_type(self.view, filename, module_name, line, column)
dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py/SublimeHaskellShowType.get_types/original