remove unused Tighten impl
This commit is contained in:
parent
3c0989dcb2
commit
349cf2f477
1 changed files with 0 additions and 12 deletions
|
@ -8,23 +8,11 @@ import Quox.No
|
||||||
%default total
|
%default total
|
||||||
|
|
||||||
|
|
||||||
export
|
|
||||||
Tighten (Shift f) where
|
|
||||||
-- `OPE m n` is a spicy `m ≤ n`,
|
|
||||||
-- and `Shift f n` is a (different) spicy `f ≤ n`
|
|
||||||
-- so the value is `f ≤ m` (as a `Shift`), if that is the case
|
|
||||||
tighten _ SZ = Nothing
|
|
||||||
tighten Id by = Just by
|
|
||||||
tighten (Drop p) (SS by) = tighten p by
|
|
||||||
tighten (Keep p) (SS by) = [|SS $ tighten p by|]
|
|
||||||
|
|
||||||
|
|
||||||
export
|
export
|
||||||
Tighten Dim where
|
Tighten Dim where
|
||||||
tighten p (K e loc) = pure $ K e loc
|
tighten p (K e loc) = pure $ K e loc
|
||||||
tighten p (B i loc) = B <$> tighten p i <*> pure loc
|
tighten p (B i loc) = B <$> tighten p i <*> pure loc
|
||||||
|
|
||||||
|
|
||||||
export
|
export
|
||||||
tightenScope : (forall m, n. OPE m n -> f n -> Maybe (f m)) ->
|
tightenScope : (forall m, n. OPE m n -> f n -> Maybe (f m)) ->
|
||||||
{s : Nat} -> OPE m n -> Scoped s f n -> Maybe (Scoped s f m)
|
{s : Nat} -> OPE m n -> Scoped s f n -> Maybe (Scoped s f m)
|
||||||
|
|
Loading…
Reference in a new issue