Issue2019.quick.tex 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{code}%
  5. \>[0]\AgdaComment{--\ We\ use\ non-standard\ spaces\ between\ the\ name\ of\ the\ term\ and\ the}\<%
  6. \\
  7. \>[0]\AgdaComment{--\ colon.}\<%
  8. \\
  9. \>[0]\AgdaKeyword{postulate}\<%
  10. \\
  11. \>[0][@{}l@{\AgdaIndent{0}}]%
  12. \>[2]\AgdaPostulate{s00A0}\AgdaSpace{}%
  13. \AgdaSymbol{:}\AgdaSpace{}%
  14. \AgdaPrimitive{Set}%
  15. \>[15]\AgdaComment{--\ NO-BREAK\ SPACE\ \ \ \ \ \ \ \ ("\textbackslash{}\ "\ with\ Agda\ input\ method)}\<%
  16. \\
  17. %
  18. \>[2]\AgdaPostulate{s2004}\AgdaSpace{}%
  19. \AgdaSymbol{:}\AgdaSpace{}%
  20. \AgdaPrimitive{Set}%
  21. \>[15]\AgdaComment{--\ THREE-PER-EM\ SPACE\ \ \ \ ("\textbackslash{};"\ with\ Agda\ input\ method)}\<%
  22. \\
  23. %
  24. \>[2]\AgdaPostulate{s202F}\AgdaSpace{}%
  25. \AgdaSymbol{:}\AgdaSpace{}%
  26. \AgdaPrimitive{Set}%
  27. \>[15]\AgdaComment{--\ NARROW\ NO-BREAK\ SPACE\ ("\textbackslash{},"\ with\ Agda\ input\ method)}\<%
  28. \end{code}
  29. % Various whitespace characters: "    ".
  30. \begin{code}%
  31. \>[0]\AgdaKeyword{open}\AgdaSpace{}%
  32. \AgdaKeyword{import}\AgdaSpace{}%
  33. \AgdaModule{Agda.Builtin.String}\<%
  34. \\
  35. %
  36. \\[\AgdaEmptyExtraSkip]%
  37. \>[0]\AgdaComment{--\ Various\ whitespace\ characters:\ "\    ".}\<%
  38. \\
  39. %
  40. \\[\AgdaEmptyExtraSkip]%
  41. \>[0]\AgdaFunction{various-whitespace-characters}\AgdaSpace{}%
  42. \AgdaSymbol{:}\AgdaSpace{}%
  43. \AgdaPostulate{String}\<%
  44. \\
  45. \>[0]\AgdaFunction{various-whitespace-characters}\AgdaSpace{}%
  46. \AgdaSymbol{=}\AgdaSpace{}%
  47. \AgdaString{"\    "}\<%
  48. \end{code}
  49. \end{document}