OrgMultipleLanguages.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE HTML>
  2. <html><head><meta charset="utf-8"><title>OrgMultipleLanguages</title><link rel="stylesheet" href="Agda.css"></head><body><pre class="Agda"><a id="1" class="Background">* Org mode with multiple languages
  3. ** Have some Agda!
  4. </a><a id="57" class="Markup">#+begin_src agda2
  5. </a><a id="75" class="Keyword">module</a> <a id="82" href="OrgMultipleLanguages.html" class="Module">OrgMultipleLanguages</a> <a id="103" class="Keyword">where</a>
  6. <a id="110" class="Keyword">data</a> <a id="Bool"></a><a id="115" href="OrgMultipleLanguages.html#115" class="Datatype">Bool</a> <a id="120" class="Symbol">:</a> <a id="122" href="Agda.Primitive.html#311" class="Primitive">Set</a> <a id="126" class="Keyword">where</a>
  7. <a id="Bool.true"></a><a id="134" href="OrgMultipleLanguages.html#134" class="InductiveConstructor">true</a> <a id="140" class="Symbol">:</a> <a id="142" href="OrgMultipleLanguages.html#115" class="Datatype">Bool</a>
  8. <a id="Bool.false"></a><a id="149" href="OrgMultipleLanguages.html#149" class="InductiveConstructor">false</a> <a id="155" class="Symbol">:</a> <a id="157" href="OrgMultipleLanguages.html#115" class="Datatype">Bool</a>
  9. <a id="162" class="Markup">#+end_src
  10. </a><a id="172" class="Background">
  11. ** Have some Haskell!
  12. #+begin_src haskell
  13. main = putStrLn &quot;Hello!&quot;
  14. #+end_src
  15. ** Have some elisp
  16. #+begin_src elisp
  17. (message &quot;Hello!&quot;)
  18. #+end_src
  19. ** Invalid (ignored) Agda
  20. #+begin_src agda2-foo
  21. module Wrong where
  22. #+end_src
  23. #+begin_src agda
  24. module Wrong where
  25. #+end_src
  26. </a></pre></body></html>