Tag.quick.tex 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. \documentclass{article}
  2. \usepackage[references]{agda}
  3. \begin{document}
  4. \begin{code}%
  5. \>[0]\AgdaKeyword{module}\AgdaSpace{}%
  6. \AgdaModule{Tag}\AgdaSpace{}%
  7. \AgdaKeyword{where}\<%
  8. \\
  9. %
  10. \\[\AgdaEmptyExtraSkip]%
  11. \>[0]\AgdaKeyword{module}\AgdaSpace{}%
  12. \AgdaModule{Apa}\AgdaSpace{}%
  13. \AgdaKeyword{where}\<%
  14. \\
  15. %
  16. \\[\AgdaEmptyExtraSkip]%
  17. \>[0]\AgdaFunction{bepa}\AgdaSpace{}%
  18. \AgdaSymbol{:}\AgdaSpace{}%
  19. \AgdaPrimitive{Set}\AgdaSpace{}%
  20. \AgdaSymbol{→}\AgdaSpace{}%
  21. \AgdaPrimitive{Set}\<%
  22. \\
  23. \>[0]\AgdaFunction{bepa}\AgdaSpace{}%
  24. \AgdaBound{x}\AgdaSpace{}%
  25. \AgdaSymbol{=}\AgdaSpace{}%
  26. \AgdaBound{x}\<%
  27. \\
  28. %
  29. \\[\AgdaEmptyExtraSkip]%
  30. \>[0]\AgdaKeyword{data}\AgdaSpace{}%
  31. \AgdaDatatype{Cepa}\AgdaSpace{}%
  32. \AgdaSymbol{:}\AgdaSpace{}%
  33. \AgdaPrimitive{Set}\AgdaSpace{}%
  34. \AgdaKeyword{where}\<%
  35. \\
  36. \>[0][@{}l@{\AgdaIndent{0}}]%
  37. \>[2]\AgdaInductiveConstructor{cepa}\AgdaSpace{}%
  38. \AgdaSymbol{:}\AgdaSpace{}%
  39. \AgdaDatatype{Cepa}\<%
  40. \\
  41. %
  42. \\[\AgdaEmptyExtraSkip]%
  43. \>[0]\AgdaKeyword{record}\AgdaSpace{}%
  44. \AgdaRecord{Depa}\AgdaSpace{}%
  45. \AgdaSymbol{:}\AgdaSpace{}%
  46. \AgdaPrimitive{Set₁}\AgdaSpace{}%
  47. \AgdaKeyword{where}\<%
  48. \\
  49. \>[0][@{}l@{\AgdaIndent{0}}]%
  50. \>[2]\AgdaKeyword{field}\<%
  51. \\
  52. \>[2][@{}l@{\AgdaIndent{0}}]%
  53. \>[4]\AgdaField{depa}\AgdaSpace{}%
  54. \AgdaSymbol{:}\AgdaSpace{}%
  55. \AgdaPrimitive{Set}\<%
  56. \\
  57. %
  58. \\[\AgdaEmptyExtraSkip]%
  59. \>[0]\AgdaKeyword{postulate}\<%
  60. \\
  61. \>[0][@{}l@{\AgdaIndent{0}}]%
  62. \>[2]\AgdaPostulate{epa}\AgdaSpace{}%
  63. \AgdaSymbol{:}\AgdaSpace{}%
  64. \AgdaPrimitive{Set}\<%
  65. \\
  66. %
  67. \\[\AgdaEmptyExtraSkip]%
  68. \>[0]\AgdaKeyword{postulate}\<%
  69. \\
  70. \>[0][@{}l@{\AgdaIndent{0}}]%
  71. \>[2]\AgdaPostulate{α}%
  72. \>[6]\AgdaSymbol{:}\AgdaSpace{}%
  73. \AgdaPrimitive{Set}\<%
  74. \\
  75. %
  76. \>[2]\AgdaOperator{\AgdaPostulate{\AgdaUnderscore{}∘\AgdaUnderscore{}}}\AgdaSpace{}%
  77. \AgdaSymbol{:}\AgdaSpace{}%
  78. \AgdaPrimitive{Set}\<%
  79. \end{code}
  80. \begin{tabular}{ll}
  81. Name & Test \\
  82. \hline
  83. Apa & \AgdaRef{Apa} \\
  84. bepa & \AgdaRef{bepa} \\
  85. Cepa & \AgdaRef{Cepa} \\
  86. cepa & \AgdaRef{cepa} \\
  87. Depa & \AgdaRef{Depa} \\
  88. depa & \AgdaRef{depa} \\
  89. epa & \AgdaRef{epa} \\
  90. α & \AgdaRef{α} \\
  91. \_∘\_ & \AgdaRef{\_∘\_} \\
  92. \end{tabular}
  93. \end{document}