Quine: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|HTML}} + CSS: Library doesn't go in header) |
Thundergnat (talk | contribs) m (→{{header|Haskell}}: bleh, another typo) |
||
Line 1,506: | Line 1,506: | ||
Since Haskell is a purely functional language, it is better at evaluating to things than printing them out. The following expression evaluates to a string of itself: |
Since Haskell is a purely functional language, it is better at evaluating to things than printing them out. The following expression evaluates to a string of itself: |
||
<lang |
<lang haskell>ap(++)show"ap(++)show"</lang> |
||
Finally, here is a standalone program (the preceding examples only work in the REPL): |
Finally, here is a standalone program (the preceding examples only work in the REPL): |