[Agda] sharing a variable in a with clause and its result
effectfully
effectfully at gmail.com
Sun Jan 3 23:24:54 CET 2016
I would write
h : (m n : N) -> N
h zero n = n
h (suc m) n with suc n
... | n' with h m n'
... | x = x + n'
More information about the Agda
mailing list