summaryrefslogtreecommitdiff
path: root/src/Obs/Substitution.idr
blob: 914e612cacdc5d75c6ef4da984d3f448552c460b (plain)
1
2
3
4
5
6
7
8
9
10
11
module Obs.Substitution

import Data.Fin

public export
interface Rename (x : Nat -> Type) where
  rename : forall m, n . x n -> (Fin n -> Fin m) -> x m

public export
interface Subst (x, y, z : Nat -> Type) where
  subst : forall m, n . x n -> (Fin n -> y m) -> z m