summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Pat.hs-boot
blob: b37bf187fddefbb28c26c5d5d507dbe35fbb4f79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{-# LANGUAGE CPP, KindSignatures #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-} -- Note [Pass sensitive types]
                                      -- in module GHC.Hs.PlaceHolder
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE RoleAnnotations #-}
{-# LANGUAGE TypeFamilies #-}

module GHC.Hs.Pat where

import Outputable
import GHC.Hs.Extension ( OutputableBndrId, GhcPass, XRec )

type role Pat nominal
data Pat (i :: *)
type LPat i = XRec i Pat

instance OutputableBndrId p => Outputable (Pat (GhcPass p))