Indenting4.tex 589 B

12345678910111213141516171819202122232425262728293031
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{code}%
  5. \>[0]\AgdaKeyword{module}\AgdaSpace{}%
  6. \AgdaModule{Indenting4}\AgdaSpace{}%
  7. \AgdaKeyword{where}\<%
  8. \end{code}
  9. \begin{code}%
  10. \>[0][@{}l@{\AgdaIndent{1}}]%
  11. \>[2]\AgdaFunction{Pow}\AgdaSpace{}%
  12. \AgdaSymbol{:}\AgdaSpace{}%
  13. \AgdaPrimitive{Set}\AgdaSpace{}%
  14. \AgdaSymbol{→}\AgdaSpace{}%
  15. \AgdaPrimitive{Set₁}\<%
  16. \\
  17. %
  18. \>[2]\AgdaFunction{Pow}\AgdaSpace{}%
  19. \AgdaBound{X}\AgdaSpace{}%
  20. \AgdaSymbol{=}\AgdaSpace{}%
  21. \AgdaBound{X}\AgdaSpace{}%
  22. \AgdaSymbol{→}\AgdaSpace{}%
  23. \AgdaPrimitive{Set}\<%
  24. \end{code}
  25. \end{document}