view Paper/src/agda/plus2.agda @ 32:4915eaa51ee0 default tip

Add front
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Thu, 23 Feb 2023 18:39:56 +0900
parents a72446879486
children
line wrap: on
line source

module plus2 where

open import Data.Nat hiding (_+_)

_+_ : (x y : ℕ) → ℕ
x + zero = x
x + suc y = (suc x) + y

-- 10 + 20
-- 30