Issue2733-2.tex 810 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{AgdaAlign}
  5. \begin{code}%
  6. \>[0]\AgdaKeyword{module}\AgdaSpace{}%
  7. \AgdaModule{Issue2733-2}\AgdaSpace{}%
  8. \AgdaKeyword{where}\<%
  9. \end{code}
  10. Indentation should be inserted before \AgdaKeyword{postulate}, but not
  11. before the last occurrence of \AgdaPrimitiveType{Set}, which should be
  12. aligned with the penultimate occurrence of \AgdaPrimitiveType{Set}:
  13. \begin{code}%
  14. \>[0][@{}l@{\AgdaIndent{1}}]%
  15. \>[2]\AgdaKeyword{postulate}\<%
  16. \\
  17. \>[2][@{}l@{\AgdaIndent{0}}]%
  18. \>[4]\AgdaPostulate{A}%
  19. \>[7]\AgdaSymbol{:}\AgdaSpace{}%
  20. \AgdaPrimitive{Set}\<%
  21. \\
  22. %
  23. \>[4]\AgdaPostulate{B}%
  24. \>[7]\AgdaSymbol{:}%
  25. \>[3I]\AgdaPrimitive{Set}\AgdaSpace{}%
  26. \AgdaSymbol{→}\<%
  27. \\
  28. \>[.][@{}l@{}]\<[3I]%
  29. \>[9]\AgdaPrimitive{Set}\<%
  30. \end{code}
  31. \end{AgdaAlign}
  32. \end{document}