Safe Haskell | None |
---|---|
Language | Haskell2010 |
Intensional.Constructors
Contents
Documentation
data K (s :: Side) where Source #
Constructors
Dom :: DataType Name -> K s | |
Con :: Name -> SrcSpan -> K 'L | |
Set :: UniqSet Name -> SrcSpan -> K 'R |
getLocation :: K a -> SrcSpan Source #
Assuming k
is either a Con
or Set
atom,
getLocation k
is the associated span.