PatternSynonyms3.lagda 284 B

1234567891011121314151617181920
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{code}
  5. data Nat : Set where
  6. zero : Nat
  7. suc : Nat → Nat
  8. pattern two = suc (suc zero)
  9. pattern three = suc two
  10. pattern four = suc three
  11. pattern five = suc four
  12. data Bot : Set where
  13. \end{code}
  14. \end{document}