remove some public exports that probably aren't needed
This commit is contained in:
parent
06e5c09896
commit
d41ab0897c
4 changed files with 6 additions and 6 deletions
|
@ -137,11 +137,11 @@ public export
|
||||||
interface PrettyHL a where
|
interface PrettyHL a where
|
||||||
prettyM : HasEnv m => a -> m (Doc HL)
|
prettyM : HasEnv m => a -> m (Doc HL)
|
||||||
|
|
||||||
public export %inline
|
export %inline
|
||||||
pretty0M : (PrettyHL a, HasEnv m) => a -> m (Doc HL)
|
pretty0M : (PrettyHL a, HasEnv m) => a -> m (Doc HL)
|
||||||
pretty0M = local {prec := Outer} . prettyM
|
pretty0M = local {prec := Outer} . prettyM
|
||||||
|
|
||||||
public export %inline
|
export %inline
|
||||||
pretty0 : PrettyHL a => {default True unicode : Bool} -> a -> Doc HL
|
pretty0 : PrettyHL a => {default True unicode : Bool} -> a -> Doc HL
|
||||||
pretty0 x {unicode} =
|
pretty0 x {unicode} =
|
||||||
let env = MakePrettyEnv {dnames = [], tnames = [], unicode, prec = Outer} in
|
let env = MakePrettyEnv {dnames = [], tnames = [], unicode, prec = Outer} in
|
||||||
|
|
|
@ -49,7 +49,7 @@ toEqv Refl {by = SZ} = EqSZ
|
||||||
toEqv Refl {by = (SS by)} = EqSS $ toEqv Refl {by}
|
toEqv Refl {by = (SS by)} = EqSS $ toEqv Refl {by}
|
||||||
|
|
||||||
|
|
||||||
public export
|
export
|
||||||
0 shiftDiff : (by : Shift from to) -> to = by.nat + from
|
0 shiftDiff : (by : Shift from to) -> to = by.nat + from
|
||||||
shiftDiff SZ = Refl
|
shiftDiff SZ = Refl
|
||||||
shiftDiff (SS by) = cong S $ shiftDiff by
|
shiftDiff (SS by) = cong S $ shiftDiff by
|
||||||
|
|
|
@ -332,10 +332,10 @@ parameters {auto _ : Alternative f}
|
||||||
upsilon1 (E e :# _) = pure e
|
upsilon1 (E e :# _) = pure e
|
||||||
upsilon1 _ = empty
|
upsilon1 _ = empty
|
||||||
|
|
||||||
public export
|
export
|
||||||
step : Elim d n -> f (Elim d n)
|
step : Elim d n -> f (Elim d n)
|
||||||
step e = betaLam1 e <|> upsilon1 e
|
step e = betaLam1 e <|> upsilon1 e
|
||||||
|
|
||||||
public export
|
export
|
||||||
step' : Elim d n -> Elim d n
|
step' : Elim d n -> Elim d n
|
||||||
step' e = fromMaybe e $ step e
|
step' e = fromMaybe e $ step e
|
||||||
|
|
|
@ -68,7 +68,7 @@ public export %inline
|
||||||
V : (i : Nat) -> {auto 0 p : i `LT` n} -> Var n
|
V : (i : Nat) -> {auto 0 p : i `LT` n} -> Var n
|
||||||
V i {p} = fromNatWith i p
|
V i {p} = fromNatWith i p
|
||||||
|
|
||||||
public export %inline
|
export %inline
|
||||||
tryFromNat : Alternative f => (n : Nat) -> Nat -> f (Var n)
|
tryFromNat : Alternative f => (n : Nat) -> Nat -> f (Var n)
|
||||||
tryFromNat n i =
|
tryFromNat n i =
|
||||||
case i `isLT` n of
|
case i `isLT` n of
|
||||||
|
|
Loading…
Reference in a new issue