Special-named-constants.xhtml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:pls="http://www.w3.org/2005/01/pronunciation-lexicon" xmlns:ssml="http://www.w3.org/2001/10/synthesis" xmlns:svg="http://www.w3.org/2000/svg">
  3. <head>
  4. <title>Special named constants</title>
  5. <link rel="stylesheet" type="text/css" href="docbook-epub.css"/>
  6. <link rel="stylesheet" type="text/css" href="kawa.css"/>
  7. <script src="kawa-ebook.js" type="text/javascript"/>
  8. <meta name="generator" content="DocBook XSL-NS Stylesheets V1.79.1"/>
  9. <link rel="prev" href="Keywords.xhtml" title="Keywords"/>
  10. <link rel="next" href="Procedures.xhtml" title="Procedures"/>
  11. </head>
  12. <body>
  13. <header/>
  14. <section class="sect1" title="Special named constants" epub:type="subchapter" id="Special-named-constants">
  15. <div class="titlepage">
  16. <div>
  17. <div>
  18. <h2 class="title" style="clear: both">Special named constants</h2>
  19. </div>
  20. </div>
  21. </div>
  22. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877539648" class="indexterm"/> <code class="varname">#!optional</code></p>
  23. <div class="blockquote">
  24. <blockquote class="blockquote">
  25. <p>Special self-evaluating literal used in lambda parameter lists
  26. before optional parameters.
  27. </p>
  28. </blockquote>
  29. </div>
  30. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877536560" class="indexterm"/> <code class="varname">#!rest</code></p>
  31. <div class="blockquote">
  32. <blockquote class="blockquote">
  33. <p>Special self-evaluating literal used in lambda parameter lists
  34. before the rest parameter.
  35. </p>
  36. </blockquote>
  37. </div>
  38. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877533520" class="indexterm"/> <code class="varname">#!key</code></p>
  39. <div class="blockquote">
  40. <blockquote class="blockquote">
  41. <p>Special self-evaluating literal used in lambda parameter lists
  42. before keyword parameters.
  43. </p>
  44. </blockquote>
  45. </div>
  46. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877530480" class="indexterm"/> <code class="varname">#!eof</code></p>
  47. <div class="blockquote">
  48. <blockquote class="blockquote">
  49. <p>The end-of-file object.
  50. </p>
  51. <p>Note that if the Scheme reader sees this literal at top-level,
  52. it is returned literally. This is indistinguishable from
  53. coming to the end of the input file. If you do not want to end reading,
  54. but want the actual value of <code class="literal">#!eof</code>, you should quote it.
  55. </p>
  56. </blockquote>
  57. </div>
  58. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877526432" class="indexterm"/> <code class="varname">#!void</code></p>
  59. <div class="blockquote">
  60. <blockquote class="blockquote">
  61. <p>The void value. Same as <code class="literal">(values)</code>.
  62. If this is the value of an expression in a read-eval-print loop,
  63. nothing is printed.
  64. </p>
  65. </blockquote>
  66. </div>
  67. <p class="synopsis" kind="Constant"><span class="kind">Constant</span><span class="ignore">: </span><a id="idm139667877522944" class="indexterm"/> <code class="varname">#!null</code></p>
  68. <div class="blockquote">
  69. <blockquote class="blockquote">
  70. <p>The Java <code class="literal">null</code> value. This is not really a Scheme value,
  71. but is useful when interfacing to low-level Java code.
  72. </p>
  73. </blockquote>
  74. </div>
  75. </section>
  76. <footer>
  77. <div class="navfooter">
  78. <p>
  79. Up: <a accesskey="u" href="Symbols-and-namespaces.xhtml">Symbols and namespaces</a></p>
  80. <p>
  81. Previous: <a accesskey="p" href="Keywords.xhtml">Keywords</a></p>
  82. </div>
  83. </footer>
  84. </body>
  85. </html>