remove ope stuff too
This commit is contained in:
parent
9dbd0b066c
commit
0c1b3a78c3
5 changed files with 47 additions and 47 deletions
|
@ -2,7 +2,7 @@ module Quox.Syntax.Var
|
|||
|
||||
import Quox.Name
|
||||
import Quox.Pretty
|
||||
import Quox.OPE
|
||||
-- import Quox.OPE
|
||||
|
||||
import Data.Nat
|
||||
import Data.List
|
||||
|
@ -264,10 +264,10 @@ decEqFromBool i j =
|
|||
|
||||
public export %inline DecEq (Var n) where decEq = varDecEq
|
||||
|
||||
export
|
||||
Tighten Var where
|
||||
tighten Id i = pure i
|
||||
tighten (Drop q) VZ = empty
|
||||
tighten (Drop q) (VS i) = tighten q i
|
||||
tighten (Keep q) VZ = pure VZ
|
||||
tighten (Keep q) (VS i) = VS <$> tighten q i
|
||||
-- export
|
||||
-- Tighten Var where
|
||||
-- tighten Id i = pure i
|
||||
-- tighten (Drop q) VZ = empty
|
||||
-- tighten (Drop q) (VS i) = tighten q i
|
||||
-- tighten (Keep q) VZ = pure VZ
|
||||
-- tighten (Keep q) (VS i) = VS <$> tighten q i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue