Home
last modified time | relevance | path

Searched refs:deBruijnView (Results 1 – 10 of 10) sorted by relevance

/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/Substitute/
H A DDeBruijn.hs21 deBruijnView :: a -> Maybe Int
26 deBruijnView u =
29 Level l -> deBruijnView l
34 deBruijnView l =
36 Plus 0 a -> deBruijnView a
41 deBruijnView l =
43 Max 0 [p] -> deBruijnView p
48 deBruijnView = Just . dbPatVarIndex function
H A DClass.hs125 | Just n <- deBruijnView t,
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/Coverage/
H A DMatch.hs144 deBruijnView x = deBruijnView (fromSplitVar x) function
411 VarP _ x -> yes [(fromMaybe __IMPOSSIBLE__ (deBruijnView x),q)]
433 IApplyP _ _ _ x -> yes [(fromMaybe __IMPOSSIBLE__ (deBruijnView x),q)]
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/Compiler/Treeless/
H A DSubst.hs17 deBruijnView (TVar i) = Just i function
18 deBruijnView _ = Nothing function
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/Telescope/
H A DPath.hs102 [fromMaybe __IMPOSSIBLE__ (deBruijnView x)]
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/Rules/
H A DBuiltin.hs723 unless (deBruijnView a == Just 0) no
724 unless (deBruijnView b == Just 1) no
740 unless (all ((Just 0 ==) . deBruijnView) ts) wrongRefl
747 unless (deBruijnView a == Just 0) wrongRefl
748 unless (deBruijnView b == Just 0) wrongRefl
H A DApplication.hs392 v <- deBruijnView t
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/TypeChecking/
H A DTelescope.hs161 … locks = catMaybes [ deBruijnView (unArg a) | (a :: Arg Term) <- teleArgs tel, getLock a == IsLock]
477 case deBruijnView p of
549 case deBruijnView x of
H A DSubstitute.hs878 deBruijnView = deBruijnView . unBrave function
882 deBruijnView = \case function
1089 deBruijnView _ = Nothing function
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/Syntax/Translation/
H A DInternalToAbstract.hs589 sameVar x (I.Apply y) = isJust xv && xv == deBruijnView (unArg y)
591 xv = deBruijnView $ unArg x