diff options
author | Greg Brown <greg.brown01@ed.ac.uk> | 2022-12-17 17:45:02 +0000 |
---|---|---|
committer | Greg Brown <greg.brown01@ed.ac.uk> | 2022-12-17 17:45:02 +0000 |
commit | 95de9b2913be536972f3921d41c24d9c0458c538 (patch) | |
tree | a70dda818ec01fc1162a86a17da8da6f38f5267d /src/Obs/Substitution.idr | |
parent | 421d664a18cea3abe729dd7becd7edadec1afaf1 (diff) |
Add totality annotations.
The parser is unfortunately not classified as total.
Diffstat (limited to 'src/Obs/Substitution.idr')
-rw-r--r-- | src/Obs/Substitution.idr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Obs/Substitution.idr b/src/Obs/Substitution.idr index 914e612..54df355 100644 --- a/src/Obs/Substitution.idr +++ b/src/Obs/Substitution.idr @@ -2,6 +2,8 @@ module Obs.Substitution import Data.Fin +%default total + public export interface Rename (x : Nat -> Type) where rename : forall m, n . x n -> (Fin n -> Fin m) -> x m |