m1-internship/tests/tests.agda

18 lines
288 B
Agda
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

data Greeting : Set where
hello : Greeting
greet : Greeting
greet = hello
module hello-world-dep where
open import Data.Nat using (; zero; suc)
data Vec (A : Set) : Set where
[] : Vec A zero
_∷_ : {n} (x : A) (xs : Vec A n) Vec A (suc n)
infixr 5 _∷_