I have the following code in a file trial_agda.agda
in emacs:
module trial_agda where
data ???? : Set where
zero : ????
suc : ???? → ????
_+_ : ???? → ???? → ????
zero + n = n
(suc n) + n′ = suc (n + n′)
It produces
/Users/myname/trial_agda.agda:8,1-13
Missing type signature for left hand side zero + n
when scope checking the declaration
zero + n = n
What is the problem?