Issue1053.quick.tex 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. \documentclass{article}
  2. \usepackage{agda}
  3. \begin{document}
  4. \begin{code}%
  5. \>[0]\AgdaFunction{id}\AgdaSpace{}%
  6. \AgdaSymbol{:}\AgdaSpace{}%
  7. \AgdaSymbol{\{}\AgdaBound{A}\AgdaSpace{}%
  8. \AgdaSymbol{:}\AgdaSpace{}%
  9. \AgdaPrimitive{Set}\AgdaSymbol{\}}\AgdaSpace{}%
  10. \AgdaSymbol{→}\AgdaSpace{}%
  11. \AgdaBound{A}\AgdaSpace{}%
  12. \AgdaSymbol{→}\AgdaSpace{}%
  13. \AgdaBound{A}\<%
  14. \\
  15. \>[0]\AgdaFunction{id}\AgdaSpace{}%
  16. \AgdaSymbol{\{}\AgdaArgument{A}\AgdaSpace{}%
  17. \AgdaSymbol{=}\AgdaSpace{}%
  18. \AgdaBound{A}\AgdaSymbol{\}}\AgdaSpace{}%
  19. \AgdaBound{x}\AgdaSpace{}%
  20. \AgdaSymbol{=}\AgdaSpace{}%
  21. \AgdaBound{x}\<%
  22. \\
  23. %
  24. \\[\AgdaEmptyExtraSkip]%
  25. \>[0]\AgdaFunction{foo}\AgdaSpace{}%
  26. \AgdaSymbol{:}\AgdaSpace{}%
  27. \AgdaSymbol{(}\AgdaBound{A}\AgdaSpace{}%
  28. \AgdaSymbol{:}\AgdaSpace{}%
  29. \AgdaPrimitive{Set}\AgdaSymbol{)}\AgdaSpace{}%
  30. \AgdaSymbol{→}\AgdaSpace{}%
  31. \AgdaBound{A}\AgdaSpace{}%
  32. \AgdaSymbol{→}\AgdaSpace{}%
  33. \AgdaBound{A}\<%
  34. \\
  35. \>[0]\AgdaFunction{foo}\AgdaSpace{}%
  36. \AgdaBound{B}\AgdaSpace{}%
  37. \AgdaBound{x}\AgdaSpace{}%
  38. \AgdaSymbol{=}\AgdaSpace{}%
  39. \AgdaFunction{id}\AgdaSpace{}%
  40. \AgdaSymbol{\{}\AgdaArgument{A}\AgdaSpace{}%
  41. \AgdaSymbol{=}\AgdaSpace{}%
  42. \AgdaBound{B}\AgdaSymbol{\}}\AgdaSpace{}%
  43. \AgdaBound{x}\<%
  44. \end{code}
  45. \end{document}