def parse_ghc_mod_type_line(l):
    """
    Returns the `groupdict()` of GHCMOD_TYPE_LINE_RE matching the given line,
    of `None` if it doesn't match.
    """
    match = GHCMOD_TYPE_LINE_RE.match(l)
    return match and match.groupdict()
dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py/parse_ghc_mod_type_line/original