view paper/src/cbc-agda.agda.replaced @ 19:046b2b20d6c7 default tip

fix
author ryokka
date Mon, 09 Mar 2020 11:25:49 +0900
parents 95a5f8e76944
children
line wrap: on
line source

plus : {l : Level} {t : Set l} @$\rightarrow$@ (x y : @$\mathbb{N}$@) @$\rightarrow$@ (next : @$\mathbb{N}$@ @$\rightarrow$@ t) @$\rightarrow$@ t
plus x zero next = next x
plus x (suc y) next = plus (suc x) y next

-- plus 10 20
--   @$\lambda$@ next @$\rightarrow$@ next 30