Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class DeBruijnIndex a => InvDeBruijnIndex a where Source #
deBruijnIndexMax :: Proxy a -> Int Source #
Instances
InvDeBruijnIndex EmptyScope Source # | |
Defined in AST.Term.NamelessScope.InvDeBruijn deBruijnIndexMax :: Proxy EmptyScope -> Int Source # | |
InvDeBruijnIndex a => InvDeBruijnIndex (Maybe a) Source # | |
Defined in AST.Term.NamelessScope.InvDeBruijn |
inverseDeBruijnIndex :: forall a. InvDeBruijnIndex a => Prism' Int a Source #