view paper/src/cbc-agda.agda @ 4:bf1f62556b81

add while_test_init_imple
author soto
date Thu, 11 Feb 2021 17:03:31 +0900
parents 959f4b34d6f4
children
line wrap: on
line source

plus : {l : Level} {t : Set l} → (x y : ℕ) → (next : ℕ -> t) -> t
plus x zero next = next x
plus x (suc y) next = plus (suc x) y next

-- plus 10 20
--   λ next → next 30