Indenting6.lagda 346 B

1234567891011121314151617181920212223
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{code}
  5. record Sigma (A : Set) (B : A → Set) : Set where
  6. constructor _,_
  7. field
  8. proj₁ : A
  9. proj₂ : B proj₁
  10. open Sigma public
  11. \end{code}
  12. \begin{code}
  13. record Equiv (X Y : Set) : Set where
  14. field
  15. to : X → Y
  16. from : Y → X
  17. \end{code}
  18. \end{document}