<commit_before>%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
%
\section[TcPat]{Typechecking patterns}

\begin{code}
#include "HsVersions.h"

module TcPat ( tcPat ) where

IMP_Ubiq(){-uitous-}

import HsSyn		( InPat(..), OutPat(..), HsExpr(..), HsLit(..),
			  Match, HsBinds, HsType, Fixity,
			  ArithSeqInfo, Stmt, DoOrListComp, Fake )
import RnHsSyn		( SYN_IE(RenamedPat) )
import TcHsSyn		( SYN_IE(TcPat), TcIdOcc(..) )

import TcMonad
import Inst		( Inst, OverloadedLit(..), InstOrigin(..),
			  emptyLIE, plusLIE, plusLIEs, SYN_IE(LIE),
			  newMethod, newOverloadedLit
			)
import Name		( Name {- instance Outputable -} )
import TcEnv		( tcLookupGlobalValue, tcLookupGlobalValueByKey, 
			  tcLookupLocalValueOK )
import SpecEnv		( SpecEnv )
import TcType 		( SYN_IE(TcType), TcMaybe, newTyVarTy, newTyVarTys, tcInstId )
import Unify 		( unifyTauTy, unifyTauTyList, unifyTauTyLists )

import Bag		( Bag )
import CmdLineOpts	( opt_IrrefutableTuples )
import Id		( GenId, idType, SYN_IE(Id) )
import Kind		( Kind, mkBoxedTypeKind, mkTypeKind )
import Maybes		( maybeToBool )
import PprType		( GenType, GenTyVar )
--import PprStyle--ToDo:rm<commit_msg>[project @ 1997-05-26 01:29:49 by sof] Import lists tightened up<commit_after>%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
%
\section[TcPat]{Typechecking patterns}

\begin{code}
#include "HsVersions.h"

module TcPat ( tcPat ) where

IMP_Ubiq(){-uitous-}

import HsSyn		( InPat(..), OutPat(..), HsExpr(..), HsLit(..),
			  Match, HsBinds, HsType, Fixity,
			  ArithSeqInfo, Stmt, DoOrListComp, Fake )
import RnHsSyn		( SYN_IE(RenamedPat) )
import TcHsSyn		( SYN_IE(TcPat), TcIdOcc(..) )

import TcMonad
import Inst		( Inst, OverloadedLit(..), InstOrigin(..),
			  emptyLIE, plusLIE, plusLIEs, SYN_IE(LIE),
			  newMethod, newOverloadedLit
			)
import Name		( Name {- instance Outputable -} )
import TcEnv		( tcLookupGlobalValue, tcLookupGlobalValueByKey, 
			  tcLookupLocalValueOK )
import SpecEnv		( SpecEnv )
import TcType 		( SYN_IE(TcType), TcMaybe, newTyVarTy, newTyVarTys, tcInstId )
import Unify 		( unifyTauTy, unifyTauTyList, unifyTauTyLists )

import Bag		( Bag )
import CmdLineOpts	( opt_IrrefutableTuples )
import Id		( GenId, idType, SYN_IE(Id) )
import Kind		( Kind, mkBoxedTypeKind, mkTypeKind )
import Maybes		( maybeToBool )
import PprType		( GenType, GenTyVar )
{'fraction_non_alphanumeric': 0.12077702702702703, 'fraction_numerical': 0.01266891891891892, 'mean_word_length': 4.43348623853211, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6416377', 'n_tokens_mistral': 1043, 'n_tokens_neox': 960, 'n_words': 209}