Issue2401.tex 1023 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. % The example below is, modulo a small change, due to Andrés
  2. % Sicard-Ramírez.
  3. \documentclass{article}
  4. \usepackage{agda}
  5. \begin{document}
  6. av
  7. \begin{code}%
  8. %
  9. \>[2]\AgdaKeyword{module}\AgdaSpace{}%
  10. \AgdaModule{Issue2401}\AgdaSpace{}%
  11. \AgdaKeyword{where}\<%
  12. \\
  13. %
  14. \\[\AgdaEmptyExtraSkip]%
  15. \>[2][@{}l@{\AgdaIndent{0}}]%
  16. \>[4]\AgdaKeyword{data}\AgdaSpace{}%
  17. \AgdaDatatype{Bool}\AgdaSpace{}%
  18. \AgdaSymbol{:}\AgdaSpace{}%
  19. \AgdaPrimitive{Set}\AgdaSpace{}%
  20. \AgdaKeyword{where}\<%
  21. \\
  22. \>[4][@{}l@{\AgdaIndent{0}}]%
  23. \>[6]\AgdaInductiveConstructor{true}%
  24. \>[12]\AgdaSymbol{:}\AgdaSpace{}%
  25. \AgdaDatatype{Bool}\<%
  26. \\
  27. %
  28. \>[6]\AgdaInductiveConstructor{false}\AgdaSpace{}%
  29. \AgdaSymbol{:}\AgdaSpace{}%
  30. \AgdaDatatype{Bool}\<%
  31. \\
  32. %
  33. \>[6]\AgdaInductiveConstructor{dunno}\AgdaSpace{}%
  34. \AgdaSymbol{:}\AgdaSpace{}%
  35. \AgdaDatatype{Bool}\<%
  36. \\
  37. %
  38. \>[6]\AgdaInductiveConstructor{aa}%
  39. \>[12]\AgdaSymbol{:}\AgdaSpace{}%
  40. \AgdaComment{\{-\ \textbackslash{}end\{code\}\ -\}}\AgdaSpace{}%
  41. \AgdaDatatype{Bool}\<%
  42. \\
  43. \>[0]\<%
  44. \end{code}
  45. bleh
  46. \end{document}