Sergei Meshveliani
2018-08-31 12:30:36 UTC
This is on Standard library.
Please, how to extract
<-acc : {n : ℕ} →Acc _<_
from Induction.Nat ?
I program it by
<-acc {0} = acc (\_ ())
<-acc {suc n} with <-acc {n}
... | acc wf = acc f
where ...,
but probably it can be somehow imported from Induction.Nat.
Thanks,
------
Sergei
Please, how to extract
<-acc : {n : ℕ} →Acc _<_
from Induction.Nat ?
I program it by
<-acc {0} = acc (\_ ())
<-acc {suc n} with <-acc {n}
... | acc wf = acc f
where ...,
but probably it can be somehow imported from Induction.Nat.
Thanks,
------
Sergei