[Agda] `accessible' for ℕ

Sergei Meshveliani mechvel at botik.ru
Fri Aug 31 14:30:36 CEST 2018


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



More information about the Agda mailing list